2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 19:23:57 +08:00
linux-next/net/ethtool
Michal Kubecek 2fc2929e80 ethtool: set device ring sizes with RINGS_SET request
Implement RINGS_SET netlink request to set ring sizes of a network device.
These are traditionally set with ETHTOOL_SRINGPARAM ioctl request.

Like the ioctl implementation, the generic ethtool code checks if supplied
values do not exceed driver defined limits; if they do, first offending
attribute is reported using extack.

v2:
  - fix netdev reference leak in error path (found by Jakub Kicinsky)

Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-03-12 15:32:33 -07:00
..
bitset.c ethtool: add ethnl_parse_bitset() helper 2020-03-12 15:32:32 -07:00
bitset.h ethtool: add ethnl_parse_bitset() helper 2020-03-12 15:32:32 -07:00
common.c ethtool: Add support for low latency RS FEC 2020-02-18 19:17:31 -08:00
common.h ethtool: provide netdev features with FEATURES_GET request 2020-03-12 15:32:32 -07:00
debug.c ethtool: rename ethnl_parse_header() to ethnl_parse_header_dev_get() 2020-03-12 15:32:32 -07:00
features.c ethtool: add FEATURES_NTF notification 2020-03-12 15:32:33 -07:00
ioctl.c ethtool: add PRIVFLAGS_NTF notification 2020-03-12 15:32:33 -07:00
linkinfo.c ethtool: rename ethnl_parse_header() to ethnl_parse_header_dev_get() 2020-03-12 15:32:32 -07:00
linkmodes.c ethtool: rename ethnl_parse_header() to ethnl_parse_header_dev_get() 2020-03-12 15:32:32 -07:00
linkstate.c ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
Makefile ethtool: provide ring sizes with RINGS_GET request 2020-03-12 15:32:33 -07:00
netlink.c ethtool: set device ring sizes with RINGS_SET request 2020-03-12 15:32:33 -07:00
netlink.h ethtool: set device ring sizes with RINGS_SET request 2020-03-12 15:32:33 -07:00
privflags.c ethtool: add PRIVFLAGS_NTF notification 2020-03-12 15:32:33 -07:00
rings.c ethtool: set device ring sizes with RINGS_SET request 2020-03-12 15:32:33 -07:00
strset.c ethtool: provide WoL settings with WOL_GET request 2020-01-27 11:31:36 +01:00
wol.c ethtool: rename ethnl_parse_header() to ethnl_parse_header_dev_get() 2020-03-12 15:32:32 -07:00