Home
last modified time | relevance | path

Searched refs:ind_tbl (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/drivers/infiniband/hw/mana/
Dqp.c102 struct ib_rwq_ind_table *ind_tbl = attr->rwq_ind_tbl; in mana_ib_create_qp_rss() local
146 ind_tbl_size = 1 << ind_tbl->log_ind_tbl_size; in mana_ib_create_qp_rss()
187 ibwq = ind_tbl->ind_tbl[i]; in mana_ib_create_qp_rss()
226 ind_tbl->log_ind_tbl_size, in mana_ib_create_qp_rss()
246 ibwq = ind_tbl->ind_tbl[i]; in mana_ib_create_qp_rss()
435 struct ib_rwq_ind_table *ind_tbl, in mana_ib_destroy_qp_rss() argument
452 for (i = 0; i < (1 << ind_tbl->log_ind_tbl_size); i++) { in mana_ib_destroy_qp_rss()
453 ibwq = ind_tbl->ind_tbl[i]; in mana_ib_destroy_qp_rss()
/linux-6.6.21/drivers/infiniband/core/
Duverbs_std_types.c83 struct ib_wq **ind_tbl = rwq_ind_tbl->ind_tbl; in uverbs_free_rwq_ind_tbl() local
95 atomic_dec(&ind_tbl[i]->usecnt); in uverbs_free_rwq_ind_tbl()
98 kfree(ind_tbl); in uverbs_free_rwq_ind_tbl()
Duverbs_cmd.c1292 struct ib_rwq_ind_table *ind_tbl = NULL; in create_qp() local
1321 ind_tbl = uobj_get_obj_read(rwq_ind_table, in create_qp()
1324 if (!ind_tbl) { in create_qp()
1329 attr.rwq_ind_tbl = ind_tbl; in create_qp()
1332 if (ind_tbl && (cmd->max_recv_wr || cmd->max_recv_sge || cmd->is_srq)) { in create_qp()
1337 if (ind_tbl && !cmd->max_send_wr) in create_qp()
1369 if (!ind_tbl) { in create_qp()
1385 if (!ind_tbl && cmd->qp_type != IB_QPT_XRC_INI) in create_qp()
1468 if (ind_tbl) in create_qp()
1469 uobj_put_obj_read(ind_tbl); in create_qp()
[all …]
/linux-6.6.21/drivers/net/ethernet/cavium/thunder/
Dnic.h145 u8 ind_tbl[NIC_MAX_RSS_IDR_TBL_SIZE]; member
497 u8 ind_tbl[RSS_IND_TBL_LEN_PER_MBX_MSG]; member
Dnicvf_ethtool.c665 indir[idx] = rss->ind_tbl[idx]; in nicvf_get_rxfh()
695 rss->ind_tbl[idx] = indir[idx]; in nicvf_set_rxfh()
Dnic_main.c576 u8 svf = cfg->ind_tbl[idx] >> 3; in nic_config_rss()
583 (qset << 3) | (cfg->ind_tbl[idx] & 0x7)); in nic_config_rss()
Dnicvf_main.c350 mbx.rss_cfg.ind_tbl[i] = rss->ind_tbl[nextq++]; in nicvf_config_rss()
394 rss->ind_tbl[idx] = ethtool_rxfh_indir_default(idx, in nicvf_rss_init()
/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dqp.c556 rss_ctx->base_qpn_tbl_sz = init_attr->rwq_ind_tbl->ind_tbl[0]->wq_num | in set_qp_rss()
684 (struct ib_qp *)init_attr->rwq_ind_tbl->ind_tbl[0]))->mtt; in create_qp_rss()
1378 struct ib_wq *ibwq = qp->ibqp.rwq_ind_tbl->ind_tbl[i]; in destroy_qp_rss()
2006 static int bringup_rss_rwqs(struct ib_rwq_ind_table *ind_tbl, u8 port_num, in bringup_rss_rwqs() argument
2012 for (i = 0; i < (1 << ind_tbl->log_ind_tbl_size); i++) { in bringup_rss_rwqs()
2013 struct ib_wq *ibwq = ind_tbl->ind_tbl[i]; in bringup_rss_rwqs()
2046 struct ib_wq *ibwq = ind_tbl->ind_tbl[j]; in bringup_rss_rwqs()
2066 static void bring_down_rss_rwqs(struct ib_rwq_ind_table *ind_tbl, in bring_down_rss_rwqs() argument
2071 for (i = 0; i < (1 << ind_tbl->log_ind_tbl_size); i++) { in bring_down_rss_rwqs()
2072 struct ib_wq *ibwq = ind_tbl->ind_tbl[i]; in bring_down_rss_rwqs()
[all …]
/linux-6.6.21/drivers/net/ethernet/amazon/ena/
Dena_com.h795 int ena_com_indirect_table_get(struct ena_com_dev *ena_dev, u32 *ind_tbl);
Dena_com.c2708 int ena_com_indirect_table_get(struct ena_com_dev *ena_dev, u32 *ind_tbl) in ena_com_indirect_table_get() argument
2725 if (!ind_tbl) in ena_com_indirect_table_get()
2729 ind_tbl[i] = rss->host_rss_ind_tbl[i]; in ena_com_indirect_table_get()
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c876 rss_ctx->ind_tbl[idx] = indir[idx]; in otx2_set_rxfh_context()
914 indir[idx] = rss_ctx->ind_tbl[idx]; in otx2_get_rxfh_context()
Dotx2_common.c340 aq->rss.rq = rss_ctx->ind_tbl[idx]; in otx2_set_rss_table()
397 rss_ctx->ind_tbl[idx] = in otx2_rss_init()
Dotx2_common.h81 u8 ind_tbl[MAX_RSS_INDIR_TBL_SIZE]; member
/linux-6.6.21/include/rdma/
Dib_verbs.h1727 struct ib_wq **ind_tbl; member
1733 struct ib_wq **ind_tbl; member
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dqp.c5548 MLX5_SET(rqtc, rqtc, rq_num[i], init_attr->ind_tbl[i]->wq_num); in mlx5_ib_create_rwq_ind_table()
5550 rwq_ind_tbl->uid = to_mpd(init_attr->ind_tbl[0]->pd)->uid; in mlx5_ib_create_rwq_ind_table()