diff options
author | Roi Dayan <roid@mellanox.com> | 2018-10-23 17:30:04 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-11-19 14:35:04 -0800 |
commit | 1392f44bba22533b8dfdc6b0e73610b27c3f76cf (patch) | |
tree | 05374a0b5963b42a3df3e197cab428c8b81d6b1c /drivers/net/ethernet/dnet.h | |
parent | a1f240f1801721f76bee734c50df2d9529da86e0 (diff) |
net/mlx5e: Apply the correct check for supporting TC esw rules split
The mirror and not the output count is the one denoting a split.
Fix to condition the offload attempt on the mirror count being > 0
along the firmware to have the related capability.
Fixes: 592d36515969 ("net/mlx5e: Parse mirroring action for offloaded TC eswitch flows")
Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Yossi Kuperman <yossiku@mellanox.com>
Reviewed-by: Chris Mi <chrism@mellanox.com>
Acked-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/dnet.h')
0 files changed, 0 insertions, 0 deletions