netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] Dissect PTP L2 packet header
@ 2021-01-07 12:38 Eran Ben Elisha
  2021-01-07 12:38 ` [PATCH net-next 1/2] net: vlan: Add parse protocol header ops Eran Ben Elisha
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eran Ben Elisha @ 2021-01-07 12:38 UTC (permalink / raw)
  To: netdev, David S. Miller, Jakub Kicinski; +Cc: Tariq Toukan, Eran Ben Elisha

Hi Jakub, Dave,

This series adds support for dissecting PTP L2 packet
header (EtherType 0x88F7).

For packet header dissecting, skb->protocol is needed. Add protocol
parsing operation to vlan ops, to guarantee skb->protocol is set,
as EtherType 0x88F7 occasionally follows a vlan header.

Eran Ben Elisha (2):
  net: vlan: Add parse protocol header ops
  net: flow_dissector: Parse PTP L2 packet header

 net/8021q/vlan_dev.c      |  9 +++++++++
 net/core/flow_dissector.c | 16 ++++++++++++++++
 2 files changed, 25 insertions(+)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-07 19:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-07 12:38 [PATCH net-next 0/2] Dissect PTP L2 packet header Eran Ben Elisha
2021-01-07 12:38 ` [PATCH net-next 1/2] net: vlan: Add parse protocol header ops Eran Ben Elisha
2021-01-07 12:39 ` [PATCH net-next 2/2] net: flow_dissector: Parse PTP L2 packet header Eran Ben Elisha
2021-01-07 19:33 ` [PATCH net-next 0/2] Dissect " Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).