Home
last modified time | relevance | path

Searched refs:smac_index (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/mlx4/
Dqp.c1778 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()
[all …]
Dmlx4_ib.h275 int smac_index; member
Dmain.c2306 update_params.smac_index = new_smac_index; in mlx4_ib_update_qps()
2317 qp->pri.smac_index = new_smac_index; in mlx4_ib_update_qps()
/linux-6.12.1/include/linux/mlx4/
Dqp.h467 u8 smac_index; member
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c59 u8 smac_index; member
2006 u8 smac_index, u64 *mac) in mac_find_smac_ix_in_slave() argument
2015 if (res->smac_index == smac_index && res->port == (u8) port) { in mac_find_smac_ix_in_slave()
2023 static int mac_add_to_slave(struct mlx4_dev *dev, int slave, u64 mac, int port, u8 smac_index) in mac_add_to_slave() argument
2048 res->smac_index = smac_index; in mac_add_to_slave()
2101 u8 smac_index; in mac_alloc_res() local
2116 smac_index = err; in mac_alloc_res()
2122 err = mac_add_to_slave(dev, slave, mac, port, smac_index); in mac_alloc_res()
4297 int smac_index; in mlx4_UPDATE_QP_wrapper() local
4325 smac_index = cmd->qp_context.pri_path.grh_mylmc; in mlx4_UPDATE_QP_wrapper()
[all …]
Dqp.c464 cmd->qp_context.pri_path.grh_mylmc = params->smac_index; in mlx4_update_qp()
/linux-6.12.1/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.h878 u8 smac_index; member