Lines Matching refs:smac_index
1741 int smac_index; in _mlx4_set_path() local
1830 smac_index = mlx4_register_mac(dev->dev, port, smac); in _mlx4_set_path()
1831 if (smac_index >= 0) { in _mlx4_set_path()
1832 smac_info->candidate_smac_index = smac_index; in _mlx4_set_path()
1839 smac_index = smac_info->smac_index; in _mlx4_set_path()
1844 path->grh_mylmc = (u8) (smac_index) | 0x80; in _mlx4_set_path()
1894 int smac_index; in handle_eth_ud_smac_index() local
1900 smac_index = mlx4_register_mac(dev->dev, qp->port, u64_mac); in handle_eth_ud_smac_index()
1901 if (smac_index >= 0) { in handle_eth_ud_smac_index()
1902 qp->pri.candidate_smac_index = smac_index; in handle_eth_ud_smac_index()
1905 context->pri_path.grh_mylmc = 0x80 | (u8) smac_index; in handle_eth_ud_smac_index()
2594 qp->pri.smac_index = qp->pri.candidate_smac_index; in __mlx4_ib_modify_qp()
2608 qp->alt.smac_index = qp->alt.candidate_smac_index; in __mlx4_ib_modify_qp()