netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v5 0/2] Handle alternate miss-completions
@ 2022-11-17 16:26 Jeroen de Borst
  2022-11-17 16:27 ` [PATCH net-next v5 1/2] gve: Adding a new AdminQ command to verify driver Jeroen de Borst
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jeroen de Borst @ 2022-11-17 16:26 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuba, jesse.brandeburg, Jeroen de Borst

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@intel.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


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

end of thread, other threads:[~2022-11-21 11:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-17 16:26 [PATCH net-next v5 0/2] Handle alternate miss-completions Jeroen de Borst
2022-11-17 16:27 ` [PATCH net-next v5 1/2] gve: Adding a new AdminQ command to verify driver Jeroen de Borst
2022-11-20 19:40   ` Leon Romanovsky
2022-11-17 16:27 ` [PATCH net-next v5 2/2] gve: Handle alternate miss completions Jeroen de Borst
2022-11-21 11:00 ` [PATCH net-next v5 0/2] Handle alternate miss-completions 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).