netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Jakub Kicinski <jakub.kicinski@netronome.com>
Cc: netdev@vger.kernel.org, daniel@iogearbox.net, oss-drivers@netronome.com
Subject: Re: [PATCH iproute2 0/3] ip-link: XDP flags and offload mode
Date: Tue, 27 Jun 2017 16:15:51 -0700	[thread overview]
Message-ID: <20170627161551.66f54084@xeon-e3> (raw)
In-Reply-To: <20170627002353.12292-1-jakub.kicinski@netronome.com>

On Mon, 26 Jun 2017 17:23:50 -0700
Jakub Kicinski <jakub.kicinski@netronome.com> wrote:

> Hi!
> 
> This series adds support for specifying DRV_MODE and new HW_MODE
> flags when binding an XDP program to the driver.  It also teaches
> ip link about "xdpoffload" attachment mode.
> 
> Examples:
> # ip link set dev p4p1 xdpoffload obj prog.o sec '.text'
> # ip link show dev p4p1
> 60: p4p1: <BROADCAST,MULTICAST> mtu 1500 xdpoffload/id:2 qdisc noop state DOWN mode DEFAULT group default qlen 1000
>     link/ether 00:15:4d:12:27:6b brd ff:ff:ff:ff:ff:ff
> # ip link set dev p4p1 xdpoffload off
> 
> Note: this is based on top of Martin's "bpf: Add support for 
> IFLA_XDP_PROG_ID".
> 
> Jakub Kicinski (3):
>   bpf: print xdp offloaded mode
>   bpf: add xdpdrv for requesting XDP driver mode
>   bpf: allow requesting XDP HW offload
> 
>  include/linux/if_link.h |  2 ++
>  ip/iplink.c             |  7 ++++++-
>  ip/iplink_xdp.c         |  9 ++++++++-
>  ip/xdp.h                |  3 ++-
>  man/man8/ip-link.8.in   | 13 ++++++++++++-
>  5 files changed, 30 insertions(+), 4 deletions(-)
> 

Applied to net-next.
Next time please put net-next in the patch subject line (same as for kernel).

      parent reply	other threads:[~2017-06-27 23:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-27  0:23 [PATCH iproute2 0/3] ip-link: XDP flags and offload mode Jakub Kicinski
2017-06-27  0:23 ` [PATCH iproute2 1/3] bpf: print xdp offloaded mode Jakub Kicinski
2017-06-27  0:29   ` Daniel Borkmann
2017-06-27  0:23 ` [PATCH iproute2 2/3] bpf: add xdpdrv for requesting XDP driver mode Jakub Kicinski
2017-06-27  0:30   ` Daniel Borkmann
2017-06-27  0:23 ` [PATCH iproute2 3/3] bpf: allow requesting XDP HW offload Jakub Kicinski
2017-06-27  0:31   ` Daniel Borkmann
2017-06-27 23:15 ` Stephen Hemminger [this message]

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=20170627161551.66f54084@xeon-e3 \
    --to=stephen@networkplumber.org \
    --cc=daniel@iogearbox.net \
    --cc=jakub.kicinski@netronome.com \
    --cc=netdev@vger.kernel.org \
    --cc=oss-drivers@netronome.com \
    /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).