Searched refs:smac_index (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_qp.c | 1401 int smac_index; in _mlx4_set_path() local 1488 smac_index = mlx4_register_mac(dev->dev, port, smac); in _mlx4_set_path() 1489 if (smac_index >= 0) { in _mlx4_set_path() 1490 smac_info->candidate_smac_index = smac_index; in _mlx4_set_path() 1497 smac_index = smac_info->smac_index; in _mlx4_set_path() 1503 path->grh_mylmc = (u8) (smac_index) | 0x80; in _mlx4_set_path() 1553 int smac_index; in handle_eth_ud_smac_index() local 1559 smac_index = mlx4_register_mac(dev->dev, qp->port, u64_mac); in handle_eth_ud_smac_index() 1560 if (smac_index >= 0) { in handle_eth_ud_smac_index() 1561 qp->pri.candidate_smac_index = smac_index; in handle_eth_ud_smac_index() [all …]
|
H A D | mlx4_ib.h | 279 int smac_index; member
|
H A D | mlx4_ib_main.c | 2227 update_params.smac_index = new_smac_index; in mlx4_ib_update_qps() 2238 qp->pri.smac_index = new_smac_index; in mlx4_ib_update_qps()
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_resource_tracker.c | 58 u8 smac_index; member 1953 u8 smac_index, u64 *mac) in mac_find_smac_ix_in_slave() argument 1962 if (res->smac_index == smac_index && res->port == (u8) port) { in mac_find_smac_ix_in_slave() 1970 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 1995 res->smac_index = smac_index; in mac_add_to_slave() 2048 u8 smac_index = 0; in mac_alloc_res() local 2063 smac_index = err; in mac_alloc_res() 2069 err = mac_add_to_slave(dev, slave, mac, port, smac_index); in mac_alloc_res() 4257 int smac_index; in mlx4_UPDATE_QP_wrapper() local 4285 smac_index = cmd->qp_context.pri_path.grh_mylmc; in mlx4_UPDATE_QP_wrapper() [all …]
|
H A D | mlx4_qp.c | 443 cmd->qp_context.pri_path.grh_mylmc = params->smac_index; in mlx4_update_qp()
|
/freebsd/sys/dev/mlx4/ |
H A D | qp.h | 470 u8 smac_index; member
|