DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/4] gve GQ ring size modification
@ 2024-07-17 17:56 Joshua Washington
  2024-07-17 17:56 ` [PATCH 1/4] net/gve: add ring size device option Joshua Washington
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Joshua Washington @ 2024-07-17 17:56 UTC (permalink / raw)
  Cc: dev, Ferruh Yigit, Rushil Gupta, Harshitha Ramamurthy, Joshua Washington

This patch series adds the abiltiy to modify the ring size when using
the GQ queue format for the GVE driver. Before this change, the GQ
driver supported only 1024 descriptors in a ring. With this change, ring
sizes can be as low or has as is specfied by the device. If the device
does not specify limits, the minimum ring size is fixed at 512
descriptors for RX and 256 descriptor for TX, while the maximum ring
size is fixed at 1024 for both RX and TX.

Limitations:
  The ring size must be a power of two.

The DQ queue format should remain unaffected by this change.

Joshua Washington (4):
  net/gve: add ring size device option
  net/gve: remove explicit field for Rx pages per QPL
  net/gve: add min ring size support
  net/gve: add ability to modify ring size in GQ format

 drivers/net/gve/base/gve_adminq.c | 101 +++++++++++++++++++++++-------
 drivers/net/gve/base/gve_adminq.h |  18 ++++++
 drivers/net/gve/gve_ethdev.c      |  24 +++++--
 drivers/net/gve/gve_ethdev.h      |  42 ++++++++-----
 drivers/net/gve/gve_rx.c          |  12 ++--
 drivers/net/gve/gve_tx.c          |  10 +--
 6 files changed, 154 insertions(+), 53 deletions(-)

-- 
2.45.2.803.g4e1b14247a-goog


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

end of thread, other threads:[~2024-07-19 18:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-17 17:56 [PATCH 0/4] gve GQ ring size modification Joshua Washington
2024-07-17 17:56 ` [PATCH 1/4] net/gve: add ring size device option Joshua Washington
2024-07-17 17:56 ` [PATCH 2/4] net/gve: remove explicit field for Rx pages per QPL Joshua Washington
2024-07-17 17:56 ` [PATCH 3/4] net/gve: add min ring size support Joshua Washington
2024-07-17 17:56 ` [PATCH 4/4] net/gve: add ability to modify ring size in GQ format Joshua Washington
2024-07-19 18:59 ` [PATCH 0/4] gve GQ ring size modification Ferruh Yigit

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