Searched refs:ind_tbl (Results 1 – 13 of 13) sorted by relevance
/drivers/infiniband/core/ |
D | uverbs_std_types.c | 83 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()
|
D | uverbs_cmd.c | 1292 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/ |
D | nic.h | 145 u8 ind_tbl[NIC_MAX_RSS_IDR_TBL_SIZE]; member 497 u8 ind_tbl[RSS_IND_TBL_LEN_PER_MBX_MSG]; member
|
D | nicvf_ethtool.c | 661 indir[idx] = rss->ind_tbl[idx]; in nicvf_get_rxfh() 691 rss->ind_tbl[idx] = indir[idx]; in nicvf_set_rxfh()
|
D | nic_main.c | 576 u8 svf = cfg->ind_tbl[idx] >> 3; in nic_config_rss() 583 (qset << 3) | (cfg->ind_tbl[idx] & 0x7)); in nic_config_rss()
|
D | nicvf_main.c | 350 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/ |
D | qp.c | 521 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/ |
D | ena_com.h | 794 int ena_com_indirect_table_get(struct ena_com_dev *ena_dev, u32 *ind_tbl);
|
D | ena_com.c | 2700 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/ |
D | otx2_ethtool.c | 792 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()
|
D | otx2_common.h | 62 u8 ind_tbl[MAX_RSS_INDIR_TBL_SIZE]; member
|
D | otx2_common.c | 331 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/ |
D | qp.c | 5456 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()
|