diff options
| author | Joshua Washington <[email protected]> | 2025-03-21 00:29:08 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-03-25 20:51:15 +0000 |
| commit | 904effd02df72501fc8fcd8c9573de221c58cb60 (patch) | |
| tree | 342c9bc6ba2a63f706c9ddc1605c11ba810cea5b /net/unix/garbage.c | |
| parent | gve: update GQ RX to use buf_size (diff) | |
| download | kernel-904effd02df72501fc8fcd8c9573de221c58cb60.tar.gz kernel-904effd02df72501fc8fcd8c9573de221c58cb60.zip | |
gve: merge packet buffer size fields
The data_buffer_size_dqo field in gve_priv and the packet_buffer_size
field in gve_rx_ring theoretically have the same meaning, but they are
defined in two different places and used in two separate contexts. There
is no good reason for this, so this change merges those fields into the
packet_buffer_size field in the RX ring.
This change also introduces a packet_buffer_size field to struct
gve_rx_queue_config to account for cases where queues are not allocated,
such as when the interface is down.
Reviewed-by: Willem de Bruijn <[email protected]>
Signed-off-by: Joshua Washington <[email protected]>
Signed-off-by: Harshitha Ramamurthy <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
