net: mscc: ocelot: convert to use ocelot_port_add_txtstamp_skb()
authorYangbo Lu <yangbo.lu@nxp.com>
Wed, 20 Nov 2019 08:23:16 +0000 (16:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Nov 2019 22:39:02 +0000 (14:39 -0800)
commit400928bf928be153cddd76d9ac4e39978cb43fd3
treeed98d27444e6d4dee3db85342a524cc024edd237
parente23a7b3e8daa4be3d91544d8ba210f96d2266de9
net: mscc: ocelot: convert to use ocelot_port_add_txtstamp_skb()

Convert to use ocelot_port_add_txtstamp_skb() for adding skbs which
require TX timestamp into list. Export it so that DSA Felix driver
could reuse it too.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot.c
include/soc/mscc/ocelot.h