diff options
author | Rami Rosen <ramirose@gmail.com> | 2015-02-20 21:34:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-20 16:36:43 -0500 |
commit | 65e9256c4ec569ed62bb89023daab7b72368b89f (patch) | |
tree | 4cc6fc3d4eb88b267fa4eb397222170beb065196 | |
parent | f4c2b7a08170dc4e442c4566486e4597af8d72a3 (diff) | |
download | op-kernel-dev-65e9256c4ec569ed62bb89023daab7b72368b89f.zip op-kernel-dev-65e9256c4ec569ed62bb89023daab7b72368b89f.tar.gz |
ethtool: Add hw-switch-offload to netdev_features_strings.
commit aafb3e98b279 (netdev: introduce new NETIF_F_HW_SWITCH_OFFLOAD feature
flag for switch device offloads) add a new feature without adding it to
netdev_features_strings array; this patch fixes this.
Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/core/ethtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/ethtool.c b/net/core/ethtool.c index 91f74f3..aa378ec 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c @@ -98,6 +98,7 @@ static const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN] [NETIF_F_RXALL_BIT] = "rx-all", [NETIF_F_HW_L2FW_DOFFLOAD_BIT] = "l2-fwd-offload", [NETIF_F_BUSY_POLL_BIT] = "busy-poll", + [NETIF_F_HW_SWITCH_OFFLOAD_BIT] = "hw-switch-offload", }; static const char |