[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d1a6ce5e-bb63-80cf-2e8f-24fbb0b36ec3@isovalent.com>
Date: Thu, 23 Apr 2020 11:43:07 +0100
From: Quentin Monnet <quentin@...valent.com>
To: David Ahern <dsahern@...nel.org>, netdev@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org,
prashantbhole.linux@...il.com, jasowang@...hat.com,
brouer@...hat.com, toke@...hat.com, toshiaki.makita1@...il.com,
daniel@...earbox.net, john.fastabend@...il.com, ast@...nel.org,
kafai@...com, songliubraving@...com, yhs@...com, andriin@...com,
dsahern@...il.com, David Ahern <dahern@...italocean.com>
Subject: Re: [PATCH bpf-next 13/16] bpftool: Add support for XDP egress
2020-04-20 14:00 UTC-0600 ~ David Ahern <dsahern@...nel.org>
> From: David Ahern <dahern@...italocean.com>
>
> Add NET_ATTACH_TYPE_XDP_EGRESS and update attach_type_strings to
> allow a user to specify 'xdp_egress' as the attach or detach point.
>
> libbpf handles egress config via bpf_set_link_xdp_fd_opts, so
> update do_attach_detach_xdp to use it. Specifically, the new API
> requires old_fd to be set based on any currently loaded program,
> so use bpf_get_link_xdp_id and bpf_get_link_xdp_egress_id to get
> an fd to any existing program.
>
> Update 'net show' command to dump egress programs.
>
> Signed-off-by: David Ahern <dahern@...italocean.com>
> ---
Thanks for the bpftool update. Can you please also update the man pages
(bpftool-prog, bpftool-net) and bash completion?
Quentin
Powered by blists - more mailing lists