Searched refs:rss_ctx (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_cls.c | 1026 return port->rss_ctx[port_rss_ctx]; in mvpp22_rss_ctx() 1374 input.rss_ctx = info->rss_context; in mvpp2_ethtool_cls_rule_ins() 1471 u32 rss_ctx) in mvpp22_rss_fill_table() argument 1477 u32 sel = MVPP22_RSS_INDEX_TABLE(rss_ctx) | in mvpp22_rss_fill_table() 1486 static int mvpp22_rss_context_create(struct mvpp2_port *port, u32 *rss_ctx) in mvpp22_rss_context_create() argument 1505 *rss_ctx = ctx; in mvpp22_rss_context_create() 1521 u32 rss_ctx; in mvpp22_port_rss_ctx_create() local 1524 ret = mvpp22_rss_context_create(port, &rss_ctx); in mvpp22_port_rss_ctx_create() 1532 if (port->rss_ctx[i] < 0) in mvpp22_port_rss_ctx_create() 1539 port->rss_ctx[i] = rss_ctx; in mvpp22_port_rss_ctx_create() [all …]
|
D | mvpp2_cls.h | 267 int mvpp22_port_rss_ctx_create(struct mvpp2_port *port, u32 *rss_ctx); 268 int mvpp22_port_rss_ctx_delete(struct mvpp2_port *port, u32 rss_ctx); 270 int mvpp22_port_rss_ctx_indir_set(struct mvpp2_port *port, u32 rss_ctx, 272 int mvpp22_port_rss_ctx_indir_get(struct mvpp2_port *port, u32 rss_ctx,
|
D | mvpp2.h | 1265 int rss_ctx[MVPP22_N_RSS_TABLES]; member
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ethtool.c | 795 kfree(rss->rss_ctx[ctx_id]); in otx2_rss_ctx_delete() 796 rss->rss_ctx[ctx_id] = NULL; in otx2_rss_ctx_delete() 808 if (!rss->rss_ctx[ctx]) in otx2_rss_ctx_create() 814 rss->rss_ctx[ctx] = kzalloc(sizeof(*rss->rss_ctx[ctx]), GFP_KERNEL); in otx2_rss_ctx_create() 815 if (!rss->rss_ctx[ctx]) in otx2_rss_ctx_create() 828 struct otx2_rss_ctx *rss_ctx; in otx2_set_rxfh_context() local 859 rss_ctx = rss->rss_ctx[*rss_context]; in otx2_set_rxfh_context() 861 rss_ctx->ind_tbl[idx] = indir[idx]; in otx2_set_rxfh_context() 872 struct otx2_rss_ctx *rss_ctx; in otx2_get_rxfh_context() local 893 rss_ctx = rss->rss_ctx[rss_context]; in otx2_get_rxfh_context() [all …]
|
D | otx2_common.c | 308 struct otx2_rss_ctx *rss_ctx; in otx2_set_rss_table() local 313 rss_ctx = rss->rss_ctx[ctx_id]; in otx2_set_rss_table() 333 aq->rss.rq = rss_ctx->ind_tbl[idx]; in otx2_set_rss_table() 371 struct otx2_rss_ctx *rss_ctx; in otx2_rss_init() local 374 rss->rss_size = sizeof(*rss->rss_ctx[DEFAULT_RSS_CONTEXT_GROUP]); in otx2_rss_init() 383 rss->rss_ctx[DEFAULT_RSS_CONTEXT_GROUP] = kzalloc(rss->rss_size, in otx2_rss_init() 385 if (!rss->rss_ctx[DEFAULT_RSS_CONTEXT_GROUP]) in otx2_rss_init() 388 rss_ctx = rss->rss_ctx[DEFAULT_RSS_CONTEXT_GROUP]; in otx2_rss_init() 390 rss_ctx->ind_tbl[idx] = in otx2_rss_init()
|
D | otx2_common.h | 85 struct otx2_rss_ctx *rss_ctx[MAX_RSS_GROUPS]; member
|
/linux-6.1.9/drivers/infiniband/hw/mlx4/ |
D | qp.c | 513 static int set_qp_rss(struct mlx4_ib_dev *dev, struct mlx4_ib_rss *rss_ctx, in set_qp_rss() argument 517 rss_ctx->base_qpn_tbl_sz = init_attr->rwq_ind_tbl->ind_tbl[0]->wq_num | in set_qp_rss() 522 memcpy(rss_ctx->rss_key, ucmd->rx_hash_key, in set_qp_rss() 545 rss_ctx->flags = MLX4_RSS_IPV4; in set_qp_rss() 554 rss_ctx->flags |= MLX4_RSS_IPV6; in set_qp_rss() 568 if (rss_ctx->flags & MLX4_RSS_IPV4) in set_qp_rss() 569 rss_ctx->flags |= MLX4_RSS_UDP_IPV4; in set_qp_rss() 570 if (rss_ctx->flags & MLX4_RSS_IPV6) in set_qp_rss() 571 rss_ctx->flags |= MLX4_RSS_UDP_IPV6; in set_qp_rss() 572 if (!(rss_ctx->flags & (MLX4_RSS_IPV6 | MLX4_RSS_IPV4))) { in set_qp_rss() [all …]
|
D | mlx4_ib.h | 368 struct mlx4_ib_rss *rss_ctx; member
|
/linux-6.1.9/include/linux/ |
D | ethtool.h | 774 u32 rss_ctx; member
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_nix.c | 732 if (pfvf->rss_ctx) in nix_ctx_free() 733 qmem_free(rvu->dev, pfvf->rss_ctx); in nix_ctx_free() 745 pfvf->rss_ctx = NULL; in nix_ctx_free() 764 err = qmem_alloc(rvu->dev, &pfvf->rss_ctx, num_indices, hwctx_size); in nixlf_rss_ctx_init() 769 (u64)pfvf->rss_ctx->iova); in nixlf_rss_ctx_init() 875 if (!(cfg & BIT_ULL(4)) || !pfvf->rss_ctx || in rvu_nix_blk_aq_enq_inst()
|
D | rvu.h | 216 struct qmem *rss_ctx; member
|
/linux-6.1.9/net/ethtool/ |
D | ioctl.c | 3325 act->queue.ctx = input->rss_ctx; in ethtool_rx_flow_rule_create()
|