test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/vf_kernel: remove the NIC limitation
@ 2021-04-16  8:12 Xia Yan
  0 siblings, 0 replies; only message in thread
From: Xia Yan @ 2021-04-16  8:12 UTC (permalink / raw)
  To: dts; +Cc: Xia Yan

the packet can be received when the mtu value is greater than the length
of the packet to be sent, and it has nothing to do with NIC type, so
remove the judgment condition to adapt niantic.

Signed-off-by: Xia Yan <yanx.xia@intel.com>
 tests/TestSuite_vf_kernel.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tests/TestSuite_vf_kernel.py b/tests/TestSuite_vf_kernel.py
index c1977f7b..a4e1e52a 100755
--- a/tests/TestSuite_vf_kernel.py
+++ b/tests/TestSuite_vf_kernel.py
@@ -563,9 +563,7 @@ class TestVfKernel(TestCase):
         self.verify(self.dmac.upper() in out, "PF can't receive packet")
         # Change kernel VF mtu as 3000,check no confusion/crash on DPDK PF
-        if self.nic.startswith('fortville') or self.nic.startswith('carlsville') or self.nic.startswith('fortpark_BASE-T'):
-            self.vm0_dut.send_expect(
-                "ifconfig %s mtu 3000" % self.vm0_intf0, "#")
+        self.vm0_dut.send_expect("ifconfig %s mtu 3000" % self.vm0_intf0, "#")
         # send one packet with length as 2000 with kernel VF MAC as DEST MAC,
         # check Kernel VF can receive packet

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-16  8:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-16  8:12 [dts] [PATCH V1] tests/vf_kernel: remove the NIC limitation Xia Yan

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ https://inbox.dpdk.org/dts \
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git