BACKPORT: net: ethtool: add missing NETIF_F_GSO_FRAGLIST feature string
Commit 3b33583265ed ("net: Add fraglist GRO/GSO feature flags") missed
an entry for NETIF_F_GSO_FRAGLIST in netdev_features_strings array. As
a result, fraglist GSO feature is not shown in 'ethtool -k' output and
can't be toggled on/off.
The fix is trivial.
Fixes: 3b33583265ed ("net: Add fraglist GRO/GSO feature flags")
Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Reviewed-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit eddbf5d0204e550ee59de02bdc19fe90d4203dd6)
[netdev_features_strings is in net/core/ethtool.c on this branch, so
apply the change there]
Bug: 187129171
Signed-off-by: Connor O'Brien <connoro@google.com>
Change-Id: I20b389538ac02fc63cf8fa59dfb9010296237056
This commit is contained in:
parent
305c5f5486
commit
7db1c96c2d
1 changed files with 1 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ static const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN]
|
|||
[NETIF_F_GSO_SCTP_BIT] = "tx-sctp-segmentation",
|
||||
[NETIF_F_GSO_ESP_BIT] = "tx-esp-segmentation",
|
||||
[NETIF_F_GSO_UDP_L4_BIT] = "tx-udp-segmentation",
|
||||
[NETIF_F_GSO_FRAGLIST_BIT] = "tx-gso-list",
|
||||
|
||||
[NETIF_F_FCOE_CRC_BIT] = "tx-checksum-fcoe-crc",
|
||||
[NETIF_F_SCTP_CRC_BIT] = "tx-checksum-sctp",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue