diff options
| author | Michal Kubecek <[email protected]> | 2020-03-12 20:08:38 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-03-12 22:32:33 +0000 |
| commit | 0c84979c951a85fcb5c77ac2480fd476e283a07c (patch) | |
| tree | 83256438a6a5aeb2658d6e52b9b154fd1785e741 /net/ipv4/tcp_input.c | |
| parent | ethtool: add RINGS_NTF notification (diff) | |
| download | kernel-0c84979c951a85fcb5c77ac2480fd476e283a07c.tar.gz kernel-0c84979c951a85fcb5c77ac2480fd476e283a07c.zip | |
ethtool: provide channel counts with CHANNELS_GET request
Implement CHANNELS_GET request to get channel counts of a network device.
These are traditionally available via ETHTOOL_GCHANNELS ioctl request.
Omit attributes for channel types which are not supported by driver or
device (zero reported for maximum).
v2: (all suggested by Jakub Kicinski)
- minor cleanup in channels_prepare_data()
- more descriptive channels_reply_size()
- omit attributes with zero max count
Signed-off-by: Michal Kubecek <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
