test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V2] test_plans/ieee1588: according to dts script compile ieee1588 update testplan
@ 2022-10-19  1:06 Lingli Chen
  2022-10-21  1:53 ` Huang, ZhiminX
  2022-11-18  8:08 ` lijuan.tu
  0 siblings, 2 replies; 3+ messages in thread
From: Lingli Chen @ 2022-10-19  1:06 UTC (permalink / raw)
  To: dts; +Cc: zhiminx.huang, Lingli Chen

Modify build extra options, start testpmd parameters sync with script.

Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
V2:add some description about '--tx-offloads=0x00008000'

 test_plans/ieee1588_test_plan.rst | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/test_plans/ieee1588_test_plan.rst b/test_plans/ieee1588_test_plan.rst
index 94c56edf..285ca306 100644
--- a/test_plans/ieee1588_test_plan.rst
+++ b/test_plans/ieee1588_test_plan.rst
@@ -52,7 +52,9 @@ to the device under test::
    usertools/dpdk-devbind.py --bind=vfio-pci device_bus_id
 
 The support of the IEEE1588 Precise Time Protocol in Poll Mode Drivers must
-be configured at compile-time with the ``CONFIG_RTE_LIBRTE_IEEE1588`` option.
+be configured at compile-time with the ``DRTE_LIBRTE_IEEE1588`` option::
+
+   CC=gcc meson -Denable_kmods=True -Dlibdir=lib -Dc_args=-DRTE_LIBRTE_IEEE1588 --default-library=static x86_64-native-linuxapp-gcc
 
 Configure the packet format for the traffic generator to be IEEE1588 PTP
 Ethernet type ``0x88F7`` and containing PTP ``SYNC`` (version 2 at offset 1,
@@ -60,10 +62,11 @@ and message ID 0 at offset 0).
 
 Start the ``testpmd`` application with the following parameters::
 
-   -cffffff -n 3 -- -i --rxpt=0 --rxht=0 --rxwt=0 \
-   --txpt=39 --txht=0 --txwt=0
+   -cffffff -n 3 -- -i --tx-offloads=0x00008000
 
 The -n command is used to select the number of memory channels. It should match the number of memory channels on that setup.
+--tx-offloads: for IEEE1588, the full-feature tx path needs to be enabled. Enabling any tx offload will force DPDK utilize full tx path.
+Enabling multiple segment offload is more reasonable for user cases.
 
 Test Case: Enable IEEE1588 PTP packet reception and generation
 ==============================================================
-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [dts][PATCH V2] test_plans/ieee1588: according to dts script compile ieee1588 update testplan
  2022-10-19  1:06 [dts][PATCH V2] test_plans/ieee1588: according to dts script compile ieee1588 update testplan Lingli Chen
@ 2022-10-21  1:53 ` Huang, ZhiminX
  2022-11-18  8:08 ` lijuan.tu
  1 sibling, 0 replies; 3+ messages in thread
From: Huang, ZhiminX @ 2022-10-21  1:53 UTC (permalink / raw)
  To: Chen, LingliX, dts

> -----Original Message-----
> From: Chen, LingliX <linglix.chen@intel.com>
> Sent: Wednesday, October 19, 2022 9:06 AM
> To: dts@dpdk.org
> Cc: Huang, ZhiminX <zhiminx.huang@intel.com>; Chen, LingliX
> <linglix.chen@intel.com>
> Subject: [dts][PATCH V2] test_plans/ieee1588: according to dts script compile
> ieee1588 update testplan
> 
> Modify build extra options, start testpmd parameters sync with script.
> 
> Signed-off-by: Lingli Chen <linglix.chen@intel.com>
> ---
> V2:add some description about '--tx-offloads=0x00008000'
> 
Acked-by: Zhimin Huang <zhiminx.huang@intel.com >



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [dts][PATCH V2] test_plans/ieee1588: according to dts script compile ieee1588 update testplan
  2022-10-19  1:06 [dts][PATCH V2] test_plans/ieee1588: according to dts script compile ieee1588 update testplan Lingli Chen
  2022-10-21  1:53 ` Huang, ZhiminX
@ 2022-11-18  8:08 ` lijuan.tu
  1 sibling, 0 replies; 3+ messages in thread
From: lijuan.tu @ 2022-11-18  8:08 UTC (permalink / raw)
  To: dts, Lingli Chen; +Cc: zhiminx.huang, Lingli Chen

On Tue, 18 Oct 2022 21:06:15 -0400, Lingli Chen <linglix.chen@intel.com> wrote:
> Modify build extra options, start testpmd parameters sync with script.
> 
> Signed-off-by: Lingli Chen <linglix.chen@intel.com>


Applied, thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-18  8:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-19  1:06 [dts][PATCH V2] test_plans/ieee1588: according to dts script compile ieee1588 update testplan Lingli Chen
2022-10-21  1:53 ` Huang, ZhiminX
2022-11-18  8:08 ` lijuan.tu

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).