test suite reviews and discussions
 help / color / mirror / Atom feed
From: Lijuan Tu <lijuanx.a.tu@intel.com>
To: yong.liu@intel.com, dts@dpdk.org, yulong.pei@intel.com,
	qian.q.xu@intel.com
Subject: [dts] [PATCH]tests vf_packet_rxtx: turn on crc-strip
Date: Fri, 26 Feb 2016 14:57:40 +0800	[thread overview]
Message-ID: <1456469860-14673-1-git-send-email-lijuanx.a.tu@intel.com> (raw)

kernel driver turn on crc-strip as default

Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
---
 tests/TestSuite_vf_packet_rxtx.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/TestSuite_vf_packet_rxtx.py b/tests/TestSuite_vf_packet_rxtx.py
index def7816..a632a44 100644
--- a/tests/TestSuite_vf_packet_rxtx.py
+++ b/tests/TestSuite_vf_packet_rxtx.py
@@ -110,6 +110,9 @@ class TestVfPacketRxtx(TestCase):
         port_id_0 = 0
         self.vm0_testpmd = PmdOutput(self.vm_dut_0)
         self.vm0_testpmd.start_testpmd(VM_CORES_MASK)
+        self.vm0_testpmd.execute_cmd('port stop all')
+        self.vm0_testpmd.execute_cmd('port config all crc-strip on')
+        self.vm0_testpmd.execute_cmd('port start all')
         self.vm0_testpmd.execute_cmd('show port info all')
         pmd_vf0_mac = self.vm0_testpmd.get_port_mac(port_id_0)
         self.vm0_testpmd.execute_cmd('set fwd mac')
-- 
2.5.0

             reply	other threads:[~2016-02-26  7:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-26  6:57 Lijuan Tu [this message]
2016-02-26  7:37 ` Pei, Yulong
2016-02-28 12:45   ` Liu, Yong
2016-02-28 14:12     ` Xu, Qian Q
2016-02-29  6:49     ` Tu, LijuanX A
2016-02-29  6:49       ` Xu, Qian Q
2016-03-02  5:24         ` Liu, Yong

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=1456469860-14673-1-git-send-email-lijuanx.a.tu@intel.com \
    --to=lijuanx.a.tu@intel.com \
    --cc=dts@dpdk.org \
    --cc=qian.q.xu@intel.com \
    --cc=yong.liu@intel.com \
    --cc=yulong.pei@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).