ethtool: Add hw-switch-offload to netdev_features_strings.
Subsystems (2)
PATCH RESEND 1/1 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 <[email protected]>
--- net/core/ethtool.c | 1 + 1 file changed, 1 insertion(+)
net/core/ethtool.c +1 -0
@@ -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
Signature · 1 line
2.1.0
From: Rami Rosen <[email protected]>
Date: Fri, 20 Feb 2015 21:34:58 +0200
Quoted 5 lines
commit
aafb3e98b279(netdev: introduce newNETIF_F_HW_SWITCH_OFFLOADfeature flag for switch device offloads) add a new feature without adding it tonetdev_features_stringsarray; this patch fixes this.Signed-off-by Rami Rosen <[email protected]>
Applied, thanks.