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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2019 09:08:57 +0000 (10:08 +0100)
commit0aafea5d4b22fe9403e89d82e02597e4493d5d0f
tree46e62b5549349208324d7d88ba84fe218a88132a
parent8b92162f4e8b4d4d1a3ad43659e4bd09b3d0a7fb
dpaa_eth: NETIF_F_LLTX requires to do our own update of trans_start

[ Upstream commit c6ddfb9a963f0cac0f7365acfc87f3f3b33a3b69 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c