Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dqp.c1741 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()
[all …]
Dmlx4_ib.h274 int smac_index; member
Dmain.c2291 update_params.smac_index = new_smac_index; in mlx4_ib_update_qps()
2302 qp->pri.smac_index = new_smac_index; in mlx4_ib_update_qps()
/kernel/linux/linux-5.10/include/linux/mlx4/
Dqp.h466 u8 smac_index; member
/kernel/linux/linux-5.10/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()
4296 int smac_index; in mlx4_UPDATE_QP_wrapper() local
4324 smac_index = cmd->qp_context.pri_path.grh_mylmc; in mlx4_UPDATE_QP_wrapper()
[all …]
Dqp.c459 cmd->qp_context.pri_path.grh_mylmc = params->smac_index; in mlx4_update_qp()