rss_ctx 351 drivers/infiniband/hw/mlx4/mlx4_ib.h struct mlx4_ib_rss *rss_ctx; rss_ctx 539 drivers/infiniband/hw/mlx4/qp.c static int set_qp_rss(struct mlx4_ib_dev *dev, struct mlx4_ib_rss *rss_ctx, rss_ctx 543 drivers/infiniband/hw/mlx4/qp.c rss_ctx->base_qpn_tbl_sz = init_attr->rwq_ind_tbl->ind_tbl[0]->wq_num | rss_ctx 548 drivers/infiniband/hw/mlx4/qp.c memcpy(rss_ctx->rss_key, ucmd->rx_hash_key, rss_ctx 571 drivers/infiniband/hw/mlx4/qp.c rss_ctx->flags = MLX4_RSS_IPV4; rss_ctx 580 drivers/infiniband/hw/mlx4/qp.c rss_ctx->flags |= MLX4_RSS_IPV6; rss_ctx 594 drivers/infiniband/hw/mlx4/qp.c if (rss_ctx->flags & MLX4_RSS_IPV4) rss_ctx 595 drivers/infiniband/hw/mlx4/qp.c rss_ctx->flags |= MLX4_RSS_UDP_IPV4; rss_ctx 596 drivers/infiniband/hw/mlx4/qp.c if (rss_ctx->flags & MLX4_RSS_IPV6) rss_ctx 597 drivers/infiniband/hw/mlx4/qp.c rss_ctx->flags |= MLX4_RSS_UDP_IPV6; rss_ctx 598 drivers/infiniband/hw/mlx4/qp.c if (!(rss_ctx->flags & (MLX4_RSS_IPV6 | MLX4_RSS_IPV4))) { rss_ctx 610 drivers/infiniband/hw/mlx4/qp.c if (rss_ctx->flags & MLX4_RSS_IPV4) rss_ctx 611 drivers/infiniband/hw/mlx4/qp.c rss_ctx->flags |= MLX4_RSS_TCP_IPV4; rss_ctx 612 drivers/infiniband/hw/mlx4/qp.c if (rss_ctx->flags & MLX4_RSS_IPV6) rss_ctx 613 drivers/infiniband/hw/mlx4/qp.c rss_ctx->flags |= MLX4_RSS_TCP_IPV6; rss_ctx 614 drivers/infiniband/hw/mlx4/qp.c if (!(rss_ctx->flags & (MLX4_RSS_IPV6 | MLX4_RSS_IPV4))) { rss_ctx 631 drivers/infiniband/hw/mlx4/qp.c rss_ctx->flags |= MLX4_RSS_BY_INNER_HEADERS_IPONLY; rss_ctx 675 drivers/infiniband/hw/mlx4/qp.c qp->rss_ctx = kzalloc(sizeof(*qp->rss_ctx), GFP_KERNEL); rss_ctx 676 drivers/infiniband/hw/mlx4/qp.c if (!qp->rss_ctx) { rss_ctx 681 drivers/infiniband/hw/mlx4/qp.c err = set_qp_rss(dev, qp->rss_ctx, init_attr, ucmd); rss_ctx 688 drivers/infiniband/hw/mlx4/qp.c kfree(qp->rss_ctx); rss_ctx 1413 drivers/infiniband/hw/mlx4/qp.c kfree(qp->rss_ctx); rss_ctx 2118 drivers/infiniband/hw/mlx4/qp.c rss_context->base_qpn = cpu_to_be32(qp->rss_ctx->base_qpn_tbl_sz); rss_ctx 2120 drivers/infiniband/hw/mlx4/qp.c cpu_to_be32(qp->rss_ctx->base_qpn_tbl_sz & 0xffffff); rss_ctx 2121 drivers/infiniband/hw/mlx4/qp.c if (qp->rss_ctx->flags & (MLX4_RSS_UDP_IPV4 | MLX4_RSS_UDP_IPV6)) rss_ctx 2123 drivers/infiniband/hw/mlx4/qp.c rss_context->flags = qp->rss_ctx->flags; rss_ctx 2127 drivers/infiniband/hw/mlx4/qp.c memcpy(rss_context->rss_key, qp->rss_ctx->rss_key, rss_ctx 961 drivers/net/ethernet/marvell/mvpp2/mvpp2.h int rss_ctx[MVPP22_N_RSS_TABLES]; rss_ctx 1026 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c return port->rss_ctx[port_rss_ctx]; rss_ctx 1368 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c input.rss_ctx = info->rss_context; rss_ctx 1465 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c u32 rss_ctx) rss_ctx 1471 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c u32 sel = MVPP22_RSS_INDEX_TABLE(rss_ctx) | rss_ctx 1480 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static int mvpp22_rss_context_create(struct mvpp2_port *port, u32 *rss_ctx) rss_ctx 1499 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c *rss_ctx = ctx; rss_ctx 1515 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c u32 rss_ctx; rss_ctx 1518 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c ret = mvpp22_rss_context_create(port, &rss_ctx); rss_ctx 1526 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c if (port->rss_ctx[i] < 0) rss_ctx 1533 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c port->rss_ctx[i] = rss_ctx; rss_ctx 1540 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c int rss_ctx) rss_ctx 1542 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c if (rss_ctx < 0 || rss_ctx >= MVPP22_N_RSS_TABLES) rss_ctx 1545 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c return priv->rss_tables[rss_ctx]; rss_ctx 1552 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c int i, rss_ctx, ret; rss_ctx 1554 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c rss_ctx = mvpp22_rss_ctx(port, port_ctx); rss_ctx 1556 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c if (rss_ctx < 0 || rss_ctx >= MVPP22_N_RSS_TABLES) rss_ctx 1577 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c kfree(priv->rss_tables[rss_ctx]); rss_ctx 1579 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c priv->rss_tables[rss_ctx] = NULL; rss_ctx 1580 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c port->rss_ctx[port_ctx] = -1; rss_ctx 1588 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c int rss_ctx = mvpp22_rss_ctx(port, port_ctx); rss_ctx 1590 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c rss_ctx); rss_ctx 1598 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp22_rss_fill_table(port, rss_table, rss_ctx); rss_ctx 1606 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c int rss_ctx = mvpp22_rss_ctx(port, port_ctx); rss_ctx 1608 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c rss_ctx); rss_ctx 1707 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c port->rss_ctx[i] = -1; rss_ctx 1717 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c port->rss_ctx[0] = context; rss_ctx 267 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h int mvpp22_port_rss_ctx_create(struct mvpp2_port *port, u32 *rss_ctx); rss_ctx 268 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h int mvpp22_port_rss_ctx_delete(struct mvpp2_port *port, u32 rss_ctx); rss_ctx 270 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h int mvpp22_port_rss_ctx_indir_set(struct mvpp2_port *port, u32 rss_ctx, rss_ctx 272 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h int mvpp22_port_rss_ctx_indir_get(struct mvpp2_port *port, u32 rss_ctx, rss_ctx 130 drivers/net/ethernet/marvell/octeontx2/af/rvu.h struct qmem *rss_ctx; rss_ctx 365 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (pfvf->rss_ctx) rss_ctx 366 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c qmem_free(rvu->dev, pfvf->rss_ctx); rss_ctx 378 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c pfvf->rss_ctx = NULL; rss_ctx 395 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c err = qmem_alloc(rvu->dev, &pfvf->rss_ctx, num_indices, hwctx_size); rss_ctx 400 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c (u64)pfvf->rss_ctx->iova); rss_ctx 501 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!(cfg & BIT_ULL(4)) || !pfvf->rss_ctx || rss_ctx 416 include/linux/ethtool.h u32 rss_ctx; rss_ctx 3100 net/core/ethtool.c act->queue.ctx = input->rss_ctx;