Tue, Jan 16, 2018 at 03:08:43AM CET, jakub.kicin...@netronome.com wrote: >From: Quentin Monnet <quentin.mon...@netronome.com> > >Use the recently added extack support for eBPF offload in the driver. > >Signed-off-by: Quentin Monnet <quentin.mon...@netronome.com> >Reviewed-by: Jakub Kicinski <jakub.kicin...@netronome.com> >---
[...] >@@ -303,7 +305,8 @@ static int nfp_net_bpf_load(struct nfp_net *nn, struct >bpf_prog *prog) > /* Load up the JITed code */ > err = nfp_net_reconfig(nn, NFP_NET_CFG_UPDATE_BPF); > if (err) >- nn_err(nn, "FW command error while loading BPF: %d\n", err); >+ NL_SET_ERR_MSG_MOD(extack, >+ "FW command error while loading BPF"); One line please. Same for all others. Strings may overflow 80 cols.