diff options
Diffstat (limited to 'target/linux/layerscape/patches-4.4/7020-net-add-custom-NETIF-flags.patch')
-rw-r--r-- | target/linux/layerscape/patches-4.4/7020-net-add-custom-NETIF-flags.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/layerscape/patches-4.4/7020-net-add-custom-NETIF-flags.patch b/target/linux/layerscape/patches-4.4/7020-net-add-custom-NETIF-flags.patch index c89a58c37e..5e54a66614 100644 --- a/target/linux/layerscape/patches-4.4/7020-net-add-custom-NETIF-flags.patch +++ b/target/linux/layerscape/patches-4.4/7020-net-add-custom-NETIF-flags.patch @@ -18,7 +18,7 @@ Integrated-by: Zhao Qiang <qiang.zhao@nxp.com> --- a/include/linux/netdev_features.h +++ b/include/linux/netdev_features.h -@@ -66,6 +66,9 @@ enum { +@@ -68,6 +68,9 @@ enum { NETIF_F_HW_VLAN_STAG_FILTER_BIT,/* Receive filtering on VLAN STAGs */ NETIF_F_HW_L2FW_DOFFLOAD_BIT, /* Allow L2 Forwarding in Hardware */ NETIF_F_BUSY_POLL_BIT, /* Busy poll */ @@ -28,7 +28,7 @@ Integrated-by: Zhao Qiang <qiang.zhao@nxp.com> /* * Add your fresh new feature above and remember to update -@@ -124,6 +127,9 @@ enum { +@@ -126,6 +129,9 @@ enum { #define NETIF_F_HW_VLAN_STAG_TX __NETIF_F(HW_VLAN_STAG_TX) #define NETIF_F_HW_L2FW_DOFFLOAD __NETIF_F(HW_L2FW_DOFFLOAD) #define NETIF_F_BUSY_POLL __NETIF_F(BUSY_POLL) @@ -36,5 +36,5 @@ Integrated-by: Zhao Qiang <qiang.zhao@nxp.com> +#define NETIF_F_HW_QDISC __NETIF_F(HW_QDISC) +#define NETIF_F_HW_ACCEL_MQ __NETIF_F(HW_ACCEL_MQ) - #define for_each_netdev_feature(mask_addr, bit) \ - for_each_set_bit(bit, (unsigned long *)mask_addr, NETDEV_FEATURE_COUNT) + /* Finds the next feature with the highest number of the range of start till 0. + */ |