Re: [PATCH bpf-next v5 7/8] libbpf: Add a support for getting xdp prog id on ifindex

2019-02-01 Thread Daniel Borkmann
On 02/01/2019 10:47 PM, Jakub Kicinski wrote: > On Fri, 1 Feb 2019 22:43:39 +0100, Daniel Borkmann wrote: >> On 02/01/2019 01:19 AM, Maciej Fijalkowski wrote: >>> Since we have a dedicated netlink attributes for xdp setup on a >>> particular interface, it is now possible to retrieve the program id

Re: [PATCH bpf-next v5 7/8] libbpf: Add a support for getting xdp prog id on ifindex

2019-02-01 Thread Jakub Kicinski
On Fri, 1 Feb 2019 22:43:39 +0100, Daniel Borkmann wrote: > On 02/01/2019 01:19 AM, Maciej Fijalkowski wrote: > > Since we have a dedicated netlink attributes for xdp setup on a > > particular interface, it is now possible to retrieve the program id that > > is currently attached to the interface.

Re: [PATCH bpf-next v5 7/8] libbpf: Add a support for getting xdp prog id on ifindex

2019-02-01 Thread Daniel Borkmann
On 02/01/2019 01:19 AM, Maciej Fijalkowski wrote: > Since we have a dedicated netlink attributes for xdp setup on a > particular interface, it is now possible to retrieve the program id that > is currently attached to the interface. The use case is targeted for > sample xdp programs, which will sto

[PATCH bpf-next v5 7/8] libbpf: Add a support for getting xdp prog id on ifindex

2019-01-31 Thread Maciej Fijalkowski
Since we have a dedicated netlink attributes for xdp setup on a particular interface, it is now possible to retrieve the program id that is currently attached to the interface. The use case is targeted for sample xdp programs, which will store the program id just after loading bpf program onto ifac