[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150324154409.GD2050@nanopsycho.orion>
Date: Tue, 24 Mar 2015 16:44:09 +0100
From: Jiri Pirko <jpirko@...hat.com>
To: Michal Sekletar <msekleta@...hat.com>
Cc: netdev@...r.kernel.org, Daniel Borkmann <daniel@...earbox.net>,
Alexei Starovoitov <ast@...mgrid.com>
Subject: Re: [PATCH net-next v3] filter: introduce SKF_AD_VLAN_TPID BPF
extension
Tue, Mar 24, 2015 at 02:48:41PM CET, msekleta@...hat.com 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>
Reviewed-by: Jiri Pirko <jiri@...nulli.us>
--
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