Skip to content

Commit

Permalink
Removing ip-proto hash test for Marvell(Innovium) chip type (#6730)
Browse files Browse the repository at this point in the history
What is the motivation for this PR?
IP-Proto hashing not supported for innovium chip and excluding it from test

How did you do it?
Removing ip-proto hash test for Marvell(Innovium) chip type.
  • Loading branch information
kbabujp committed Nov 6, 2022
1 parent f7319d4 commit f5cca01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/fib/test_fib.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ def hash_keys(duthost):
hash_keys.remove('ip-proto')
if 'ingress-port' in hash_keys:
hash_keys.remove('ingress-port')
if duthost.facts['asic_type'] in ["innovium"]:
if 'ip-proto' in hash_keys:
hash_keys.remove('ip-proto')
# remove the ingress port from multi asic platform
# In multi asic platform each asic has different hash seed,
# the same packet coming in different asic
Expand Down

0 comments on commit f5cca01

Please sign in to comment.