[dts] [PATCH] Fix reconfigure_ports failed issue
Liu, Yong
yong.liu at intel.com
Thu Sep 17 10:48:49 CEST 2015
Thanks. Applied.
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of changru
> Sent: Thursday, September 17, 2015 4:31 PM
> To: dts at dpdk.org
> Subject: [dts] [PATCH] Fix reconfigure_ports failed issue
>
> If enable the CRC stripping mode. On 1G NICs, the packet received has the
> same length with the packet sent.
>
> Signed-off-by: changru <changrux.fan at intel.com>
> ---
> tests/TestSuite_shutdown_api.py | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/tests/TestSuite_shutdown_api.py
> b/tests/TestSuite_shutdown_api.py
> index 92ab67f..1661eea 100644
> --- a/tests/TestSuite_shutdown_api.py
> +++ b/tests/TestSuite_shutdown_api.py
> @@ -152,6 +152,9 @@ class TestShutdownApi(TestCase):
> "powerville", "springville", "hartwell"]:
> self.verify(p1rx_bytes - 4 == pktSize,
> "Wrong RX bytes CRC strip: p1_rx=%d,
> pktSize=%d" % (p1rx_bytes, pktSize))
> + elif self.nic in ["powerville", "springville",
> "kawela_4"]:
> + self.verify(p1rx_bytes == pktSize,
> + "Wrong RX bytes CRC strip: p1_rx=%d,
> pktSize=%d" % (p1rx_bytes, pktSize))
> else:
> self.verify(p1rx_bytes == pktSize - 4,
> "Wrong RX bytes CRC strip: p1_rx=%d,
> pktSize=%d" % (p1rx_bytes, pktSize))
> --
> 2.1.0
More information about the dts
mailing list