Home
last modified time | relevance | path

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

/drivers/infiniband/core/
Duverbs_std_types.c89 struct ib_wq **ind_tbl = rwq_ind_tbl->ind_tbl; in uverbs_free_rwq_ind_tbl() local
94 kfree(ind_tbl); in uverbs_free_rwq_ind_tbl()
Dverbs.c1452 struct ib_rwq_ind_table *ind_tbl; in ib_destroy_qp() local
1468 ind_tbl = qp->rwq_ind_tbl; in ib_destroy_qp()
1486 if (ind_tbl) in ib_destroy_qp()
1487 atomic_dec(&ind_tbl->usecnt); in ib_destroy_qp()
1867 rwq_ind_table->ind_tbl = init_attr->ind_tbl; in ib_create_rwq_ind_table()
1874 atomic_inc(&rwq_ind_table->ind_tbl[i]->usecnt); in ib_create_rwq_ind_table()
1888 struct ib_wq **ind_tbl = rwq_ind_table->ind_tbl; in ib_destroy_rwq_ind_table() local
1896 atomic_dec(&ind_tbl[i]->usecnt); in ib_destroy_rwq_ind_table()
Duverbs_cmd.c1374 struct ib_rwq_ind_table *ind_tbl = NULL; in create_qp() local
1391 ind_tbl = uobj_get_obj_read(rwq_ind_table, in create_qp()
1394 if (!ind_tbl) { in create_qp()
1399 attr.rwq_ind_tbl = ind_tbl; in create_qp()
1409 if (ind_tbl && (cmd->max_recv_wr || cmd->max_recv_sge || cmd->is_srq)) { in create_qp()
1414 if (ind_tbl && !cmd->max_send_wr) in create_qp()
1446 if (!ind_tbl) { in create_qp()
1461 if (!ind_tbl) in create_qp()
1546 qp->rwq_ind_tbl = ind_tbl; in create_qp()
1559 if (ind_tbl) in create_qp()
[all …]
/drivers/net/ethernet/cavium/thunder/
Dnic.h148 u8 ind_tbl[NIC_MAX_RSS_IDR_TBL_SIZE]; member
449 u8 ind_tbl[RSS_IND_TBL_LEN_PER_MBX_MSG]; member
Dnicvf_ethtool.c660 indir[idx] = rss->ind_tbl[idx]; in nicvf_get_rxfh()
690 rss->ind_tbl[idx] = indir[idx]; in nicvf_set_rxfh()
Dnicvf_main.c343 mbx.rss_cfg.ind_tbl[i] = rss->ind_tbl[nextq++]; in nicvf_config_rss()
387 rss->ind_tbl[idx] = ethtool_rxfh_indir_default(idx, in nicvf_rss_init()
Dnic_main.c614 u8 svf = cfg->ind_tbl[idx] >> 3; in nic_config_rss()
621 (qset << 3) | (cfg->ind_tbl[idx] & 0x7)); in nic_config_rss()
/drivers/infiniband/hw/mlx4/
Dqp.c657 rss_ctx->base_qpn_tbl_sz = init_attr->rwq_ind_tbl->ind_tbl[0]->wq_num | in set_qp_rss()
772 (struct ib_qp *)init_attr->rwq_ind_tbl->ind_tbl[0]))->mtt; in create_qp_rss()
1410 struct ib_wq *ibwq = qp->ibqp.rwq_ind_tbl->ind_tbl[i]; in destroy_qp_rss()
2042 static int bringup_rss_rwqs(struct ib_rwq_ind_table *ind_tbl, u8 port_num) in bringup_rss_rwqs() argument
2047 for (i = 0; i < (1 << ind_tbl->log_ind_tbl_size); i++) { in bringup_rss_rwqs()
2048 struct ib_wq *ibwq = ind_tbl->ind_tbl[i]; in bringup_rss_rwqs()
2081 struct ib_wq *ibwq = ind_tbl->ind_tbl[j]; in bringup_rss_rwqs()
2100 static void bring_down_rss_rwqs(struct ib_rwq_ind_table *ind_tbl) in bring_down_rss_rwqs() argument
2104 for (i = 0; i < (1 << ind_tbl->log_ind_tbl_size); i++) { in bring_down_rss_rwqs()
2105 struct ib_wq *ibwq = ind_tbl->ind_tbl[i]; in bring_down_rss_rwqs()
[all …]
/drivers/net/ethernet/amazon/ena/
Dena_com.h782 int ena_com_indirect_table_get(struct ena_com_dev *ena_dev, u32 *ind_tbl);
Dena_com.c2389 int ena_com_indirect_table_get(struct ena_com_dev *ena_dev, u32 *ind_tbl) in ena_com_indirect_table_get() argument
2406 if (!ind_tbl) in ena_com_indirect_table_get()
2414 ind_tbl[i] = rss->host_rss_ind_tbl[i]; in ena_com_indirect_table_get()
/drivers/infiniband/hw/mlx5/
Dqp.c5006 MLX5_SET(rqtc, rqtc, rq_num[i], init_attr->ind_tbl[i]->wq_num); in mlx5_ib_create_rwq_ind_table()