netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: john.fastabend@gmail.com
Cc: dsahern@gmail.com, alexei.starovoitov@gmail.com,
	mislam4@kent.edu, netdev@vger.kernel.org,
	stephen@networkplumber.org, agaceph@gmail.com, xemul@openvz.org,
	edumazet@google.com, brouer@redhat.com
Subject: Re: [PATCH v15 ] net/veth/XDP: Line-rate packet forwarding in kernel
Date: Tue, 03 Apr 2018 12:45:32 -0400 (EDT)	[thread overview]
Message-ID: <20180403.124532.1022029769048332125.davem@davemloft.net> (raw)
In-Reply-To: <4f0c0f20-ce25-4996-4f28-14a73c988446@gmail.com>

From: John Fastabend <john.fastabend@gmail.com>
Date: Tue, 3 Apr 2018 09:41:08 -0700

> On 04/03/2018 08:07 AM, David Ahern wrote:
>> 4. What about other stacked devices - bonds and bridges - will those
>> just work with the bpf helper? VRF is already handled of course. ;-)
> 
> So if we simply handle this like other stacked devices and call the
> lower devs xdp_xmit routine we should get reasonable behavior. For
> bonds and bridges I guess some generalization is needed though because
> everything at the moment is skb centric. I don't think its necessary
> in the first series though. It can be added later.

I wonder if we need some feature bit gating this passthrough, just
like the various ->vlan_features and ->hw_enc_features.

  reply	other threads:[~2018-04-03 16:45 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-02  0:47 [PATCH v15 ] net/veth/XDP: Line-rate packet forwarding in kernel Md. Islam
2018-04-02 16:51 ` Stephen Hemminger
2018-04-02 18:03 ` John Fastabend
2018-04-02 18:09   ` David Ahern
2018-04-02 18:16     ` Alexei Starovoitov
2018-04-03 15:07       ` David Ahern
2018-04-03 16:41         ` John Fastabend
2018-04-03 16:45           ` David Miller [this message]
2018-04-03 17:00           ` David Ahern
2018-04-03 17:06             ` Alexei Starovoitov
2018-04-03 17:14               ` David Ahern
2018-04-03 17:37                 ` Alexei Starovoitov
2018-04-04  1:09                   ` David Ahern
2018-04-03 18:21             ` Jesper Dangaard Brouer
2018-04-04  1:16 ` David Ahern
2018-04-04  3:15   ` Md. Islam
2018-04-06  2:55     ` David Ahern
2018-04-10  4:27       ` Md. Islam
2018-04-04  6:16 ` Jesper Dangaard Brouer
2018-04-04 21:09   ` Md. Islam

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=20180403.124532.1022029769048332125.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=agaceph@gmail.com \
    --cc=alexei.starovoitov@gmail.com \
    --cc=brouer@redhat.com \
    --cc=dsahern@gmail.com \
    --cc=edumazet@google.com \
    --cc=john.fastabend@gmail.com \
    --cc=mislam4@kent.edu \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    --cc=xemul@openvz.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).