]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit461864c7bf2b274e00691ffdc01c8072343d9936
tree6e20c54d3d39b19ec6aef74140559f4c44e18064
parent7e81d435bc565b70277a164905a8fa300d93af60
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