summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
diff options
context:
space:
mode:
authorMaor Dickman <maord@nvidia.com>2022-05-02 10:51:30 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2022-05-31 13:40:53 -0700
commit66cb64e292d21588bdb831f08a7ec0ff04d6380d (patch)
tree15d9efc8797e1424d815ad7e288c4f22b7a26a23 /drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
parent80b2bd737d0e833e6a2b77e482e5a714a79c86a4 (diff)
net/mlx5e: TC NIC mode, fix tc chains miss table
The cited commit changed promisc table to be created on demand with the highest priority in the NIC table replacing the vlan table, this caused tc NIC tables miss flow to skip the prmoisc table because it use vlan table as miss table. OVS offload in NIC mode use promisc by default so any unicast packet which will be handled by tc NIC tables miss flow will skip the promisc rule and will be dropped. Fix this by adding new empty table in new tc level with low priority and point the nic tc chain miss to it, the new table is managed so it will point to vlan table if promisc is disabled and to promisc table if enabled. Fixes: 1c46d7409f30 ("net/mlx5e: Optimize promiscuous mode") Signed-off-by: Maor Dickman <maord@nvidia.com> Reviewed-by: Paul Blakey <paulb@nvidia.com> Reviewed-by: Ariel Levkovich <lariel@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c')
0 files changed, 0 insertions, 0 deletions