summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorCamelia Groza <camelia.groza@nxp.com>2017-09-11 09:20:41 (GMT)
committerXie Xiaobo <xiaobo.xie@nxp.com>2017-09-25 07:25:49 (GMT)
commit3d33284eb087deb7f62639a2d2c03b9d0a3eeb34 (patch)
tree004433eefe9d243c485dd81fabefe215dbd9fdf3 /include/linux
parent4f4f8a909a6610abf0844feab011fcedd3a60014 (diff)
downloadlinux-3d33284eb087deb7f62639a2d2c03b9d0a3eeb34.tar.xz
sdk_dpaa: update the xmit timestamp to avoid watchdog timeouts
[core-linux part] Update txq0's trans_start in order to prevent the netdev watchdog from triggering too quickly. Since we set the LLTX flag, the stack won't update the jiffies for other tx queues. Prevent the watchdog from checking the other tx queues by adding the NETIF_HW_ACCEL_MQ flag. Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/netdev_features.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netdev_features.h b/include/linux/netdev_features.h
index 9c6c8ef..90b4107 100644
--- a/include/linux/netdev_features.h
+++ b/include/linux/netdev_features.h
@@ -74,6 +74,7 @@ enum {
NETIF_F_BUSY_POLL_BIT, /* Busy poll */
NETIF_F_HW_TC_BIT, /* Offload TC infrastructure */
+ NETIF_F_HW_ACCEL_MQ_BIT, /* Hardware-accelerated multiqueue */
/*
* Add your fresh new feature above and remember to update
@@ -136,6 +137,7 @@ enum {
#define NETIF_F_HW_L2FW_DOFFLOAD __NETIF_F(HW_L2FW_DOFFLOAD)
#define NETIF_F_BUSY_POLL __NETIF_F(BUSY_POLL)
#define NETIF_F_HW_TC __NETIF_F(HW_TC)
+#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)