netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] gve: Improve RX buffer length management
@ 2025-10-22 18:22 Joshua Washington
  2025-10-22 18:22 ` [PATCH net-next 1/3] gve: Decouple header split from RX buffer length Joshua Washington
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Joshua Washington @ 2025-10-22 18:22 UTC (permalink / raw)
  To: netdev; +Cc: Ankit Garg

From: Ankit Garg <nktgrg@google.com>

This patch series improves the management of the RX buffer length for
the DQO queue format in the gve driver. The goal is to make RX buffer
length config more explicit, easy to change, and performant by default.

We accomplish that in three patches:

1.  Currently, the buffer length is implicitly coupled with the header
    split setting, which is an unintuitive and restrictive design. The
    first patch decouples the RX buffer length from the header split
    configuration.

2.  The second patch exposes the `rx_buf_len` parameter to userspace via
    ethtool, allowing user to directly view or modify the RX buffer
    length.

3.  The final patch improves the out-of-the-box RX single stream
    throughput by >10%  by changing the driver's default behavior to
    select the maximum supported RX buffer length advertised by the
    device during initialization.

Ankit Garg (3):
  gve: Decouple header split from RX buffer length
  gve: Allow ethtool to configure rx_buf_len
  gve: Default to max_rx_buffer_size for DQO if device supported

 drivers/net/ethernet/google/gve/gve.h         | 12 +++-
 drivers/net/ethernet/google/gve/gve_adminq.c  |  4 ++
 drivers/net/ethernet/google/gve/gve_ethtool.c | 13 ++++-
 drivers/net/ethernet/google/gve/gve_main.c    | 55 +++++++++++++++----
 4 files changed, 69 insertions(+), 15 deletions(-)

--
2.51.1.814.gb8fa24458f-goog


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

end of thread, other threads:[~2025-11-05 18:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-22 18:22 [PATCH net-next 0/3] gve: Improve RX buffer length management Joshua Washington
2025-10-22 18:22 ` [PATCH net-next 1/3] gve: Decouple header split from RX buffer length Joshua Washington
2025-10-22 18:22 ` [PATCH net-next 2/3] gve: Allow ethtool to configure rx_buf_len Joshua Washington
2025-10-24  0:14   ` Jakub Kicinski
2025-10-24 18:17     ` Ankit Garg
2025-10-24 20:10       ` Jakub Kicinski
2025-10-24 20:14         ` Ankit Garg
2025-11-05 18:31       ` Ankit Garg
2025-10-22 18:22 ` [PATCH net-next 3/3] gve: Default to max_rx_buffer_size for DQO if device supported Joshua Washington
2025-10-24  0:12 ` [PATCH net-next 0/3] gve: Improve RX buffer length management Jakub Kicinski
2025-10-24  2:40   ` Mina Almasry
2025-10-24 17:31     ` Ankit Garg

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).