diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2021-04-12 17:03:26 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-12 13:34:21 -0700 |
commit | f768e75130159b5444ee691bbdd201bef8e5bb24 (patch) | |
tree | 57a3816984f197ac30a1924c67a500c1b9333f4d /drivers/net/wireguard | |
parent | 8043edee9a344f1f2e641e53d6a03db17b29ba66 (diff) |
enetc: mark TX timestamp type per skb
Mark TX timestamp type per skb on skb->cb[0], instead of
global variable for all skbs. This is a preparation for
one step timestamp support.
For one-step timestamping enablement, there will be both
one-step and two-step PTP messages to transfer. And a skb
queue is needed for one-step PTP messages making sure
start to send current message only after the last one
completed on hardware. (ENETC single-step register has to
be dynamically configured per message.) So, marking TX
timestamp type per skb is required.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Reviewed-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireguard')
0 files changed, 0 insertions, 0 deletions