From: Lingli Chen <linglix.chen@intel.com>
To: dts@dpdk.org
Cc: zhiminx.huang@intel.com, Lingli Chen <linglix.chen@intel.com>
Subject: [dts][PATCH V1] tests/packet_capture: add support on ice
Date: Fri, 17 Mar 2023 03:20:29 -0400 [thread overview]
Message-ID: <20230317072029.21782-1-linglix.chen@intel.com> (raw)
add support driver ice and support target clang
Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
tests/TestSuite_packet_capture.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/tests/TestSuite_packet_capture.py b/tests/TestSuite_packet_capture.py
index 9244a6ac..6b0ee77b 100644
--- a/tests/TestSuite_packet_capture.py
+++ b/tests/TestSuite_packet_capture.py
@@ -232,7 +232,7 @@ class TestPacketCapture(TestCase):
self.rxtx_iface = ifaces[0]
def verify_supported_nic(self):
- supported_drivers = ["i40e", "ixgbe"]
+ supported_drivers = ["i40e", "ixgbe", "ice"]
result = all(
[
self.dut.ports_info[index]["port"].default_driver in supported_drivers
@@ -803,8 +803,9 @@ class TestPacketCapture(TestCase):
Run at the start of each test suite.
"""
self.verify(
- self.target == "x86_64-native-linuxapp-gcc",
- "only support x86_64-native-linuxapp-gcc",
+ self.target
+ in ["x86_64-native-linuxapp-gcc", "x86_64-native-linuxapp-clang"],
+ "only support x86_64-native-linuxapp-gcc and x86_64-native-linuxapp-clang",
)
self.dut_ports = self.dut.get_ports()
self.verify(len(self.dut_ports) == 2, "Insufficient ports for testing")
--
2.17.1
next reply other threads:[~2023-03-17 8:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-17 7:20 Lingli Chen [this message]
2023-03-28 0:55 ` lijuan.tu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230317072029.21782-1-linglix.chen@intel.com \
--to=linglix.chen@intel.com \
--cc=dts@dpdk.org \
--cc=zhiminx.huang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).