commit | f0dcb1eed9aac8bf70ce2aced3078f7123fb0fe4 | [log] [tgz] |
---|---|---|
author | Michal Kubecek <mkubecek@suse.cz> | Fri May 29 01:22:33 2020 +0200 |
committer | Michal Kubecek <mkubecek@suse.cz> | Sun Jun 07 19:11:06 2020 +0200 |
tree | 572f82c0f7e05c71c3c56d0a18549a32d8fd179e | |
parent | 9b3e730b5a2d35ea39918a515fa264fb46d5f517 [diff] |
netlink: add netlink handler for gpause (-a) Implement "ethtool -a <dev>" subcommand using ETHTOOL_MSG_PAUSE_GET netlink message. This retrieves and diaplays device pause parameters, traditionally provided by ETHTOOL_GPAUSEPARAM ioctl request. Also register the callback with monitor code so that the monitor can display ETHTOOL_MSG_PAUSE_NTF notifications. When in monitor mode, negotiated status is not displayed. Signed-off-by: Michal Kubecek <mkubecek@suse.cz>