diff options
author | Harshitha Ramamurthy <hramamurthy@google.com> | 2024-04-01 23:45:29 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-03 11:11:15 +0100 |
commit | ed4fb326947dc486f97c66168f6ac50f5d1efd19 (patch) | |
tree | 4d84b5a18afe59a192b97684fbdce584e9356917 /drivers/net/ethernet/google/gve/gve_ethtool.c | |
parent | b94d3703c1a6a57323256a687f4cbdabfffbe408 (diff) |
gve: add support to read ring size ranges from the device
Add support to read ring size change capability and the
min and max descriptor counts from the device and store it
in the driver. Also accommodate a special case where the
device does not provide minimum ring size depending on the
version of the device. In that case, rely on default values
for the minimums.
Reviewed-by: Praveen Kaligineedi <pkaligineedi@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Harshitha Ramamurthy <hramamurthy@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/google/gve/gve_ethtool.c')
0 files changed, 0 insertions, 0 deletions