mbox series

[net-next,v3,0/3] Extend action skbedit to RX queue mapping

Message ID 166633888716.52141.3425659377117969638.stgit@anambiarhost.jf.intel.com (mailing list archive)
Headers show
Series Extend action skbedit to RX queue mapping | expand

Message

Nambiar, Amritha Oct. 21, 2022, 7:58 a.m. UTC
Based on the discussion on
https://lore.kernel.org/netdev/166260012413.81018.8010396115034847972.stgit@anambiarhost.jf.intel.com/ ,
the following series extends skbedit tc action to RX queue mapping.
Currently, skbedit action in tc allows overriding of transmit queue.
Extending this ability of skedit action supports the selection of
receive queue for incoming packets. On the receive side, this action
is supported only in hardware, so the skip_sw flag is enforced.

Enabled ice driver to offload this type of filter into the hardware
for accepting packets to the device's receive queue.

v3: Enforced skip_sw so that the action skbedit RX queue mapping is
    hardware only

---

Amritha Nambiar (3):
      act_skbedit: skbedit queue mapping for receive queue
      ice: Enable RX queue selection using skbedit action
      Documentation: networking: TC queue based filtering


 Documentation/networking/index.rst            |    1 
 Documentation/networking/tc-queue-filters.rst |   37 +++
 drivers/net/ethernet/intel/ice/ice.h          |   15 +
 drivers/net/ethernet/intel/ice/ice_main.c     |    2 
 drivers/net/ethernet/intel/ice/ice_tc_lib.c   |  351 ++++++++++++++++++-------
 drivers/net/ethernet/intel/ice/ice_tc_lib.h   |   40 ++-
 include/net/act_api.h                         |    1 
 include/net/flow_offload.h                    |    2 
 include/net/tc_act/tc_skbedit.h               |   29 ++
 net/sched/act_skbedit.c                       |   14 +
 net/sched/cls_api.c                           |    7 
 11 files changed, 388 insertions(+), 111 deletions(-)
 create mode 100644 Documentation/networking/tc-queue-filters.rst

--

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 25, 2022, 9 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Paolo Abeni <pabeni@redhat.com>:

On Fri, 21 Oct 2022 00:58:34 -0700 you wrote:
> Based on the discussion on
> https://lore.kernel.org/netdev/166260012413.81018.8010396115034847972.stgit@anambiarhost.jf.intel.com/ ,
> the following series extends skbedit tc action to RX queue mapping.
> Currently, skbedit action in tc allows overriding of transmit queue.
> Extending this ability of skedit action supports the selection of
> receive queue for incoming packets. On the receive side, this action
> is supported only in hardware, so the skip_sw flag is enforced.
> 
> [...]

Here is the summary with links:
  - [net-next,v3,1/3] act_skbedit: skbedit queue mapping for receive queue
    https://git.kernel.org/netdev/net-next/c/4a6a676f8c16
  - [net-next,v3,2/3] ice: Enable RX queue selection using skbedit action
    https://git.kernel.org/netdev/net-next/c/143b86f346c7
  - [net-next,v3,3/3] Documentation: networking: TC queue based filtering
    https://git.kernel.org/netdev/net-next/c/d5ae8ecf3832

You are awesome, thank you!