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)
commit64a965dedc8c31058e807fe960e6b893ebd6ad4a
tree790f3aa1de6da8240ca39f625fdba6c1bb77f8c6
parentd21c784c785c63a0b731e7516a9eb94cd68a646b
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