Re: [PATCH bpf-next v2 2/8] libbpf: Add a helper for retrieving a prog via index
From: Jesper Dangaard Brouer <hidden>
Date: 2019-01-24 12:09:58
From: Jesper Dangaard Brouer <hidden>
Date: 2019-01-24 12:09:58
On Thu, 24 Jan 2019 12:56:36 +0100 Daniel Borkmann [off-list ref] wrote:
quoted
Please feel free to deprecate or remove the xdp_redirect_cpu --prognum option. I would prefer if this was indeed converted to selecting the program based on the name in the _kern.c file, instead of a number.Given this is BPF sample code, there is no need to deprecate, lets just remove --prognum option and add a new one for selection by name.
I agree, just remove --prognum option. -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer