Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/infiniband/hw/mlx4/
Dqp.c1739 int smac_index; in _mlx4_set_path() local
1828 smac_index = mlx4_register_mac(dev->dev, port, smac); in _mlx4_set_path()
1829 if (smac_index >= 0) { in _mlx4_set_path()
1830 smac_info->candidate_smac_index = smac_index; in _mlx4_set_path()
1837 smac_index = smac_info->smac_index; in _mlx4_set_path()
1842 path->grh_mylmc = (u8) (smac_index) | 0x80; in _mlx4_set_path()
1892 int smac_index; in handle_eth_ud_smac_index() local
1898 smac_index = mlx4_register_mac(dev->dev, qp->port, u64_mac); in handle_eth_ud_smac_index()
1899 if (smac_index >= 0) { in handle_eth_ud_smac_index()
1900 qp->pri.candidate_smac_index = smac_index; in handle_eth_ud_smac_index()
[all …]
Dmlx4_ib.h274 int smac_index; member
Dmain.c2304 update_params.smac_index = new_smac_index; in mlx4_ib_update_qps()
2315 qp->pri.smac_index = new_smac_index; in mlx4_ib_update_qps()
/Linux-v6.1/include/linux/mlx4/
Dqp.h466 u8 smac_index; member
/Linux-v6.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.c459 cmd->qp_context.pri_path.grh_mylmc = params->smac_index; in mlx4_update_qp()
/Linux-v6.1/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.h873 u8 smac_index; member