diff options
author | Vladimir Oltean <olteanv@gmail.com> | 2019-06-08 15:04:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-08 15:20:40 -0700 |
commit | d3f9b90bf19fad05889e4bead7dc1b336da56118 (patch) | |
tree | 9ad11a7f4750bda5a02b1332a825d07b716203cc /drivers/net/dsa/sja1105/sja1105_main.c | |
parent | net: dsa: sja1105: Add logic for TX timestamping (diff) | |
download | linux-dev-d3f9b90bf19fad05889e4bead7dc1b336da56118.tar.xz linux-dev-d3f9b90bf19fad05889e4bead7dc1b336da56118.zip |
net: dsa: sja1105: Build a minimal understanding of meta frames
Meta frames are sent on the CPU port by the switch if RX timestamping is
enabled. They contain a partial timestamp of the previous frame.
They are Ethernet frames with the Ethernet header constructed out of:
- SJA1105_META_DMAC
- SJA1105_META_SMAC
- ETH_P_SJA1105_META
The Ethernet payload will be decoded in a follow-up patch.
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/sja1105/sja1105_main.c')
0 files changed, 0 insertions, 0 deletions