--- zzzz-none-000/linux-4.1.38/include/linux/netdev_features.h 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/include/linux/netdev_features.h 2020-11-25 10:06:48.000000000 +0000 @@ -68,6 +68,10 @@ NETIF_F_BUSY_POLL_BIT, /* Busy poll */ NETIF_F_HW_SWITCH_OFFLOAD_BIT, /* HW switch offload */ +#if defined(CONFIG_BCM_KF_BLOG) + NETIF_F_EXTSTATS_BIT, /* Support extended statistics */ +#endif + /* * Add your fresh new feature above and remember to update * netdev_features_strings[] in net/core/ethtool.c and maybe @@ -127,6 +131,10 @@ #define NETIF_F_BUSY_POLL __NETIF_F(BUSY_POLL) #define NETIF_F_HW_SWITCH_OFFLOAD __NETIF_F(HW_SWITCH_OFFLOAD) +#if defined(CONFIG_BCM_KF_EXTSTATS) +#define NETIF_F_EXTSTATS __NETIF_F(EXTSTATS) +#endif + /* Features valid for ethtool to change */ /* = all defined minus driver/device-class-related */ #define NETIF_F_NEVER_CHANGE (NETIF_F_VLAN_CHALLENGED | \