From: Yan Xia <yanx.xia@intel.com>
To: dts@dpdk.org
Cc: Yan Xia <yanx.xia@intel.com>
Subject: [dts] [PATCH V2] tests/vf_kernel: remove the NIC limitation
Date: Tue, 20 Apr 2021 13:26:24 +0800 [thread overview]
Message-ID: <20210420052624.1719-1-yanx.xia@intel.com> (raw)
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: Yan Xia <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
--
2.17.1
next reply other threads:[~2021-04-20 5:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-20 5:26 Yan Xia [this message]
2021-05-07 6:52 ` Tu, Lijuan
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=20210420052624.1719-1-yanx.xia@intel.com \
--to=yanx.xia@intel.com \
--cc=dts@dpdk.org \
/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).