mbox series

[net-next,0/2] Dissect PTP L2 packet header

Message ID 1610023140-20256-1-git-send-email-eranbe@nvidia.com (mailing list archive)
Headers show
Series Dissect PTP L2 packet header | expand

Message

Eran Ben Elisha Jan. 7, 2021, 12:38 p.m. UTC
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(+)

Comments

Jakub Kicinski Jan. 7, 2021, 7:33 p.m. UTC | #1
On Thu, 7 Jan 2021 14:38:58 +0200 Eran Ben Elisha wrote:
> 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.

Please make an effort to add people who can give you reviews on CC 
and repost.