nfp: change flows in apps that offload ndo_setup_tc
authorJiri Pirko <jiri@mellanox.com>
Mon, 7 Aug 2017 08:15:27 +0000 (10:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 16:42:36 +0000 (09:42 -0700)
commit37cba6b3f86b24d82f27713b3154657ecc95f678
tree6e20c54d3d39b19ec6aef74140559f4c44e18064
parent3fbae382f7dd81c4e43b76169e08cc0d440e760b
nfp: change flows in apps that offload ndo_setup_tc

Change the flows a bit in preparation of follow-up changes in
ndo_setup_tc args. Also, change the error code to align with the rest of
the drivers.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/bpf/main.c
drivers/net/ethernet/netronome/nfp/flower/offload.c