]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cls_flower: fix error values for commands not supported by drivers
authorJiri Pirko <jiri@mellanox.com>
Sun, 24 Jun 2018 08:38:39 +0000 (10:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jun 2018 07:14:03 +0000 (16:14 +0900)
commit246ab6f01efb808610535be34aab2de9325da6fa
tree16d10b317f153a2bd6215fd06ad2aac4bcb34f54
parenteba7927b55938b8db7ba5d76086f0ab0a2e2274d
cls_flower: fix error values for commands not supported by drivers

-EOPNOTSUPP is the error value that should be reported if a flower
command is not supported by a driver. Fix it in couple of Intel drivers.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40evf/i40evf_main.c
drivers/net/ethernet/intel/igb/igb_main.c