Re: [PATCH bpf-next v3 3/7] samples/bpf: Convert XDP samples to libbpf usage

2019-01-25 Thread Maciej FijaƂkowski
On Fri, 25 Jan 2019 09:30:27 +0100 Jesper Dangaard Brouer wrote: > On Thu, 24 Jan 2019 22:47:43 +0100 > Maciej Fijalkowski wrote: > > > From: Maciej Fijalkowski > > > > Some of XDP samples that are attaching the bpf program to the interface > > via libbpf's bpf_set_link_xdp_fd are still using

Re: [PATCH bpf-next v3 3/7] samples/bpf: Convert XDP samples to libbpf usage

2019-01-25 Thread Jesper Dangaard Brouer
On Thu, 24 Jan 2019 22:47:43 +0100 Maciej Fijalkowski wrote: > From: Maciej Fijalkowski > > Some of XDP samples that are attaching the bpf program to the interface > via libbpf's bpf_set_link_xdp_fd are still using the bpf_load.c for > loading and manipulating the ebpf program and maps. Convert

[PATCH bpf-next v3 3/7] samples/bpf: Convert XDP samples to libbpf usage

2019-01-24 Thread Maciej Fijalkowski
From: Maciej Fijalkowski Some of XDP samples that are attaching the bpf program to the interface via libbpf's bpf_set_link_xdp_fd are still using the bpf_load.c for loading and manipulating the ebpf program and maps. Convert them to do this through libbpf usage and remove bpf_load from the pictur