[dts] [PATCH V1] add tx-offloads to start testpmd
Liu, Yong
yong.liu at intel.com
Fri Jan 26 09:28:09 CET 2018
Gang,
Offload flag 0x8fff mean most of Tx offloads are enable. Chksum suite will only depend on some of them.
Please find what are they.
Thanks,
Marvin
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of xu,gang
> Sent: Friday, January 26, 2018 3:29 PM
> To: dts at dpdk.org
> Cc: Xu, GangX <gangx.xu at intel.com>
> Subject: [dts] [PATCH V1] add tx-offloads to start testpmd
>
> Signed-off-by: xu,gang <gangx.xu at intel.com>
> ---
> tests/TestSuite_checksum_offload.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_checksum_offload.py
> b/tests/TestSuite_checksum_offload.py
> index 5f5547f..8f26823 100644
> --- a/tests/TestSuite_checksum_offload.py
> +++ b/tests/TestSuite_checksum_offload.py
> @@ -67,7 +67,7 @@ class TestChecksumOffload(TestCase):
> """
> self.pmdout.start_testpmd("Default", "--portmask=%s " %
> (self.portMask) + "--disable-hw-vlan --
> enable-rx-cksum " +
> - "--port-topology=loop",
> socket=self.ports_socket)
> + "--port-topology=loop --tx-
> offloads=0x8fff", socket=self.ports_socket)
> self.dut.send_expect("set verbose 1", "testpmd>")
> self.dut.send_expect("set fwd csum", "testpmd>")
>
> --
> 1.9.3
More information about the dts
mailing list