Lines Matching refs:smac_index
1778 int smac_index; in _mlx4_set_path() local
1867 smac_index = mlx4_register_mac(dev->dev, port, smac); in _mlx4_set_path()
1868 if (smac_index >= 0) { in _mlx4_set_path()
1869 smac_info->candidate_smac_index = smac_index; in _mlx4_set_path()
1876 smac_index = smac_info->smac_index; in _mlx4_set_path()
1881 path->grh_mylmc = (u8) (smac_index) | 0x80; in _mlx4_set_path()
1931 int smac_index; in handle_eth_ud_smac_index() local
1937 smac_index = mlx4_register_mac(dev->dev, qp->port, u64_mac); in handle_eth_ud_smac_index()
1938 if (smac_index >= 0) { in handle_eth_ud_smac_index()
1939 qp->pri.candidate_smac_index = smac_index; in handle_eth_ud_smac_index()
1942 context->pri_path.grh_mylmc = 0x80 | (u8) smac_index; in handle_eth_ud_smac_index()
2631 qp->pri.smac_index = qp->pri.candidate_smac_index; in __mlx4_ib_modify_qp()
2645 qp->alt.smac_index = qp->alt.candidate_smac_index; in __mlx4_ib_modify_qp()