dpaa_eth: NETIF_F_LLTX requires to do our own update of trans_start
authorMadalin Bucur <madalin.bucur@nxp.com>
Thu, 17 Jan 2019 09:42:27 +0000 (11:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jan 2019 06:00:00 +0000 (22:00 -0800)
commitc6ddfb9a963f0cac0f7365acfc87f3f3b33a3b69
tree513d6f217f6e3575d6695ecf5c134f7decdc4eb3
parent28c1382fa28f2e2d9d0d6f25ae879b5af2ecbd03
dpaa_eth: NETIF_F_LLTX requires to do our own update of trans_start

As txq_trans_update() only updates trans_start when the lock is held,
trans_start does not get updated if NETIF_F_LLTX is declared.

Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c