Home
last modified time | relevance | path

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

/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()
1469 if (ind_tbl) in create_qp()
1470 uobj_put_obj_read(ind_tbl); in create_qp()
[all …]
/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.c661 indir[idx] = rss->ind_tbl[idx]; in nicvf_get_rxfh()
691 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()
/drivers/infiniband/hw/mlx4/
Dqp.c521 rss_ctx->base_qpn_tbl_sz = init_attr->rwq_ind_tbl->ind_tbl[0]->wq_num | in set_qp_rss()
649 (struct ib_qp *)init_attr->rwq_ind_tbl->ind_tbl[0]))->mtt; in create_qp_rss()
1343 struct ib_wq *ibwq = qp->ibqp.rwq_ind_tbl->ind_tbl[i]; in destroy_qp_rss()
1971 static int bringup_rss_rwqs(struct ib_rwq_ind_table *ind_tbl, u8 port_num, in bringup_rss_rwqs() argument
1977 for (i = 0; i < (1 << ind_tbl->log_ind_tbl_size); i++) { in bringup_rss_rwqs()
1978 struct ib_wq *ibwq = ind_tbl->ind_tbl[i]; in bringup_rss_rwqs()
2011 struct ib_wq *ibwq = ind_tbl->ind_tbl[j]; in bringup_rss_rwqs()
2031 static void bring_down_rss_rwqs(struct ib_rwq_ind_table *ind_tbl, in bring_down_rss_rwqs() argument
2036 for (i = 0; i < (1 << ind_tbl->log_ind_tbl_size); i++) { in bring_down_rss_rwqs()
2037 struct ib_wq *ibwq = ind_tbl->ind_tbl[i]; in bring_down_rss_rwqs()
[all …]
/drivers/net/ethernet/amazon/ena/
Dena_com.h794 int ena_com_indirect_table_get(struct ena_com_dev *ena_dev, u32 *ind_tbl);
Dena_com.c2700 int ena_com_indirect_table_get(struct ena_com_dev *ena_dev, u32 *ind_tbl) in ena_com_indirect_table_get() argument
2717 if (!ind_tbl) in ena_com_indirect_table_get()
2721 ind_tbl[i] = rss->host_rss_ind_tbl[i]; in ena_com_indirect_table_get()
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c792 rss_ctx->ind_tbl[idx] = indir[idx]; in otx2_set_rxfh_context()
830 indir[idx] = rss_ctx->ind_tbl[idx]; in otx2_get_rxfh_context()
Dotx2_common.h62 u8 ind_tbl[MAX_RSS_INDIR_TBL_SIZE]; member
Dotx2_common.c331 aq->rss.rq = rss_ctx->ind_tbl[idx]; in otx2_set_rss_table()
388 rss_ctx->ind_tbl[idx] = in otx2_rss_init()
/drivers/infiniband/hw/mlx5/
Dqp.c5456 MLX5_SET(rqtc, rqtc, rq_num[i], init_attr->ind_tbl[i]->wq_num); in mlx5_ib_create_rwq_ind_table()
5458 rwq_ind_tbl->uid = to_mpd(init_attr->ind_tbl[0]->pd)->uid; in mlx5_ib_create_rwq_ind_table()