ethtool: add FEATURES_NTF notification
Send ETHTOOL_MSG_FEATURES_NTF notification whenever network device features are modified using ETHTOOL_MSG_FEATURES_SET netlink message, ethtool ioctl request or any other way resulting in call to netdev_update_features() or netdev_change_features() Signed-off-by: Michal Kubecek <mkubecek@suse.cz> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
0980bfcd69
commit
9c6451ef48
@@ -208,6 +208,7 @@ Kernel to userspace:
|
||||
``ETHTOOL_MSG_WOL_NTF`` wake-on-lan settings notification
|
||||
``ETHTOOL_MSG_FEATURES_GET_REPLY`` device features
|
||||
``ETHTOOL_MSG_FEATURES_SET_REPLY`` optional reply to FEATURES_SET
|
||||
``ETHTOOL_MSG_FEATURES_NTF`` netdev features notification
|
||||
===================================== =================================
|
||||
|
||||
``GET`` requests are sent by userspace applications to retrieve device
|
||||
@@ -591,6 +592,11 @@ reports the difference between old and new dev->features: mask consists of
|
||||
bits which have changed, values are their values in new dev->features (after
|
||||
the operation).
|
||||
|
||||
``ETHTOOL_MSG_FEATURES_NTF`` notification is sent not only if device features
|
||||
are modified using ``ETHTOOL_MSG_FEATURES_SET`` request or on of ethtool ioctl
|
||||
request but also each time features are modified with netdev_update_features()
|
||||
or netdev_change_features().
|
||||
|
||||
|
||||
Request translation
|
||||
===================
|
||||
|
||||
Reference in New Issue
Block a user