Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix(dpdk): CX7 support
[csit.git]
/
resources
/
libraries
/
python
/
DPDK
/
TestpmdTest.py
diff --git
a/resources/libraries/python/DPDK/TestpmdTest.py
b/resources/libraries/python/DPDK/TestpmdTest.py
index
091110f
..
f2e1efa
100644
(file)
--- a/
resources/libraries/python/DPDK/TestpmdTest.py
+++ b/
resources/libraries/python/DPDK/TestpmdTest.py
@@
-1,4
+1,4
@@
-# Copyright (c) 202
2
Cisco and/or its affiliates.
+# Copyright (c) 202
3
Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
@@
-27,7
+27,7
@@
class TestpmdTest:
"""
This class start testpmd on topology nodes and check if properly started.
"""
"""
This class start testpmd on topology nodes and check if properly started.
"""
-
+
@staticmethod
def start_testpmd_on_all_duts(
nodes, topology_info, phy_cores, rx_queues=None, jumbo_frames=False,
@staticmethod
def start_testpmd_on_all_duts(
nodes, topology_info, phy_cores, rx_queues=None, jumbo_frames=False,
@@
-88,6
+88,10
@@
class TestpmdTest:
if u"DUT" in node:
for i in range(3):
try:
if u"DUT" in node:
for i in range(3):
try:
+ nic_model = nodes[node]["interfaces"][if1]["model"]
+ if "Mellanox-CX7VEAT" in nic_model:
+ # Does not support lsc interrupt.
+ break
TestpmdTest.check_testpmd(nodes[node])
break
except RuntimeError:
TestpmdTest.check_testpmd(nodes[node])
break
except RuntimeError: