[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240613014744.1370943-1-ziweixiao@google.com>
Date: Thu, 13 Jun 2024 01:47:39 +0000
From: Ziwei Xiao <ziweixiao@...gle.com>
To: netdev@...r.kernel.org
Cc: jeroendb@...gle.com, pkaligineedi@...gle.com, shailend@...gle.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
willemb@...gle.com, hramamurthy@...gle.com, ziweixiao@...gle.com,
rushilg@...gle.com, horms@...nel.org, linux-kernel@...r.kernel.org
Subject: [PATCH net-next v2 0/5] gve: Add flow steering support
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.
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 | 230 +++++++++++++-
drivers/net/ethernet/google/gve/gve_adminq.h | 103 ++++++
drivers/net/ethernet/google/gve/gve_ethtool.c | 85 ++++-
.../net/ethernet/google/gve/gve_flow_rule.c | 298 ++++++++++++++++++
drivers/net/ethernet/google/gve/gve_main.c | 83 ++++-
7 files changed, 830 insertions(+), 25 deletions(-)
create mode 100644 drivers/net/ethernet/google/gve/gve_flow_rule.c
--
2.45.2.627.g7a2c4fd464-goog
Powered by blists - more mailing lists