aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorOr Gerlitz <[email protected]>2018-10-25 15:41:58 +0000
committerSaeed Mahameed <[email protected]>2018-11-19 14:35:04 -0800
commitd3a80bb5a3eac311ddf28387402593977574460d (patch)
treec9ca8060b2801b655af6ab05fbcfc73d2cc58b55 /tools/perf/scripts/python/export-to-postgresql.py
parentacf3766b36d8e59ecbc307894c6d05703ee48014 (diff)
net/mlx5e: Don't match on vlan non-existence if ethertype is wildcarded
For the "all" ethertype we should not care whether the packet has vlans. Besides being wrong, the way we did it caused FW error for rules such as: tc filter add dev eth0 protocol all parent ffff: \ prio 1 flower skip_sw action drop b/c the matching meta-data (outer headers bit in struct mlx5_flow_spec) wasn't set. Fix that by matching on vlan non-existence only if we were also told to match on the ethertype. Fixes: cee26487620b ('net/mlx5e: Set vlan masks for all offloaded TC rules') Signed-off-by: Or Gerlitz <[email protected]> Reported-by: Slava Ovsiienko <[email protected]> Reviewed-by: Jianbo Liu <[email protected]> Reviewed-by: Roi Dayan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions