aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index e7244ed1f9a8..1d9696a9ee4d 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1097,10 +1097,14 @@ struct net_device {
1097 1097
1098#define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) 1098#define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN)
1099 1099
1100#define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \
1101 NETIF_F_FSO)
1102
1100#define NETIF_F_ALL_TX_OFFLOADS (NETIF_F_ALL_CSUM | NETIF_F_SG | \ 1103#define NETIF_F_ALL_TX_OFFLOADS (NETIF_F_ALL_CSUM | NETIF_F_SG | \
1101 NETIF_F_FRAGLIST | NETIF_F_ALL_TSO | \ 1104 NETIF_F_FRAGLIST | NETIF_F_ALL_TSO | \
1102 NETIF_F_HIGHDMA | \ 1105 NETIF_F_HIGHDMA | \
1103 NETIF_F_SCTP_CSUM | NETIF_F_FCOE_CRC) 1106 NETIF_F_SCTP_CSUM | \
1107 NETIF_F_ALL_FCOE)
1104 1108
1105 /* 1109 /*
1106 * If one device supports one of these features, then enable them 1110 * If one device supports one of these features, then enable them
@@ -2561,6 +2565,7 @@ u32 netdev_increment_features(u32 all, u32 one, u32 mask);
2561u32 netdev_fix_features(struct net_device *dev, u32 features); 2565u32 netdev_fix_features(struct net_device *dev, u32 features);
2562int __netdev_update_features(struct net_device *dev); 2566int __netdev_update_features(struct net_device *dev);
2563void netdev_update_features(struct net_device *dev); 2567void netdev_update_features(struct net_device *dev);
2568void netdev_change_features(struct net_device *dev);
2564 2569
2565void netif_stacked_transfer_operstate(const struct net_device *rootdev, 2570void netif_stacked_transfer_operstate(const struct net_device *rootdev,
2566 struct net_device *dev); 2571 struct net_device *dev);