linux/net/dsa
Brandon Streiff 90af1059c5 net: dsa: forward timestamping callbacks to switch drivers
Forward the rx/tx timestamp machinery from the dsa infrastructure to the
switch driver.

On the rx side, defer delivery of skbs until we have an rx timestamp.
This mimicks the behavior of skb_defer_rx_timestamp.

On the tx side, identify PTP packets, clone them, and pass them to the
underlying switch driver before we transmit. This mimicks the behavior
of skb_tx_timestamp.

Adjusted txstamp API to keep the allocation and freeing of the clone
in the same central function by Richard Cochran

Signed-off-by: Brandon Streiff <brandon.streiff@ni.com>
Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-02-14 14:33:37 -05:00
..
Kconfig net: dsa: Allow compiling out legacy support 2017-12-07 14:14:54 -05:00
Makefile net: dsa: Allow compiling out legacy support 2017-12-07 14:14:54 -05:00
dsa.c net: dsa: forward timestamping callbacks to switch drivers 2018-02-14 14:33:37 -05:00
dsa2.c net: dsa: Support internal phy on 'cpu' port 2018-01-23 19:22:38 -05:00
dsa_priv.h net: dsa: Support internal phy on 'cpu' port 2018-01-23 19:22:38 -05:00
legacy.c net: dsa: Support internal phy on 'cpu' port 2018-01-23 19:22:38 -05:00
master.c
port.c net: dsa: Support internal phy on 'cpu' port 2018-01-23 19:22:38 -05:00
slave.c net: dsa: forward timestamping callbacks to switch drivers 2018-02-14 14:33:37 -05:00
switch.c
tag_brcm.c net: dsa: Move padding into Broadcom tagger 2018-01-05 11:21:31 -05:00
tag_dsa.c
tag_edsa.c
tag_ksz.c
tag_lan9303.c
tag_mtk.c net: dsa: mediatek: combine MediaTek tag with VLAN tag 2017-12-15 10:31:54 -05:00
tag_qca.c
tag_trailer.c