[2/2] doc: add a co-existence consideration for bnx2x PMD

Message ID 20190731080225.19225-2-rmody@marvell.com (mailing list archive)
State Superseded, archived
Headers
Series [1/2] doc: use SPDX tag for bnx2x PMD guide |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Rasesh Mody July 31, 2019, 8:02 a.m. UTC
  Add and update co-existence considerations for bnx2x PMD

Signed-off-by: Rasesh Mody <rmody@marvell.com>
---
 doc/guides/nics/bnx2x.rst | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)
  

Comments

Thomas Monjalon July 31, 2019, 8:33 a.m. UTC | #1
31/07/2019 10:02, Rasesh Mody:
> Add and update co-existence considerations for bnx2x PMD
> 
> Signed-off-by: Rasesh Mody <rmody@marvell.com>
> ---
>  doc/guides/nics/bnx2x.rst | 15 ++++++++++++---
>  1 file changed, 12 insertions(+), 3 deletions(-)
> 
> diff --git a/doc/guides/nics/bnx2x.rst b/doc/guides/nics/bnx2x.rst
> index a7dee0c10..358ed7927 100644
> --- a/doc/guides/nics/bnx2x.rst
> +++ b/doc/guides/nics/bnx2x.rst
> @@ -69,9 +69,18 @@ Co-existence considerations
>    bnx2fi) is not supported on the same adapter. So storage personality
>    has to be disabled on that adapter when used in DPDK applications.
>  
> -- For SR-IOV case, bnx2x PMD will be used to bind to SR-IOV VF device and
> -  Linux native kernel driver (bnx2x) will be attached to SR-IOV PF.
> -
> +- Linux kernel drivers and bnx2x PMD can’t be mixed on a given BCM578xx
> +  adapter. This type of coexistence is unsupported. A given adapter
> +  needs to be completely used by DPDK or Linux drivers, when SR-IOV
> +  is not enabled. Before binging DPDK driver to one or more devices on
> +  the adapter, please make sure to unbind Linux drivers from all devices
> +  of the adapter. If there are multiple adapters on the system, one or
> +  more adapter can be used by DPDK driver and other adapters can be used
> +  by Linux drivers.
> +
> +- When SR-IOV is enabled, Linux native kernel driver (bnx2x) can be
> +  bound to the PFs of a given adapter and either DPDK or Linux drivers
> +  can be bound to the VFs of the adapter.

Same comment as for qede: this is not specific to the PMD.
Please update and reference the Linux guide.
  
Shahed Shaikh July 31, 2019, 11:39 a.m. UTC | #2
+  is not enabled. Before binging DPDK driver to one or more devices on



Binging=>binding



Thanks,

Shahed

> -----Original Message-----

> From: Rasesh Mody <rmody@marvell.com>

> Sent: Wednesday, July 31, 2019 1:32 PM

> To: dev@dpdk.org

> Cc: Rasesh Mody <rmody@marvell.com>; John McNamara

> <john.mcnamara@intel.com>; Thomas Monjalon <thomas@monjalon.net>;

> Jerin Jacob Kollanukkaran <jerinj@marvell.com>; GR-Everest-DPDK-Dev <GR-

> Everest-DPDK-Dev@marvell.com>

> Subject: [PATCH 2/2] doc: add a co-existence consideration for bnx2x PMD

>

> Add and update co-existence considerations for bnx2x PMD

>

> Signed-off-by: Rasesh Mody <rmody@marvell.com<mailto:rmody@marvell.com>>

> ---

>  doc/guides/nics/bnx2x.rst | 15 ++++++++++++---

>  1 file changed, 12 insertions(+), 3 deletions(-)

>

> diff --git a/doc/guides/nics/bnx2x.rst b/doc/guides/nics/bnx2x.rst index

> a7dee0c10..358ed7927 100644

> --- a/doc/guides/nics/bnx2x.rst

> +++ b/doc/guides/nics/bnx2x.rst

> @@ -69,9 +69,18 @@ Co-existence considerations

>    bnx2fi) is not supported on the same adapter. So storage personality

>    has to be disabled on that adapter when used in DPDK applications.

>

> -- For SR-IOV case, bnx2x PMD will be used to bind to SR-IOV VF device and

> -  Linux native kernel driver (bnx2x) will be attached to SR-IOV PF.

> -

> +- Linux kernel drivers and bnx2x PMD can’t be mixed on a given BCM578xx

> +  adapter. This type of coexistence is unsupported. A given adapter

> +  needs to be completely used by DPDK or Linux drivers, when SR-IOV

> +  is not enabled. Before binging DPDK driver to one or more devices on

> +  the adapter, please make sure to unbind Linux drivers from all

> +devices

> +  of the adapter. If there are multiple adapters on the system, one or

> +  more adapter can be used by DPDK driver and other adapters can be

> +used

> +  by Linux drivers.

> +

> +- When SR-IOV is enabled, Linux native kernel driver (bnx2x) can be

> +  bound to the PFs of a given adapter and either DPDK or Linux drivers

> +  can be bound to the VFs of the adapter.

>

>  Supported QLogic NICs

>  ---------------------

> --

> 2.18.0
  
Rasesh Mody Aug. 5, 2019, 9:28 a.m. UTC | #3
>From: Thomas Monjalon <thomas@monjalon.net>
>Sent: Wednesday, July 31, 2019 1:33 AM
>
>31/07/2019 10:02, Rasesh Mody:
>> Add and update co-existence considerations for bnx2x PMD
>>
>> Signed-off-by: Rasesh Mody <rmody@marvell.com>
>> ---
>>  doc/guides/nics/bnx2x.rst | 15 ++++++++++++---
>>  1 file changed, 12 insertions(+), 3 deletions(-)
>>
>> diff --git a/doc/guides/nics/bnx2x.rst b/doc/guides/nics/bnx2x.rst
>> index a7dee0c10..358ed7927 100644
>> --- a/doc/guides/nics/bnx2x.rst
>> +++ b/doc/guides/nics/bnx2x.rst
>> @@ -69,9 +69,18 @@ Co-existence considerations
>>    bnx2fi) is not supported on the same adapter. So storage personality
>>    has to be disabled on that adapter when used in DPDK applications.
>>
>> -- For SR-IOV case, bnx2x PMD will be used to bind to SR-IOV VF device
>> and
>> -  Linux native kernel driver (bnx2x) will be attached to SR-IOV PF.
>> -
>> +- Linux kernel drivers and bnx2x PMD can’t be mixed on a given
>> +BCM578xx
>> +  adapter. This type of coexistence is unsupported. A given adapter
>> +  needs to be completely used by DPDK or Linux drivers, when SR-IOV
>> +  is not enabled. Before binging DPDK driver to one or more devices
>> +on
>> +  the adapter, please make sure to unbind Linux drivers from all
>> +devices
>> +  of the adapter. If there are multiple adapters on the system, one
>> +or
>> +  more adapter can be used by DPDK driver and other adapters can be
>> +used
>> +  by Linux drivers.
>> +
>> +- When SR-IOV is enabled, Linux native kernel driver (bnx2x) can be
>> +  bound to the PFs of a given adapter and either DPDK or Linux
>> +drivers
>> +  can be bound to the VFs of the adapter.
>
>Same comment as for qede: this is not specific to the PMD.
>Please update and reference the Linux guide.

Please see the v2 set with documentation specific to QLogic adapters and use of bnx2x PMD.

Thanks!
-Rasesh
  

Patch

diff --git a/doc/guides/nics/bnx2x.rst b/doc/guides/nics/bnx2x.rst
index a7dee0c10..358ed7927 100644
--- a/doc/guides/nics/bnx2x.rst
+++ b/doc/guides/nics/bnx2x.rst
@@ -69,9 +69,18 @@  Co-existence considerations
   bnx2fi) is not supported on the same adapter. So storage personality
   has to be disabled on that adapter when used in DPDK applications.
 
-- For SR-IOV case, bnx2x PMD will be used to bind to SR-IOV VF device and
-  Linux native kernel driver (bnx2x) will be attached to SR-IOV PF.
-
+- Linux kernel drivers and bnx2x PMD can’t be mixed on a given BCM578xx
+  adapter. This type of coexistence is unsupported. A given adapter
+  needs to be completely used by DPDK or Linux drivers, when SR-IOV
+  is not enabled. Before binging DPDK driver to one or more devices on
+  the adapter, please make sure to unbind Linux drivers from all devices
+  of the adapter. If there are multiple adapters on the system, one or
+  more adapter can be used by DPDK driver and other adapters can be used
+  by Linux drivers.
+
+- When SR-IOV is enabled, Linux native kernel driver (bnx2x) can be
+  bound to the PFs of a given adapter and either DPDK or Linux drivers
+  can be bound to the VFs of the adapter.
 
 Supported QLogic NICs
 ---------------------