linux/net/ethtool
Michal Kubecek 71921690f9 ethtool: provide string sets with STRSET_GET request
Requests a contents of one or more string sets, i.e. indexed arrays of
strings; this information is provided by ETHTOOL_GSSET_INFO and
ETHTOOL_GSTRINGS commands of ioctl interface. Unlike ioctl interface, all
information can be retrieved with one request and mulitple string sets can
be requested at once.

There are three types of requests:

  - no NLM_F_DUMP, no device: get "global" stringsets
  - no NLM_F_DUMP, with device: get string sets related to the device
  - NLM_F_DUMP, no device: get device related string sets for all devices

Client can request either all string sets of given type (global or device
related) or only specific sets. With ETHTOOL_A_STRSET_COUNTS flag set, only
set sizes (numbers of strings) are returned.

Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-12-27 16:40:01 -08:00
..
bitset.c ethtool: netlink bitset handling 2019-12-27 16:40:01 -08:00
bitset.h ethtool: netlink bitset handling 2019-12-27 16:40:01 -08:00
common.c ethtool: provide link mode names as a string set 2019-12-12 17:07:05 -08:00
common.h ethtool: provide link mode names as a string set 2019-12-12 17:07:05 -08:00
ioctl.c net: ethtool: Use the PHY time stamping interface. 2019-12-25 19:51:33 -08:00
Makefile ethtool: provide string sets with STRSET_GET request 2019-12-27 16:40:01 -08:00
netlink.c ethtool: provide string sets with STRSET_GET request 2019-12-27 16:40:01 -08:00
netlink.h ethtool: provide string sets with STRSET_GET request 2019-12-27 16:40:01 -08:00
strset.c ethtool: provide string sets with STRSET_GET request 2019-12-27 16:40:01 -08:00