[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221117162701.2356849-1-jeroendb@google.com>
Date: Thu, 17 Nov 2022 08:26:59 -0800
From: Jeroen de Borst <jeroendb@...gle.com>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org, jesse.brandeburg@...el.com,
Jeroen de Borst <jeroendb@...gle.com>
Subject: [PATCH net-next v5 0/2] Handle alternate miss-completions
Some versions of the virtual NIC present miss-completions in
an alternative way. Let the diver handle these alternate completions
and announce this capability to the device.
The capability is announced uing a new AdminQ command that sends
driver information to the device. The device can refuse a driver
if it is lacking support for a capability, or it can adopt it's
behavior to work around OS specific issues.
Changed in v5:
- Removed comments in fucntion calls
- Switched ENOTSUPP back to EOPNOTSUPP and made sure it gets passed
Changed in v4:
- Clarified new AdminQ command in cover letter
- Changed EOPNOTSUPP to ENOTSUPP to match device's response
Changed in v3:
- Rewording cover letter
- Added 'Reviewed-by: Jesse Brandeburg <jesse.brandeburg@...el.com>'
Changes in v2:
- Changed the subject to include 'gve:'
Jeroen de Borst (2):
Adding a new AdminQ command to verify driver
Handle alternate miss completions
drivers/net/ethernet/google/gve/gve.h | 1 +
drivers/net/ethernet/google/gve/gve_adminq.c | 21 +++++++-
drivers/net/ethernet/google/gve/gve_adminq.h | 51 ++++++++++++++++++
.../net/ethernet/google/gve/gve_desc_dqo.h | 5 ++
drivers/net/ethernet/google/gve/gve_main.c | 52 +++++++++++++++++++
drivers/net/ethernet/google/gve/gve_tx_dqo.c | 20 ++++---
6 files changed, 142 insertions(+), 8 deletions(-)
--
2.38.1.431.g37b22c650d-goog
Powered by blists - more mailing lists