netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michal Kubecek <mkubecek@suse.cz>
To: Daniel Borkmann <daniel@iogearbox.net>
Cc: Alexei Starovoitov <ast@plumgrid.com>,
	Michal Sekletar <msekleta@redhat.com>,
	netdev@vger.kernel.org, Jiri Pirko <jpirko@redhat.com>,
	guy@alum.mit.edu, atzm@stratosphere.co.jp
Subject: Re: [PATCH] filter: introduce SKF_AD_VLAN_PROTO BPF extension
Date: Fri, 6 Mar 2015 15:02:34 +0100	[thread overview]
Message-ID: <20150306140233.GD25656@unicorn.suse.cz> (raw)
In-Reply-To: <54F8B680.4050307@iogearbox.net>

On Thu, Mar 05, 2015 at 09:03:12PM +0100, Daniel Borkmann wrote:
> On 03/05/2015 05:52 PM, Alexei Starovoitov wrote:
> 
> >At this point I think it's up to Dave to decide whether we need
> >this patch (after fixing the issue pointed by Denis) or not.
> >imo there is a benefit of giving programs more visibility into
> >skb metadata.
> 
> I'm not really a big fan of it, but given we added commit a0cdfcf39362
> ("packet: deliver VLAN TPID to userspace") to packet sockets ...

IMHO the motivation here was not to allow filtering by TPID but because
without it, libpcap and its users had no chance to get this information
for packets captured on devices with Rx VLAN offloading so that e.g.
"tcpdump -e" was showing (guessed) TPID of 0x8100 for all of them, no
matter what the actual TPID was.

                                                         Michal Kubecek

  parent reply	other threads:[~2015-03-06 14:02 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-04 20:41 [PATCH] filter: introduce SKF_AD_VLAN_PROTO BPF extension Michal Sekletar
2015-03-04 21:03 ` Alexei Starovoitov
2015-03-04 21:14   ` Guy Harris
2015-03-04 23:47     ` Alexei Starovoitov
2015-03-05  6:50       ` Jiri Pirko
2015-03-05  7:23         ` Alexei Starovoitov
2015-03-05  7:24         ` Michal Kubecek
2015-03-05  7:49           ` Alexei Starovoitov
2015-03-05  8:35           ` Guy Harris
2015-03-05  9:23             ` Michal Kubecek
2015-03-05  2:28   ` Toshiaki Makita
2015-03-05  2:41     ` Alexei Starovoitov
2015-03-05 10:37   ` Michal Sekletar
2015-03-05 16:52     ` Alexei Starovoitov
2015-03-05 20:03       ` Daniel Borkmann
2015-03-05 20:40         ` Alexei Starovoitov
2015-03-06  8:09           ` Michal Sekletar
2015-03-06  9:04         ` Michal Sekletar
2015-03-06 17:23           ` Daniel Borkmann
2015-03-06 14:02         ` Michal Kubecek [this message]
2015-03-06 17:54           ` Daniel Borkmann
2015-03-05  8:52 ` Jiri Pirko
2015-03-05  8:57 ` Denis Kirjanov
2015-03-05 14:33   ` Michal Sekletar
2015-03-05 18:12   ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150306140233.GD25656@unicorn.suse.cz \
    --to=mkubecek@suse.cz \
    --cc=ast@plumgrid.com \
    --cc=atzm@stratosphere.co.jp \
    --cc=daniel@iogearbox.net \
    --cc=guy@alum.mit.edu \
    --cc=jpirko@redhat.com \
    --cc=msekleta@redhat.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).