diff options
author | Xuan Zhuo <xuanzhuo@linux.alibaba.com> | 2024-04-26 11:39:23 +0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-04-30 10:51:33 +0200 |
commit | de6df26ffced76137349be241a579b4fffaf5703 (patch) | |
tree | ce27ee9ad8e941a651857ccc9005df638040e7f3 /drivers/uio/uio_mf624.c | |
parent | 34cfe87221363d98160f74788dd060b1c43bae0d (diff) | |
download | linux-de6df26ffced76137349be241a579b4fffaf5703.tar.gz linux-de6df26ffced76137349be241a579b4fffaf5703.tar.bz2 linux-de6df26ffced76137349be241a579b4fffaf5703.zip |
virtio_net: remove "_queue" from ethtool -S
The key size of ethtool -S is controlled by this macro.
ETH_GSTRING_LEN 32
That includes the \0 at the end. So the max length of the key name must
is 31. But the length of the prefix "rx_queue_0_" is 11. If the queue
num is larger than 10, the length of the prefix is 12. So the
key name max is 19. That is too short. We will introduce some keys
such as "gso_packets_coalesced". So we should change the prefix
to "rx0_".
Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/uio/uio_mf624.c')
0 files changed, 0 insertions, 0 deletions