Lines Matching refs:smac_index
1305 int smac_index; in _mlx4_set_path() local
1392 smac_index = mlx4_register_mac(dev->dev, port, smac); in _mlx4_set_path()
1393 if (smac_index >= 0) { in _mlx4_set_path()
1394 smac_info->candidate_smac_index = smac_index; in _mlx4_set_path()
1401 smac_index = smac_info->smac_index; in _mlx4_set_path()
1407 path->grh_mylmc = (u8) (smac_index) | 0x80; in _mlx4_set_path()
1457 int smac_index; in handle_eth_ud_smac_index() local
1463 smac_index = mlx4_register_mac(dev->dev, qp->port, u64_mac); in handle_eth_ud_smac_index()
1464 if (smac_index >= 0) { in handle_eth_ud_smac_index()
1465 qp->pri.candidate_smac_index = smac_index; in handle_eth_ud_smac_index()
1468 context->pri_path.grh_mylmc = 0x80 | (u8) smac_index; in handle_eth_ud_smac_index()
1966 qp->pri.smac_index = qp->pri.candidate_smac_index; in __mlx4_ib_modify_qp()
1980 qp->alt.smac_index = qp->alt.candidate_smac_index; in __mlx4_ib_modify_qp()