public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/5] gve: Add flow steering support
@ 2024-06-25  0:12 Ziwei Xiao
  2024-06-25  0:12 ` [PATCH net-next v3 1/5] gve: Add adminq mutex lock Ziwei Xiao
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ziwei Xiao @ 2024-06-25  0:12 UTC (permalink / raw)
  To: netdev
  Cc: jeroendb, pkaligineedi, shailend, davem, edumazet, kuba, pabeni,
	willemb, hramamurthy, ziweixiao, rushilg, horms, linux-kernel

To support flow steering in GVE driver, there are two adminq changes
need to be made in advance.

The first one is adding adminq mutex lock, which is to allow the
incoming flow steering operations to be able to temporarily drop the
rtnl_lock to reduce the latency for registering flow rules among
several NICs at the same time. This could be achieved by the future
changes to reduce the drivers' dependencies on the rtnl lock for
particular ethtool ops.

The second one is to add the extended adminq command so that we can
support larger adminq command such as configure_flow_rule command. In
that patch, there is a new added function called
gve_adminq_execute_extended_cmd with the attribute of __maybe_unused.
That attribute will be removed in the third patch of this series where
it will use the previously unused function.

And the other three patches are needed for the actual flow steering
feature support in driver.

Jeroen de Borst (4):
  gve: Add adminq extended command
  gve: Add flow steering device option
  gve: Add flow steering adminq commands
  gve: Add flow steering ethtool support

Ziwei Xiao (1):
  gve: Add adminq mutex lock

 drivers/net/ethernet/google/gve/Makefile      |   2 +-
 drivers/net/ethernet/google/gve/gve.h         |  54 +++-
 drivers/net/ethernet/google/gve/gve_adminq.c  | 228 +++++++++++++-
 drivers/net/ethernet/google/gve/gve_adminq.h  | 103 ++++++
 drivers/net/ethernet/google/gve/gve_ethtool.c |  72 ++++-
 .../net/ethernet/google/gve/gve_flow_rule.c   | 298 ++++++++++++++++++
 drivers/net/ethernet/google/gve/gve_main.c    |  83 ++++-
 7 files changed, 817 insertions(+), 23 deletions(-)
 create mode 100644 drivers/net/ethernet/google/gve/gve_flow_rule.c

-- 
2.45.2.741.gdbec12cfda-goog


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

end of thread, other threads:[~2024-06-26  1:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-25  0:12 [PATCH net-next v3 0/5] gve: Add flow steering support Ziwei Xiao
2024-06-25  0:12 ` [PATCH net-next v3 1/5] gve: Add adminq mutex lock Ziwei Xiao
2024-06-25  0:12 ` [PATCH net-next v3 2/5] gve: Add adminq extended command Ziwei Xiao
2024-06-25  0:12 ` [PATCH net-next v3 3/5] gve: Add flow steering device option Ziwei Xiao
2024-06-25  0:12 ` [PATCH net-next v3 4/5] gve: Add flow steering adminq commands Ziwei Xiao
2024-06-25  0:12 ` [PATCH net-next v3 5/5] gve: Add flow steering ethtool support Ziwei Xiao
2024-06-26  1:00 ` [PATCH net-next v3 0/5] gve: Add flow steering support 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