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

2019-01-30 Thread Maciej Fijalkowski
On Mon, 28 Jan 2019 13:07:49 -0800 John Fastabend wrote: > On 1/28/19 11:16 AM, Maciej Fijalkowski wrote: > > From: 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 curr

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

2019-01-28 Thread John Fastabend
On 1/28/19 11:16 AM, Maciej Fijalkowski wrote: > From: 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

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

2019-01-28 Thread Maciej Fijalkowski
From: 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 lo