Home
last modified time | relevance | path

Searched refs:smac_port (Results 1 – 3 of 3) sorted by relevance

/drivers/infiniband/hw/mlx4/
Dqp.c1428 if (qp->pri.smac || (!qp->pri.smac && qp->pri.smac_port)) { in destroy_qp_common()
1429 mlx4_unregister_mac(dev->dev, qp->pri.smac_port, qp->pri.smac); in destroy_qp_common()
1431 qp->pri.smac_port = 0; in destroy_qp_common()
1434 mlx4_unregister_mac(dev->dev, qp->alt.smac_port, qp->alt.smac); in destroy_qp_common()
1887 if ((!smac_info->smac && !smac_info->smac_port) || in _mlx4_set_path()
1959 if (!qp->pri.smac && !qp->pri.smac_port) { in handle_eth_ud_smac_index()
2617 if (qp->pri.smac || (!qp->pri.smac && qp->pri.smac_port)) { in __mlx4_ib_modify_qp()
2618 mlx4_unregister_mac(dev->dev, qp->pri.smac_port, qp->pri.smac); in __mlx4_ib_modify_qp()
2620 qp->pri.smac_port = 0; in __mlx4_ib_modify_qp()
2623 mlx4_unregister_mac(dev->dev, qp->alt.smac_port, qp->alt.smac); in __mlx4_ib_modify_qp()
[all …]
Dmlx4_ib.h279 int smac_port; member
Dmain.c2301 if (qp->pri.smac_port) in mlx4_ib_update_qps()
2304 qp->pri.smac_port = port; in mlx4_ib_update_qps()