]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa2-eth: invoke dpaa2_eth_enable_tx_tstamp() once in code
authorYangbo Lu <yangbo.lu@nxp.com>
Fri, 18 Sep 2020 09:08:00 +0000 (17:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Sep 2020 21:32:48 +0000 (14:32 -0700)
commitf3346cddbbd94af6a487f48bbe717e3642279621
tree790f3aa1de6da8240ca39f625fdba6c1bb77f8c6
parentcf7c3fca31e2f333f68b8565a5f13459642cb15b
dpaa2-eth: invoke dpaa2_eth_enable_tx_tstamp() once in code

Invoke dpaa2_eth_enable_tx_tstamp() once in code after building FD,
rather than calling it in dpaa2_eth_build_single_fd(),
dpaa2_eth_build_sg_fd_single_buf(), and dpaa2_eth_build_sg_fd().

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c