doc: add reference to bbdev companion configuration tool
PATCH v2 1/1 doc: add reference to bbdev companion configuration tool
v2: typo corrections
Adding reference to companion tool to perform PF device configuration of HW bbdev devices : pf_bb_config This topic was previously discussed in https://patches.dpdk.org/patch/74270/
and it was preferred for the tool to be be upstreamed outside of DPDK in github.
This dependency notably allows to run the bbdev workload from VF.
Kept this as a single commit affecting the 3 distinct docs.
Nicolas Chautru (1):
doc: add reference to companion configuration tool
doc/guides/bbdevs/acc100.rst | 19 +++++++++++++++++++ doc/guides/bbdevs/fpga_5gnr_fec.rst | 19 +++++++++++++++++++ doc/guides/bbdevs/fpga_lte_fec.rst | 19 +++++++++++++++++++ 3 files changed, 57 insertions(+)
Signature · 1 line
1.8.3.1
PATCH v2 1/1 doc: add reference to companion configuration tool
Adding reference to pf_bb_config in github to do device configuration of the fpga_5gnr, fpga_lte and acc100 devices and pmds.
--- doc/guides/bbdevs/acc100.rst | 19 +++++++++++++++++++ doc/guides/bbdevs/fpga_5gnr_fec.rst | 19 +++++++++++++++++++ doc/guides/bbdevs/fpga_lte_fec.rst | 19 +++++++++++++++++++ 3 files changed, 57 insertions(+)
doc/guides/bbdevs/acc100.rst +19 -0
@@ -223,3 +223,22 @@ In addition to the simple LDPC decoder and LDPC encoder tests, bbdev also provid a range of additional tests under the test_vectors folder, which may be useful. The results of these tests will depend on the ACC100 5G/4G FEC capabilities which may cause some testcases to be skipped, but no failure should be reported. + + +Alternate Baseband Device configuration tool +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +On top of the embedded configuration feature supported in test-bbdev using "- -init-device" +option mentioned above, there is also a tool available to perform that device configuration +using a companion application. +The ``pf_bb_config`` application notably enables then to run bbdev-test from the VF +and not only limited to the PF as captured above. + +See for more details: https://github.com/intel/pf-bb-config + +Specifically for the BBDEV ACC100 PMD, the command below can be used: + +.. code-block:: console + + ./pf_bb_config ACC100 -c acc100/acc100_config_vf_5g.cfg + ./test-bbdev.py -e="-c 0xff0 -w${VF_PCI_ADDR}" -c validation -n 64 -b 32 -l 1 -v ./ldpc_dec_default.data
doc/guides/bbdevs/fpga_5gnr_fec.rst +19 -0
@@ -286,3 +286,22 @@ Test Vectors In addition to the simple LDPC decoder and LDPC encoder tests, bbdev also provides a range of additional tests under the test_vectors folder, which may be useful. The results of these tests will depend on the FPGA 5GNR FEC capabilities. + + +Alternate Baseband Device configuration tool +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +On top of the embedded configuration feature supported in test-bbdev using "- -init-device" +option, there is also a tool available to perform that device configuration using a companion +application. +The ``pf_bb_config`` application notably enables then to run bbdev-test from the VF +and not only limited to the PF as captured above. + +See for more details: https://github.com/intel/pf-bb-config + +Specifically for the BBDEV FPGA 5GNR FEC PMD, the command below can be used: + +.. code-block:: console + + ./pf_bb_config FPGA_5GNR -c fpga_5gnr/fpga_5gnr_config_vf.cfg + ./test-bbdev.py -e="-c 0xff0 -w${VF_PCI_ADDR}" -c validation -n 64 -b 32 -l 1 -v ./ldpc_dec_default.data
doc/guides/bbdevs/fpga_lte_fec.rst +19 -0
@@ -305,3 +305,22 @@ of these tests will depend on the FPGA LTE FEC capabilities: - ``turbo_enc_c2_k5952_r0_e17868_crc24b.data`` - ``turbo_enc_c3_k4800_r2_e14412_crc24b.data`` - ``turbo_enc_c4_k4800_r2_e14412_crc24b.data`` + + +Alternate Baseband Device configuration tool +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +On top of the embedded configuration feature supported in test-bbdev using "- -init-device" +option, there is also a tool available to perform that device configuration using a companion +application. +The ``pf_bb_config`` application notably enables then to run bbdev-test from the VF +and not only limited to the PF as captured above. + +See for more details: https://github.com/intel/pf-bb-config + +Specifically for the BBDEV FPGA LTE FEC PMD, the command below can be used: + +.. code-block:: console + + ./pf_bb_config FPGA_lte -c fpga_lte/fpga_lte_config_vf.cfg + ./test-bbdev.py -e="-c 0xff0 -w${VF_PCI_ADDR}" -c validation -n 64 -b 32 -l 1 -v ./turbo_dec_default.data
Signature · 1 line
1.8.3.1
Re: [dpdk-dev] [PATCH v2] doc: add reference to companion configuration tool
Quoted 81 lines · Nicolas Chautru
Adding reference to
pf_bb_configin github to do device configuration of thefpga_5gnr,fpga_lteand acc100 devices and pmds.Signed-off-by Nicolas Chautru <[email protected]>--- doc/guides/bbdevs/acc100.rst | 19 +++++++++++++++++++ doc/guides/bbdevs/fpga_5gnr_fec.rst | 19 +++++++++++++++++++ doc/guides/bbdevs/fpga_lte_fec.rst | 19 +++++++++++++++++++ 3 files changed, 57 insertions(+)doc/guides/bbdevs/acc100.rst +19
-0@@ -223,3 +223,22 @@ In addition to the simple LDPC decoder and LDPC encoder tests, bbdev also provid a range of additional tests under the test_vectors folder, which may be useful. The results of these tests will depend on the ACC100 5G/4G FEC capabilities which may cause some testcases to be skipped, but no failure should be reported. + + +Alternate Baseband Device configuration tool +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +On top of the embedded configuration feature supported in test-bbdev using "- -init-device" +option mentioned above, there is also a tool available to perform that device configuration +using a companion application. +The ``pf_bb_config`` application notably enables then to run bbdev-test from the VF +and not only limited to the PF as captured above. + +See for more details: https://github.com/intel/pf-bb-config + +Specifically for the BBDEV ACC100 PMD, the command below can be used: + +.. code-block:: console + + ./pf_bb_config ACC100 -c acc100/acc100_config_vf_5g.cfg + ./test-bbdev.py -e="-c 0xff0 -w${VF_PCI_ADDR}" -c validation -n 64 -b 32 -l 1 -v ./ldpc_dec_default.datadoc/guides/bbdevs/fpga_5gnr_fec.rst +19
-0@@ -286,3 +286,22 @@ Test Vectors In addition to the simple LDPC decoder and LDPC encoder tests, bbdev also provides a range of additional tests under the test_vectors folder, which may be useful. The results of these tests will depend on the FPGA 5GNR FEC capabilities. + + +Alternate Baseband Device configuration tool +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +On top of the embedded configuration feature supported in test-bbdev using "- -init-device" +option, there is also a tool available to perform that device configuration using a companion +application. +The ``pf_bb_config`` application notably enables then to run bbdev-test from the VF +and not only limited to the PF as captured above. + +See for more details: https://github.com/intel/pf-bb-config + +Specifically for the BBDEV FPGA 5GNR FEC PMD, the command below can be used: + +.. code-block:: console + + ./pf_bb_config FPGA_5GNR -c fpga_5gnr/fpga_5gnr_config_vf.cfg + ./test-bbdev.py -e="-c 0xff0 -w${VF_PCI_ADDR}" -c validation -n 64 -b 32 -l 1 -v ./ldpc_dec_default.datadoc/guides/bbdevs/fpga_lte_fec.rst +8
-0@@ -305,3 +305,22 @@ of these tests will depend on the FPGA LTE FEC capabilities: - ``turbo_enc_c2_k5952_r0_e17868_crc24b.data`` - ``turbo_enc_c3_k4800_r2_e14412_crc24b.data`` - ``turbo_enc_c4_k4800_r2_e14412_crc24b.data`` + + +Alternate Baseband Device configuration tool +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +On top of the embedded configuration feature supported in test-bbdev using "- -init-device" +option, there is also a tool available to perform that device configuration using a companion +application.
doc/guides/bbdevs/fpga_lte_fec.rst of these tests will depend on the FPGA LTE FEC capabilities: · line 325
Quoted 10 lines
doc/guides/bbdevs/fpga_lte_fec.rst +10
-0+The ``pf_bb_config`` application notably enables then to run bbdev-test from the VF +and not only limited to the PF as captured above. + +See for more details: https://github.com/intel/pf-bb-config + +Specifically for the BBDEV FPGA LTE FEC PMD, the command below can be used: + +.. code-block:: console + + ./pf_bb_config FPGA_lte -c fpga_lte/fpga_lte_config_vf.cfg
From inspection, pf_bb_config does not care about the case of FPGA_lte
However for documentation, it is best if these examples are consistent.
So this should be
./pf_bb_config FPGA_LTE ...
Tom
Quoted 1 line
doc/guides/bbdevs/fpga_lte_fec.rst +1
-0+ ./test-bbdev.py -e="-c 0xff0 -w${VF_PCI_ADDR}" -c validation -n 64 -b 32 -l 1 -v ./turbo_dec_default.data
Re: [dpdk-dev] [PATCH v2] doc: add reference to companion configuration tool
Quoted 114 lines
-----Original Message-----
From: Tom Rix <[email protected]>
Sent: Tuesday, November 3, 2020 7:07 AM
To: Chautru, Nicolas <[email protected]>; [email protected]; [email protected]; [email protected]
Cc: Mcnamara, John <[email protected]>; [email protected]; Richardson, Bruce <[email protected]>; Liu, Tianjiao <[email protected]>
Subject: Re: [PATCH v2] doc: add reference to companion configuration toolQuoted 16 lines · Nicolas Chautru
Adding reference to
pf_bb_configin github to do device configuration of thefpga_5gnr,fpga_lteand
acc100 devices and pmds.Signed-off-by Nicolas Chautru <[email protected]>--- doc/guides/bbdevs/acc100.rst | 19 +++++++++++++++++++ doc/guides/bbdevs/fpga_5gnr_fec.rst | 19 +++++++++++++++++++ doc/guides/bbdevs/fpga_lte_fec.rst | 19 +++++++++++++++++++ 3 files changed, 57 insertions(+)(quoted diff) +0
-0
b/doc/guides/bbdevs/acc100.rstindex 7a23c16..b772854 100644doc/guides/bbdevs/acc100.rst +0
-0@@ -223,3 +223,22 @@ In addition to the simple LDPC decoder and LDPCQuoted 3 lines
encoder tests, bbdev also provid a range of additional tests under the
test_vectorsfolder, which may be useful. The results of these tests will depend on the ACC100 5G/4G FEC capabilities which may causesome testcases to be skipped, but no failure should be reported.
doc/guides/bbdevs/acc100.rst In addition to the simple LDPC decoder and LDPC encoder tests, bbdev also provid
Quoted 6 lines
doc/guides/bbdevs/acc100.rst +6
-0+ + +Alternate Baseband Device configuration tool +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +On top of the embedded configuration feature supported in test-bbdevusing "- -init-device"
doc/guides/bbdevs/acc100.rst
Quoted 8 lines
doc/guides/bbdevs/acc100.rst +8
-0+option mentioned above, there is also a tool available to perform +that device configuration using a companion application. +The ``pf_bb_config`` application notably enables then to run +bbdev-test from the VF and not only limited to the PF as captured above. + +See for more details: https://github.com/intel/pf-bb-config + +Specifically for the BBDEV ACC100 PMD, the command below can beused:
Quoted 13 lines
doc/guides/bbdevs/acc100.rst +6
-0+ +.. code-block:: console + + ./pf_bb_config ACC100 -c acc100/acc100_config_vf_5g.cfg + ./test-bbdev.py -e="-c 0xff0 -w${VF_PCI_ADDR}" -c validation -n 64 + -b 32 -l 1 -v ./ldpc_dec_default.datadoc/guides/bbdevs/fpga_5gnr_fec.rst +0
-0@@ -286,3 +286,22 @@ Test Vectors In addition to the simple LDPC decoder and LDPC encoder tests, bbdevQuoted 2 lines
also provides a range of additional tests under the
test_vectorsfolder, which may be useful. The results of these tests will depend on theFPGA 5GNR FEC capabilities.
doc/guides/bbdevs/fpga_5gnr_fec.rst
Quoted 6 lines
doc/guides/bbdevs/fpga_5gnr_fec.rst +6
-0+ + +Alternate Baseband Device configuration tool +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +On top of the embedded configuration feature supported in test-bbdevusing "- -init-device"
doc/guides/bbdevs/fpga_5gnr_fec.rst
Quoted 8 lines
doc/guides/bbdevs/fpga_5gnr_fec.rst +8
-0+option, there is also a tool available to perform that device +configuration using a companion application. +The ``pf_bb_config`` application notably enables then to run +bbdev-test from the VF and not only limited to the PF as captured above. + +See for more details: https://github.com/intel/pf-bb-config + +Specifically for the BBDEV FPGA 5GNR FEC PMD, the command below canbe used:
doc/guides/bbdevs/fpga_lte_fec.rst of these tests will depend on the FPGA LTE FEC
Quoted 12 lines
doc/guides/bbdevs/fpga_5gnr_fec.rst +6
-0+ +.. code-block:: console + + ./pf_bb_config FPGA_5GNR -c fpga_5gnr/fpga_5gnr_config_vf.cfg + ./test-bbdev.py -e="-c 0xff0 -w${VF_PCI_ADDR}" -c validation -n 64 + -b 32 -l 1 -v ./ldpc_dec_default.datadoc/guides/bbdevs/fpga_lte_fec.rst +0
-0@@ -305,3 +305,22 @@ of these tests will depend on the FPGA LTE FECcapabilities:
doc/guides/bbdevs/fpga_lte_fec.rst of these tests will depend on the FPGA LTE FEC capabilities:
Quoted 9 lines
doc/guides/bbdevs/fpga_lte_fec.rst +6
-0- ``turbo_enc_c2_k5952_r0_e17868_crc24b.data`` - ``turbo_enc_c3_k4800_r2_e14412_crc24b.data`` - ``turbo_enc_c4_k4800_r2_e14412_crc24b.data`` + + +Alternate Baseband Device configuration tool +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +On top of the embedded configuration feature supported in test-bbdevusing "- -init-device"
doc/guides/bbdevs/fpga_lte_fec.rst of these tests will depend on the FPGA LTE FEC · line 321
Quoted 8 lines
doc/guides/bbdevs/fpga_lte_fec.rst +8
-0+option, there is also a tool available to perform that device +configuration using a companion application. +The ``pf_bb_config`` application notably enables then to run +bbdev-test from the VF and not only limited to the PF as captured above. + +See for more details: https://github.com/intel/pf-bb-config + +Specifically for the BBDEV FPGA LTE FEC PMD, the command below canbe used:
Quoted 6 lines
doc/guides/bbdevs/fpga_lte_fec.rst of these tests will depend on the FPGA LTE FEC capabilities: · line 325
Quoted 4 lines
doc/guides/bbdevs/fpga_lte_fec.rst +4
-0+ +.. code-block:: console + + ./pf_bb_config FPGA_lte -c fpga_lte/fpga_lte_config_vf.cfgFrom inspection,
pf_bb_configdoes not care about the case ofFPGA_lte
What do you mean?
Quoted 12 lines
However for documentation, it is best if these examples are consistent.
So this should be
./pf_bb_config
FPGA_LTE...Tom
Quoted 2 lines
doc/guides/bbdevs/fpga_lte_fec.rst +2
-0+ ./test-bbdev.py -e="-c 0xff0 -w${VF_PCI_ADDR}" -c validation -n 64 + -b 32 -l 1 -v ./turbo_dec_default.data
Re: [dpdk-dev] [PATCH v2] doc: add reference to companion configuration tool
Quoted 113 lines · Nicolas
Quoted 113 lines
-----Original Message-----
From: Tom Rix <[email protected]>
Sent: Tuesday, November 3, 2020 7:07 AM
To: Chautru, Nicolas <[email protected]>; [email protected]; [email protected]; [email protected]
Cc: Mcnamara, John <[email protected]>; [email protected]; Richardson, Bruce <[email protected]>; Liu, Tianjiao <[email protected]>
Subject: Re: [PATCH v2] doc: add reference to companion configuration toolQuoted 16 lines · Nicolas Chautru
Adding reference to
pf_bb_configin github to do device configuration of thefpga_5gnr,fpga_lteand
acc100 devices and pmds.Signed-off-by Nicolas Chautru <[email protected]>--- doc/guides/bbdevs/acc100.rst | 19 +++++++++++++++++++ doc/guides/bbdevs/fpga_5gnr_fec.rst | 19 +++++++++++++++++++ doc/guides/bbdevs/fpga_lte_fec.rst | 19 +++++++++++++++++++ 3 files changed, 57 insertions(+)(quoted diff) +0
-0
b/doc/guides/bbdevs/acc100.rstindex 7a23c16..b772854 100644doc/guides/bbdevs/acc100.rst +0
-0@@ -223,3 +223,22 @@ In addition to the simple LDPC decoder and LDPCQuoted 3 lines
encoder tests, bbdev also provid a range of additional tests under the
test_vectorsfolder, which may be useful. The results of these tests will depend on the ACC100 5G/4G FEC capabilities which may causesome testcases to be skipped, but no failure should be reported.
doc/guides/bbdevs/acc100.rst In addition to the simple LDPC decoder and LDPC encoder tests, bbdev also provid
Quoted 6 lines
doc/guides/bbdevs/acc100.rst +6
-0+ + +Alternate Baseband Device configuration tool +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +On top of the embedded configuration feature supported in test-bbdevusing "- -init-device"
doc/guides/bbdevs/acc100.rst
Quoted 8 lines
doc/guides/bbdevs/acc100.rst +8
-0+option mentioned above, there is also a tool available to perform +that device configuration using a companion application. +The ``pf_bb_config`` application notably enables then to run +bbdev-test from the VF and not only limited to the PF as captured above. + +See for more details: https://github.com/intel/pf-bb-config + +Specifically for the BBDEV ACC100 PMD, the command below can beused:
Quoted 13 lines
doc/guides/bbdevs/acc100.rst +6
-0+ +.. code-block:: console + + ./pf_bb_config ACC100 -c acc100/acc100_config_vf_5g.cfg + ./test-bbdev.py -e="-c 0xff0 -w${VF_PCI_ADDR}" -c validation -n 64 + -b 32 -l 1 -v ./ldpc_dec_default.datadoc/guides/bbdevs/fpga_5gnr_fec.rst +0
-0@@ -286,3 +286,22 @@ Test Vectors In addition to the simple LDPC decoder and LDPC encoder tests, bbdevQuoted 2 lines
also provides a range of additional tests under the
test_vectorsfolder, which may be useful. The results of these tests will depend on theFPGA 5GNR FEC capabilities.
doc/guides/bbdevs/fpga_5gnr_fec.rst
Quoted 6 lines
doc/guides/bbdevs/fpga_5gnr_fec.rst +6
-0+ + +Alternate Baseband Device configuration tool +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +On top of the embedded configuration feature supported in test-bbdevusing "- -init-device"
doc/guides/bbdevs/fpga_5gnr_fec.rst
Quoted 8 lines
doc/guides/bbdevs/fpga_5gnr_fec.rst +8
-0+option, there is also a tool available to perform that device +configuration using a companion application. +The ``pf_bb_config`` application notably enables then to run +bbdev-test from the VF and not only limited to the PF as captured above. + +See for more details: https://github.com/intel/pf-bb-config + +Specifically for the BBDEV FPGA 5GNR FEC PMD, the command below canbe used:
doc/guides/bbdevs/fpga_lte_fec.rst of these tests will depend on the FPGA LTE FEC
Quoted 12 lines
doc/guides/bbdevs/fpga_5gnr_fec.rst +6
-0+ +.. code-block:: console + + + ./test-bbdev.py -e="-c 0xff0 -w${VF_PCI_ADDR}" -c validation -n 64 + -b 32 -l 1 -v ./ldpc_dec_default.datadoc/guides/bbdevs/fpga_lte_fec.rst +0
-0@@ -305,3 +305,22 @@ of these tests will depend on the FPGA LTE FECcapabilities:
doc/guides/bbdevs/fpga_lte_fec.rst of these tests will depend on the FPGA LTE FEC capabilities:
Quoted 9 lines
doc/guides/bbdevs/fpga_lte_fec.rst +6
-0- ``turbo_enc_c2_k5952_r0_e17868_crc24b.data`` - ``turbo_enc_c3_k4800_r2_e14412_crc24b.data`` - ``turbo_enc_c4_k4800_r2_e14412_crc24b.data`` + + +Alternate Baseband Device configuration tool +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +On top of the embedded configuration feature supported in test-bbdevusing "- -init-device"
doc/guides/bbdevs/fpga_lte_fec.rst of these tests will depend on the FPGA LTE FEC · line 321
Quoted 8 lines
doc/guides/bbdevs/fpga_lte_fec.rst +8
-0+option, there is also a tool available to perform that device +configuration using a companion application. +The ``pf_bb_config`` application notably enables then to run +bbdev-test from the VF and not only limited to the PF as captured above. + +See for more details: https://github.com/intel/pf-bb-config + +Specifically for the BBDEV FPGA LTE FEC PMD, the command below canbe used:
Quoted 6 lines
Quoted 5 lines
doc/guides/bbdevs/fpga_lte_fec.rst of these tests will depend on the FPGA LTE FEC capabilities: · line 325
Quoted 4 lines
doc/guides/bbdevs/fpga_lte_fec.rst +4
-0+ +.. code-block:: console + + ./pf_bb_config FPGA_lte -c fpga_lte/fpga_lte_config_vf.cfgFrom inspection,
pf_bb_configdoes not care about the case ofFPGA_lteWhat do you mean?
comparing the call examples in the doc
./pf_bb_config ACC100 -c acc100/acc100_config_vf_5g.cfg ./pf_bb_config FPGA_5GNR -c fpga_5gnr/fpga_5gnr_config_vf.cfg ./pf_bb_config FPGA_lte -c fpga_lte/fpga_lte_config_vf.cfg
For consistency, the last should use FPGA_LTE
Tom
Quoted 12 lines
Quoted 12 lines
However for documentation, it is best if these examples are consistent.
So this should be
./pf_bb_config
FPGA_LTE...Tom
Quoted 2 lines
doc/guides/bbdevs/fpga_lte_fec.rst +2
-0+ ./test-bbdev.py -e="-c 0xff0 -w${VF_PCI_ADDR}" -c validation -n 64 + -b 32 -l 1 -v ./turbo_dec_default.data
Re: [dpdk-dev] [PATCH v2] doc: add reference to companion configuration tool
Quoted 139 lines
-----Original Message-----
From: Tom Rix <[email protected]>
Sent: Tuesday, November 3, 2020 11:08 AM
To: Chautru, Nicolas <[email protected]>; [email protected]; [email protected]; [email protected]
Cc: Mcnamara, John <[email protected]>; [email protected]; Richardson, Bruce <[email protected]>; Liu, Tianjiao <[email protected]>
Subject: Re: [PATCH v2] doc: add reference to companion configuration toolQuoted 125 lines · Nicolas
Quoted 125 lines
-----Original Message-----
From: Tom Rix <[email protected]>
Sent: Tuesday, November 3, 2020 7:07 AM
To: Chautru, Nicolas <[email protected]>; [email protected]; [email protected]; [email protected]
Cc: Mcnamara, John <[email protected]>; [email protected]; Richardson, Bruce <[email protected]>; Liu, Tianjiao <[email protected]>
Subject: Re: [PATCH v2] doc: add reference to companion configuration toolQuoted 16 lines · Nicolas Chautru
Adding reference to
pf_bb_configin github to do device configuration of thefpga_5gnr,fpga_lteand acc100 devices and pmds.Signed-off-by Nicolas Chautru <[email protected]>--- doc/guides/bbdevs/acc100.rst | 19 +++++++++++++++++++ doc/guides/bbdevs/fpga_5gnr_fec.rst | 19 +++++++++++++++++++ doc/guides/bbdevs/fpga_lte_fec.rst | 19 +++++++++++++++++++ 3 files changed, 57 insertions(+)(quoted diff) +0
-0
b/doc/guides/bbdevs/acc100.rstindex 7a23c16..b772854 100644doc/guides/bbdevs/acc100.rst +0
-0@@ -223,3 +223,22 @@ In addition to the simple LDPC decoder and LDPCQuoted 4 lines
encoder tests, bbdev also provid a range of additional tests under the
test_vectorsfolder, which may be useful. The results of these tests will depend on the ACC100 5G/4G FEC capabilities which may causesome testcases to be skipped, but no failure should be reported.
doc/guides/bbdevs/acc100.rst In addition to the simple LDPC decoder and LDPC encoder tests, bbdev also provid
Quoted 7 lines
doc/guides/bbdevs/acc100.rst +7
-0+ + +Alternate Baseband Device configuration tool +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +On top of the embedded configuration feature supported in +test-bbdevusing "- -init-device"
doc/guides/bbdevs/acc100.rst
Quoted 8 lines
doc/guides/bbdevs/acc100.rst +8
-0+option mentioned above, there is also a tool available to perform +that device configuration using a companion application. +The ``pf_bb_config`` application notably enables then to run +bbdev-test from the VF and not only limited to the PF as captured above. + +See for more details: https://github.com/intel/pf-bb-config + +Specifically for the BBDEV ACC100 PMD, the command below can beused:
Quoted 13 lines
doc/guides/bbdevs/acc100.rst +6
-0+ +.. code-block:: console + + ./pf_bb_config ACC100 -c acc100/acc100_config_vf_5g.cfg + ./test-bbdev.py -e="-c 0xff0 -w${VF_PCI_ADDR}" -c validation -n 64 + -b 32 -l 1 -v ./ldpc_dec_default.datadoc/guides/bbdevs/fpga_5gnr_fec.rst +0
-0@@ -286,3 +286,22 @@ Test Vectors In addition to the simple LDPC decoder and LDPC encoder tests,Quoted 3 lines
bbdev also provides a range of additional tests under the
test_vectorsfolder, which may be useful. The results of these tests will depend on theFPGA 5GNR FEC capabilities.
doc/guides/bbdevs/fpga_5gnr_fec.rst
Quoted 7 lines
doc/guides/bbdevs/fpga_5gnr_fec.rst +7
-0+ + +Alternate Baseband Device configuration tool +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +On top of the embedded configuration feature supported in +test-bbdevusing "- -init-device"
doc/guides/bbdevs/fpga_5gnr_fec.rst
Quoted 8 lines
doc/guides/bbdevs/fpga_5gnr_fec.rst +8
-0+option, there is also a tool available to perform that device +configuration using a companion application. +The ``pf_bb_config`` application notably enables then to run +bbdev-test from the VF and not only limited to the PF as captured above. + +See for more details: https://github.com/intel/pf-bb-config + +Specifically for the BBDEV FPGA 5GNR FEC PMD, the command below canbe used:
doc/guides/bbdevs/fpga_lte_fec.rst of these tests will depend on the FPGA LTE FEC
Quoted 12 lines
doc/guides/bbdevs/fpga_5gnr_fec.rst +6
-0+ +.. code-block:: console + + + ./test-bbdev.py -e="-c 0xff0 -w${VF_PCI_ADDR}" -c validation -n 64 + -b 32 -l 1 -v ./ldpc_dec_default.datadoc/guides/bbdevs/fpga_lte_fec.rst +0
-0@@ -305,3 +305,22 @@ of these tests will depend on the FPGA LTE FECcapabilities:
doc/guides/bbdevs/fpga_lte_fec.rst of these tests will depend on the FPGA LTE FEC capabilities:
Quoted 10 lines
doc/guides/bbdevs/fpga_lte_fec.rst +7
-0- ``turbo_enc_c2_k5952_r0_e17868_crc24b.data`` - ``turbo_enc_c3_k4800_r2_e14412_crc24b.data`` - ``turbo_enc_c4_k4800_r2_e14412_crc24b.data`` + + +Alternate Baseband Device configuration tool +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +On top of the embedded configuration feature supported in +test-bbdevusing "- -init-device"
doc/guides/bbdevs/fpga_lte_fec.rst of these tests will depend on the FPGA LTE FEC · line 322
Quoted 8 lines
doc/guides/bbdevs/fpga_lte_fec.rst +8
-0+option, there is also a tool available to perform that device +configuration using a companion application. +The ``pf_bb_config`` application notably enables then to run +bbdev-test from the VF and not only limited to the PF as captured above. + +See for more details: https://github.com/intel/pf-bb-config + +Specifically for the BBDEV FPGA LTE FEC PMD, the command below canbe used:
doc/guides/bbdevs/fpga_lte_fec.rst of these tests will depend on the FPGA LTE FEC capabilities: · line 325
Quoted 4 lines
doc/guides/bbdevs/fpga_lte_fec.rst +4
-0+ +.. code-block:: console + + ./pf_bb_config FPGA_lte -c fpga_lte/fpga_lte_config_vf.cfgFrom inspection,
pf_bb_configdoes not care about the case ofFPGA_lte
Quoted 8 lines
Quoted 1 line
What do you mean?
comparing the call examples in the doc
./pf_bb_config ACC100 -c acc100/acc100_config_vf_5g.cfg ./pf_bb_config
FPGA_5GNR-c fpga_5gnr/fpga_5gnr_config_vf.cfg ./pf_bb_configFPGA_lte-c fpga_lte/fpga_lte_config_vf.cfgFor consistency, the last should use
FPGA_LTE
Ok you are just referring to the casing. Fair enough can change now.
Quoted 15 lines
Tom
Quoted 12 lines
Quoted 12 lines
However for documentation, it is best if these examples are consistent.
So this should be
./pf_bb_config
FPGA_LTE...Tom
Quoted 2 lines
+ ./test-bbdev.py -e="-c
0xff0-w${VF_PCI_ADDR}" -c validation -n
+ 64 -b 32 -l 1 -v ./turbo_dec_default.data