mlxsw: spectrum: Add support for vlan modify TC action
authorPetr Machata <petrm@mellanox.com>
Thu, 9 Mar 2017 08:25:19 +0000 (09:25 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Mar 2017 02:35:35 +0000 (18:35 -0800)
commita150201a70da3bcbe76c85c255c6ab2d342c3278
tree54b647243656b0a6de134407614a3c1fc473b7b7
parenta30aad50c26cac63026e5dfcc2e055ae63fe6ef7
mlxsw: spectrum: Add support for vlan modify TC action

Add VLAN action offloading. Invoke it from Spectrum flower handler for
"vlan modify" actions.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c
include/net/tc_act/tc_vlan.h