Re: [PATCH bpf-next] bpf_load: add map name to load_maps error message

2018-11-07 Thread Daniel Borkmann
On 11/07/2018 01:26 AM, Song Liu wrote: > On Mon, Oct 29, 2018 at 3:12 PM John Fastabend > wrote: >> >> On 10/29/2018 02:14 PM, Shannon Nelson wrote: >>> To help when debugging bpf/xdp load issues, have the load_map() >>> error message include the number and name of the map that >>> failed. >>> >

Re: [PATCH bpf-next] bpf_load: add map name to load_maps error message

2018-11-06 Thread Song Liu
On Mon, Oct 29, 2018 at 3:12 PM John Fastabend wrote: > > On 10/29/2018 02:14 PM, Shannon Nelson wrote: > > To help when debugging bpf/xdp load issues, have the load_map() > > error message include the number and name of the map that > > failed. > > > > Signed-off-by: Shannon Nelson > > --- > >

Re: [PATCH bpf-next] bpf_load: add map name to load_maps error message

2018-10-29 Thread John Fastabend
On 10/29/2018 02:14 PM, Shannon Nelson wrote: > To help when debugging bpf/xdp load issues, have the load_map() > error message include the number and name of the map that > failed. > > Signed-off-by: Shannon Nelson > --- > samples/bpf/bpf_load.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 de

[PATCH bpf-next] bpf_load: add map name to load_maps error message

2018-10-29 Thread Shannon Nelson
To help when debugging bpf/xdp load issues, have the load_map() error message include the number and name of the map that failed. Signed-off-by: Shannon Nelson --- samples/bpf/bpf_load.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/bpf/bpf_load.c b/samples/bpf/