diff options
author | Roi Dayan | 2018-10-23 16:30:04 +0200 |
---|---|---|
committer | Saeed Mahameed | 2018-11-19 23:35:04 +0100 |
commit | 1392f44bba22533b8dfdc6b0e73610b27c3f76cf (patch) | |
tree | 05374a0b5963b42a3df3e197cab428c8b81d6b1c /drivers/net/ethernet/mellanox/mlx5/core/en.h | |
parent | net/mlx5e: Adjust to max number of channles when re-attaching (diff) | |
download | kernel-qcow2-linux-1392f44bba22533b8dfdc6b0e73610b27c3f76cf.tar.gz kernel-qcow2-linux-1392f44bba22533b8dfdc6b0e73610b27c3f76cf.tar.xz kernel-qcow2-linux-1392f44bba22533b8dfdc6b0e73610b27c3f76cf.zip |
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/mellanox/mlx5/core/en.h')
0 files changed, 0 insertions, 0 deletions