commit | 068a0bbc8cbd7dc4cb77066b946820aaf520fcf8 | [log] [tgz] |
---|---|---|
author | Michal Kubecek <mkubecek@suse.cz> | Fri May 29 01:21:52 2020 +0200 |
committer | Michal Kubecek <mkubecek@suse.cz> | Sun Jun 07 19:11:06 2020 +0200 |
tree | 12804ab080691eb643d74a21061096c8ed20df3e | |
parent | a7a05af4a1eae9cffa892ad69b786d60d35d85a1 [diff] |
netlink: add netlink handler for gprivflags (--show-priv-flags) Implement "ethtool --show-priv-flags <dev>" subcommand using ETHTOOL_MSG_PRIVFLAGS_GET netlink message. This retrieves and displays values of device private flags, traditionally provided by ETHTOOL_GPFLAGS ioctl request. Also register the callback with monitor code so that the monitor can display ETHTOOL_MSG_PRIVFLAGS_NTF notifications. Signed-off-by: Michal Kubecek <mkubecek@suse.cz>