[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55118011.60002@plumgrid.com>
Date: Tue, 24 Mar 2015 08:17:37 -0700
From: Alexei Starovoitov <ast@...mgrid.com>
To: Michal Sekletar <msekleta@...hat.com>, netdev@...r.kernel.org
CC: Daniel Borkmann <daniel@...earbox.net>,
Jiri Pirko <jpirko@...hat.com>
Subject: Re: [PATCH net-next v3] filter: introduce SKF_AD_VLAN_TPID BPF extension
On 3/24/15 6:48 AM, Michal Sekletar wrote:
> If vlan offloading takes place then vlan header is removed from frame
> and its contents, both vlan_tci and vlan_proto, is available to user
> space via TPACKET interface. However, only vlan_tci can be used in BPF
> filters.
>
> This commit introduces a new BPF extension. It makes possible to load
> the value of vlan_proto (vlan TPID) to register A. Support for classic
> BPF and eBPF is being added, analogous to skb->protocol.
>
> Cc: Daniel Borkmann <daniel@...earbox.net>
> Cc: Alexei Starovoitov <ast@...mgrid.com>
> Cc: Jiri Pirko <jpirko@...hat.com>
>
> Signed-off-by: Michal Sekletar <msekleta@...hat.com>
Acked-by: Alexei Starovoitov <ast@...mgrid.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists