]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5e: Use the proper UAPI values when offloading TC vlan actions
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 21 Mar 2017 13:59:15 +0000 (15:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 19:11:13 +0000 (12:11 -0700)
commit09c91ddf2cd33489c2c14edfef43ae38d412888e
tree28f202d50295cece5d454133c20db22405ee7e42
parent375f51e2b5b7b9a42b3139aea519cbb1bfc5d6ef
net/mlx5e: Use the proper UAPI values when offloading TC vlan actions

Currently we use the non UAPI values and we miss erring on
the modify action which is not supported, fix that.

Fixes: 8b32580df1cb ('net/mlx5e: Add TC vlan action for SRIOV offloads')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reported-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c