diff options
author | Alexander Duyck <aduyck@mirantis.com> | 2016-04-14 17:04:34 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-16 19:14:56 -0400 |
commit | 756ca874417695f77941948a77e9b8562635cc0a (patch) | |
tree | 7f0ccc2b328ce0264d6caa0f0cbec28df6310d35 /include/linux/netdev_features.h | |
parent | ac979929eaeaf82c3ba30161320b3f928d136de9 (diff) | |
download | lwn-756ca874417695f77941948a77e9b8562635cc0a.tar.gz lwn-756ca874417695f77941948a77e9b8562635cc0a.zip |
netdev_features: Add NETIF_F_TSO_MANGLEID to NETIF_F_ALL_TSO
I realized that when I added NETIF_F_TSO_MANGLEID as a TSO type I forgot to
add it to NETIF_F_ALL_TSO. This patch corrects that so the flag will be
included correctly.
The result should be minor as it was only used by a few drivers and in a
few specific cases such as when NETIF_F_SG was not supported on a device so
the TSO flags were cleared.
Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdev_features.h')
-rw-r--r-- | include/linux/netdev_features.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/netdev_features.h b/include/linux/netdev_features.h index 9fc79df0e561..15eb0b12fff9 100644 --- a/include/linux/netdev_features.h +++ b/include/linux/netdev_features.h @@ -164,7 +164,8 @@ enum { #define NETIF_F_CSUM_MASK (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | \ NETIF_F_HW_CSUM) -#define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) +#define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | \ + NETIF_F_TSO_ECN | NETIF_F_TSO_MANGLEID) #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \ NETIF_F_FSO) |