Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dqp.c1373 if (qp->pri.smac || (!qp->pri.smac && qp->pri.smac_port)) { in destroy_qp_common()
1374 mlx4_unregister_mac(dev->dev, qp->pri.smac_port, qp->pri.smac); in destroy_qp_common()
1376 qp->pri.smac_port = 0; in destroy_qp_common()
1379 mlx4_unregister_mac(dev->dev, qp->alt.smac_port, qp->alt.smac); in destroy_qp_common()
1825 if ((!smac_info->smac && !smac_info->smac_port) || in _mlx4_set_path()
1897 if (!qp->pri.smac && !qp->pri.smac_port) { in handle_eth_ud_smac_index()
2555 if (qp->pri.smac || (!qp->pri.smac && qp->pri.smac_port)) { in __mlx4_ib_modify_qp()
2556 mlx4_unregister_mac(dev->dev, qp->pri.smac_port, qp->pri.smac); in __mlx4_ib_modify_qp()
2558 qp->pri.smac_port = 0; in __mlx4_ib_modify_qp()
2561 mlx4_unregister_mac(dev->dev, qp->alt.smac_port, qp->alt.smac); in __mlx4_ib_modify_qp()
[all …]
Dmlx4_ib.h275 int smac_port; member
Dmain.c2311 if (qp->pri.smac_port) in mlx4_ib_update_qps()
2314 qp->pri.smac_port = port; in mlx4_ib_update_qps()