diff options
author | David S. Miller <davem@davemloft.net> | 2017-08-23 20:44:32 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-23 20:44:32 -0700 |
commit | 110d8465a66aea440ca0012f8b8ac59778dea189 (patch) | |
tree | 35df0e7889704c58ed6affab5fbf160c5d740695 /drivers/net/ethernet/mellanox/mlxsw/spectrum.c | |
parent | Merge branch 'mvpp2-software-TSO-support' (diff) | |
parent | mlxsw: spectrum_flower: Offload goto_chain termination action (diff) | |
download | linux-dev-110d8465a66aea440ca0012f8b8ac59778dea189.tar.xz linux-dev-110d8465a66aea440ca0012f8b8ac59778dea189.zip |
Merge branch 'mlxsw-multichain-tc-offload'
Jiri Pirko says:
====================
mlxsw: spectrum: Introduce multichain TC offload
This patchset introduces offloading of rules added to chain with
non-zero index, which was previously forbidden. Also, goto_chain
termination action is offloaded allowing to jump to processing
of desired chain.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum.c index 90a95cdc1626..6e641db16702 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum.c +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum.c @@ -1733,9 +1733,6 @@ mlxsw_sp_setup_tc_cls_flower(struct mlxsw_sp_port *mlxsw_sp_port, else return -EOPNOTSUPP; - if (f->common.chain_index) - return -EOPNOTSUPP; - switch (f->command) { case TC_CLSFLOWER_REPLACE: return mlxsw_sp_flower_replace(mlxsw_sp_port, ingress, f); |