Skip to content

Commit 88f4e19

Browse files
rraghav-ciscowangxin
authored andcommitted
Adding cisco-8000 to the list of platforms for forward action. (#6068)
For cisco-8000 platforms, set forward action on Rx in presence of pfc-wd Change is made after: #5665
1 parent 76556e8 commit 88f4e19

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/pfcwd/test_pfcwd_function.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ def run_test(self, dut, port, action, mmu_action=None):
692692

693693
def set_traffic_action(self, duthost, action):
694694
action = action if action != "dontcare" else "drop"
695-
if duthost.facts["asic_type"] == "mellanox":
695+
if duthost.facts["asic_type"] in ["mellanox", "cisco-8000"]:
696696
self.rx_action = "forward"
697697
else:
698698
self.rx_action = action

tests/pfcwd/test_pfcwd_warm_reboot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def verify_wd_func(self, dut, detect=True):
292292
tx_action = "forward"
293293
wd_action = "forward"
294294

295-
if dut.facts['asic_type'] == 'mellanox':
295+
if dut.facts['asic_type'] in ['mellanox', 'cisco-8000']:
296296
rx_action = "forward"
297297

298298
logger.info("--- Verify PFCwd function for pfcwd action {}, Tx traffic {}, Rx traffic {} ---".format(wd_action, tx_action, rx_action))

0 commit comments

Comments
 (0)