[dpdk-dev] [PATCH v3 5/5] doc: change references to blacklist and whitelist

Wang, Haiyue haiyue.wang at intel.com
Thu Oct 22 17:18:43 CEST 2020


> -----Original Message-----
> From: Stephen Hemminger <stephen at networkplumber.org>
> Sent: Thursday, October 22, 2020 22:39
> To: dev at dpdk.org
> Cc: Stephen Hemminger <stephen at networkplumber.org>; Luca Boccassi <bluca at debian.org>; Akhil Goyal
> <akhil.goyal at nxp.com>; Hemant Agrawal <hemant.agrawal at nxp.com>; Griffin, John <john.griffin at intel.com>;
> Trahe, Fiona <fiona.trahe at intel.com>; Jain, Deepak K <deepak.k.jain at intel.com>; Pavan Nikhilesh
> <pbhagavatula at marvell.com>; Jerin Jacob <jerinj at marvell.com>; Richardson, Bruce
> <bruce.richardson at intel.com>; Nithin Dabilpuram <ndabilpuram at marvell.com>; Ajit Khaparde
> <ajit.khaparde at broadcom.com>; Somnath Kotur <somnath.kotur at broadcom.com>; Rahul Lakkireddy
> <rahul.lakkireddy at chelsio.com>; Sachin Saxena <sachin.saxena at oss.nxp.com>; John Daley
> <johndale at cisco.com>; Hyong Youb Kim <hyonkim at cisco.com>; Gaetan Rivet <grive at u256.net>; Xing, Beilei
> <beilei.xing at intel.com>; Guo, Jia <jia.guo at intel.com>; Yang, Qiming <qiming.yang at intel.com>; Zhang, Qi
> Z <qi.z.zhang at intel.com>; Wang, Haiyue <haiyue.wang at intel.com>; Matan Azrad <matan at nvidia.com>; Shahaf
> Shuler <shahafs at nvidia.com>; Viacheslav Ovsiienko <viacheslavo at nvidia.com>; Martin Spinler
> <spinler at cesnet.cz>; Kiran Kumar K <kirankumark at marvell.com>; Andrew Rybchenko
> <andrew.rybchenko at oktetlabs.ru>; Wiles, Keith <keith.wiles at intel.com>; Maciej Czekaj
> <mczekaj at marvell.com>; Burakov, Anatoly <anatoly.burakov at intel.com>; Thomas Monjalon
> <thomas at monjalon.net>; Yigit, Ferruh <ferruh.yigit at intel.com>; Chautru, Nicolas
> <nicolas.chautru at intel.com>; Van Haaren, Harry <harry.van.haaren at intel.com>; Nicolau, Radu
> <radu.nicolau at intel.com>; Ananyev, Konstantin <konstantin.ananyev at intel.com>; Hunt, David
> <david.hunt at intel.com>; Maxime Coquelin <maxime.coquelin at redhat.com>; Xia, Chenbo
> <chenbo.xia at intel.com>; Doherty, Declan <declan.doherty at intel.com>; Wisam Jaddo <wisamm at nvidia.com>
> Subject: [PATCH v3 5/5] doc: change references to blacklist and whitelist
> 
> There are two areas where documentation needed update.
> The first was use of whitelist when describing address
> filtering.
> 
> The other is the legacy -w whitelist option for PCI
> which is used in many examples
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> Acked-by: Luca Boccassi <bluca at debian.org>
> ---


> 
> diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
> index a071db276fe4..b44490cfe5e4 100644
> --- a/doc/guides/nics/mlx5.rst
> +++ b/doc/guides/nics/mlx5.rst
> @@ -1537,7 +1537,7 @@ ConnectX-4/ConnectX-5/ConnectX-6/BlueField devices managed by librte_pmd_mlx5.
>        eth32
>        eth33
> 
> -#. Optionally, retrieve their PCI bus addresses for whitelisting::
> +#. Optionally, retrieve their PCI bus addresses for use in allow list::
> 
>        {
>            for intf in eth2 eth3 eth4 eth5;
> @@ -1549,10 +1549,10 @@ ConnectX-4/ConnectX-5/ConnectX-6/BlueField devices managed by librte_pmd_mlx5.
> 
>     Example output::
> 
> -      -w 0000:05:00.1
> -      -w 0000:06:00.0
> -      -w 0000:06:00.1
> -      -w 0000:05:00.0
> +      -i 0000:05:00.1
> +      -i 0000:06:00.0
> +      -i 0000:06:00.1
> +      -i 0000:05:00.0

         ^
         | -a ?

> 
>  #. Request huge pages::
> 
> @@ -1560,7 +1560,7 @@ ConnectX-4/ConnectX-5/ConnectX-6/BlueField devices managed by librte_pmd_mlx5.
> 
>  #. Start testpmd with basic parameters::
> 
> -      testpmd -l 8-15 -n 4 -w 05:00.0 -w 05:00.1 -w 06:00.0 -w 06:00.1 -- --rxq=2 --txq=2 -i
> +      testpmd -l 8-15 -n 4 -i 05:00.0 -w 05:00.1 -w 06:00.0 -w 06:00.1 -- --rxq=2 --txq=2 -i
                               ^
                               | -a ?
> 


> diff --git a/doc/guides/sample_app_ug/eventdev_pipeline.rst
> b/doc/guides/sample_app_ug/eventdev_pipeline.rst
> index dc7972aa9a5c..e4c23da9ebcb 100644
> --- a/doc/guides/sample_app_ug/eventdev_pipeline.rst
> +++ b/doc/guides/sample_app_ug/eventdev_pipeline.rst
> @@ -46,7 +46,7 @@ these settings is shown below:
> 
>  .. code-block:: console
> 
> -    ./build/eventdev_pipeline --vdev event_sw0 -- -r1 -t1 -e4 -w FF00 -s4 -n0 -c32 -W1000 -D
> +    ./build/eventdev_pipeline --vdev event_sw0 -- -r1 -t1 -e4 -i FF00 -s4 -n0 -c32 -W1000 -D
                                                                  ^
                                                                  |
                           This is app argument:   "-w, --worker-mask=core mask  Run worker on CPUs in core mask\n"

> 


> 
> diff --git a/doc/guides/sample_app_ug/vdpa.rst b/doc/guides/sample_app_ug/vdpa.rst
> index d66a724827af..60a7eb227db2 100644
> --- a/doc/guides/sample_app_ug/vdpa.rst
> +++ b/doc/guides/sample_app_ug/vdpa.rst
> @@ -52,7 +52,7 @@ Take IFCVF driver for example:
>  .. code-block:: console
> 
>          ./vdpa -c 0x2 -n 4 --socket-mem 1024,1024 \
> -                -w 0000:06:00.3,vdpa=1 -w 0000:06:00.4,vdpa=1 \
> +                -i 0000:06:00.3,vdpa=1 -a 0000:06:00.4,vdpa=1 \

                    ^
                    | -a ?

>                  -- --interactive
> 


> --
> 2.27.0



More information about the dev mailing list