diff options
author | Petr Machata <petrm@mellanox.com> | 2017-03-09 09:25:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-09 18:35:35 -0800 |
commit | a150201a70da3bcbe76c85c255c6ab2d342c3278 (patch) | |
tree | 54b647243656b0a6de134407614a3c1fc473b7b7 /drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h | |
parent | a30aad50c26cac63026e5dfcc2e055ae63fe6ef7 (diff) | |
download | linux-stable-a150201a70da3bcbe76c85c255c6ab2d342c3278.tar.gz linux-stable-a150201a70da3bcbe76c85c255c6ab2d342c3278.tar.bz2 linux-stable-a150201a70da3bcbe76c85c255c6ab2d342c3278.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h b/drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h index 43f78dcfe394..6e103ac41d99 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h +++ b/drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h @@ -62,5 +62,7 @@ void mlxsw_afa_block_jump(struct mlxsw_afa_block *block, u16 group_id); int mlxsw_afa_block_append_drop(struct mlxsw_afa_block *block); int mlxsw_afa_block_append_fwd(struct mlxsw_afa_block *block, u8 local_port, bool in_port); +int mlxsw_afa_block_append_vlan_modify(struct mlxsw_afa_block *block, + u16 vid, u8 pcp, u8 et); #endif |