mbox series

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

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

Message

Eran Ben Elisha Jan. 11, 2021, 9:46 a.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.

Changelog:
v2:
- Add more people to CC list.

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

Andrew Lunn Jan. 11, 2021, 3:49 p.m. UTC | #1
On Mon, Jan 11, 2021 at 11:46:50AM +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.
> 
> Changelog:
> v2:
> - Add more people to CC list.

Hi Eran

How about adding the PTP maintainer to the CC: list?

    Andrew
Eran Ben Elisha Jan. 11, 2021, 6:14 p.m. UTC | #2
On 1/11/2021 5:49 PM, Andrew Lunn wrote:
> On Mon, Jan 11, 2021 at 11:46:50AM +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.
>>
>> Changelog:
>> v2:
>> - Add more people to CC list.
> 
> Hi Eran
> 
> How about adding the PTP maintainer to the CC: list?
> 
>      Andrew
> 
No problem, will repost again soon.