netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next PATCH v3 0/3] Extend action skbedit to RX queue mapping
@ 2022-10-21  7:58 Amritha Nambiar
  2022-10-21  7:58 ` [net-next PATCH v3 1/3] act_skbedit: skbedit queue mapping for receive queue Amritha Nambiar
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Amritha Nambiar @ 2022-10-21  7:58 UTC (permalink / raw)
  To: netdev, kuba
  Cc: alexander.duyck, jhs, jiri, xiyou.wangcong, vinicius.gomes,
	sridhar.samudrala, amritha.nambiar

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

--

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-10-28  2:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-21  7:58 [net-next PATCH v3 0/3] Extend action skbedit to RX queue mapping Amritha Nambiar
2022-10-21  7:58 ` [net-next PATCH v3 1/3] act_skbedit: skbedit queue mapping for receive queue Amritha Nambiar
2022-10-26 11:40   ` Roi Dayan
2022-10-26 16:17     ` Jakub Kicinski
2022-10-27  7:12       ` Roi Dayan
2022-10-27  8:10         ` Roi Dayan
2022-10-28  2:48           ` Jakub Kicinski
2022-10-27  8:10         ` Saeed Mahameed
2022-10-21  7:58 ` [net-next PATCH v3 2/3] ice: Enable RX queue selection using skbedit action Amritha Nambiar
2022-10-21  7:58 ` [net-next PATCH v3 3/3] Documentation: networking: TC queue based filtering Amritha Nambiar
2022-10-25  9:00 ` [net-next PATCH v3 0/3] Extend action skbedit to RX queue mapping patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).