test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Huang, ZhiminX" <zhiminx.huang@intel.com>
To: "Chen, LingliX" <linglix.chen@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Subject: RE: [dts][PATCH V1] test_plans/ieee1588: according to dts script compile ieee1588 update testplan
Date: Tue, 18 Oct 2022 10:35:28 +0000	[thread overview]
Message-ID: <BN0PR11MB57124DEA4EAE1AB2F6A546F6FD289@BN0PR11MB5712.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20221018052830.51639-1-linglix.chen@intel.com>


> -----Original Message-----
> From: Chen, LingliX <linglix.chen@intel.com>
> Sent: Tuesday, October 18, 2022 1:29 PM
> To: dts@dpdk.org
> Cc: Huang, ZhiminX <zhiminx.huang@intel.com>; Chen, LingliX
> <linglix.chen@intel.com>
> Subject: [dts][PATCH V1] 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>
> ---
>  test_plans/ieee1588_test_plan.rst | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/test_plans/ieee1588_test_plan.rst
> b/test_plans/ieee1588_test_plan.rst
> index 94c56edf..4cc60630 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,8 +62,7 @@ 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
> 

Hi Lingli,
Could you add some description about '--tx-offloads=0x00008000'?
It's helpful for users to understand.

>  The -n command is used to select the number of memory channels. It should
> match the number of memory channels on that setup.
> 
> --
> 2.17.1


      reply	other threads:[~2022-10-18 10:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-18  5:28 Lingli Chen
2022-10-18 10:35 ` Huang, ZhiminX [this message]

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=BN0PR11MB57124DEA4EAE1AB2F6A546F6FD289@BN0PR11MB5712.namprd11.prod.outlook.com \
    --to=zhiminx.huang@intel.com \
    --cc=dts@dpdk.org \
    --cc=linglix.chen@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).