Home
last modified time | relevance | path

Searched refs:rss_ctx (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_cls.c1026 return port->rss_ctx[port_rss_ctx]; in mvpp22_rss_ctx()
1368 input.rss_ctx = info->rss_context; in mvpp2_ethtool_cls_rule_ins()
1462 u32 rss_ctx) in mvpp22_rss_fill_table() argument
1468 u32 sel = MVPP22_RSS_INDEX_TABLE(rss_ctx) | in mvpp22_rss_fill_table()
1477 static int mvpp22_rss_context_create(struct mvpp2_port *port, u32 *rss_ctx) in mvpp22_rss_context_create() argument
1496 *rss_ctx = ctx; in mvpp22_rss_context_create()
1512 u32 rss_ctx; in mvpp22_port_rss_ctx_create() local
1515 ret = mvpp22_rss_context_create(port, &rss_ctx); in mvpp22_port_rss_ctx_create()
1523 if (port->rss_ctx[i] < 0) in mvpp22_port_rss_ctx_create()
1530 port->rss_ctx[i] = rss_ctx; in mvpp22_port_rss_ctx_create()
[all …]
Dmvpp2_cls.h267 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,
Dmvpp2.h961 int rss_ctx[MVPP22_N_RSS_TABLES]; member
/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dqp.c539 static int set_qp_rss(struct mlx4_ib_dev *dev, struct mlx4_ib_rss *rss_ctx, in set_qp_rss() argument
543 rss_ctx->base_qpn_tbl_sz = init_attr->rwq_ind_tbl->ind_tbl[0]->wq_num | in set_qp_rss()
548 memcpy(rss_ctx->rss_key, ucmd->rx_hash_key, in set_qp_rss()
571 rss_ctx->flags = MLX4_RSS_IPV4; in set_qp_rss()
580 rss_ctx->flags |= MLX4_RSS_IPV6; in set_qp_rss()
594 if (rss_ctx->flags & MLX4_RSS_IPV4) in set_qp_rss()
595 rss_ctx->flags |= MLX4_RSS_UDP_IPV4; in set_qp_rss()
596 if (rss_ctx->flags & MLX4_RSS_IPV6) in set_qp_rss()
597 rss_ctx->flags |= MLX4_RSS_UDP_IPV6; in set_qp_rss()
598 if (!(rss_ctx->flags & (MLX4_RSS_IPV6 | MLX4_RSS_IPV4))) { in set_qp_rss()
[all …]
Dmlx4_ib.h351 struct mlx4_ib_rss *rss_ctx; member
/Linux-v5.4/include/linux/
Dethtool.h416 u32 rss_ctx; member
/Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c365 if (pfvf->rss_ctx) in nix_ctx_free()
366 qmem_free(rvu->dev, pfvf->rss_ctx); in nix_ctx_free()
378 pfvf->rss_ctx = NULL; in nix_ctx_free()
395 err = qmem_alloc(rvu->dev, &pfvf->rss_ctx, num_indices, hwctx_size); in nixlf_rss_ctx_init()
400 (u64)pfvf->rss_ctx->iova); in nixlf_rss_ctx_init()
501 if (!(cfg & BIT_ULL(4)) || !pfvf->rss_ctx || in rvu_nix_aq_enq_inst()
Drvu.h130 struct qmem *rss_ctx; member
/Linux-v5.4/net/core/
Dethtool.c3100 act->queue.ctx = input->rss_ctx; in ethtool_rx_flow_rule_create()