doc: use SPDX tag for bnx2x PMD guide
PATCH 1/2 doc: use SPDX tag for bnx2x PMD guide
--- doc/guides/nics/bnx2x.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
doc/guides/nics/bnx2x.rst +1 -2
@@ -1,6 +1,5 @@ -.. BSD LICENSE +.. SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2015 QLogic Corporation - All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions
Signature · 1 line
2.18.0
PATCH 2/2 doc: add a co-existence consideration for bnx2x PMD
Add and update co-existence considerations for bnx2x PMD
--- doc/guides/nics/bnx2x.rst | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-)
doc/guides/nics/bnx2x.rst +12 -3
@@ -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 ---------------------
Signature · 1 line
2.18.0
Re: [dpdk-dev] [PATCH 2/2] doc: add a co-existence consideration for bnx2x PMD
31/07/2019 10:02, Rasesh Mody:
Quoted 20 lines
Add and update co-existence considerations for bnx2x PMD
Signed-off-by Rasesh Mody <[email protected]>--- doc/guides/nics/bnx2x.rst | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-)doc/guides/nics/bnx2x.rst +2
-3@@ -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
doc/guides/nics/bnx2x.rst Co-existence considerations · line 83
Quoted 10 lines
doc/guides/nics/bnx2x.rst +10
-0+ 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.
Re: [dpdk-dev] [PATCH 2/2] doc: add a co-existence consideration for bnx2x PMD
Quoted 36 lines
From: Thomas Monjalon <[email protected]>
Sent: Wednesday, July 31, 2019 1:33 AM31/07/2019 10:02, Rasesh Mody:
Quoted 32 lines
Add and update co-existence considerations for bnx2x PMD
Signed-off-by Rasesh Mody <[email protected]>--- doc/guides/nics/bnx2x.rst | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-)doc/guides/nics/bnx2x.rst +0
-1@@ -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 deviceand
doc/guides/nics/bnx2x.rst +13
-2- 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.
Quoted 8 lines
doc/guides/nics/bnx2x.rst Co-existence considerations · line 83
Quoted 5 lines
doc/guides/nics/bnx2x.rst +5
-0+ +- 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
Re: [dpdk-dev] [PATCH 2/2] doc: add a co-existence consideration for bnx2x PMD
In reply to Rasesh Mody+ is not enabled. Before binging DPDK driver to one or more devices on
Binging=>binding
Thanks,
Shahed
Quoted 93 lines
-----Original Message-----
From: Rasesh Mody <[email protected]>
Sent: Wednesday, July 31, 2019 1:32 PM
Cc Rasesh Mody <[email protected]>; John McNamara<[email protected]>; Thomas Monjalon <[email protected]>;
Jerin Jacob Kollanukkaran <[email protected]>; GR-Everest-DPDK-Dev <GR-
Subject: [PATCH 2/2] doc: add a co-existence consideration for bnx2x PMD
Add and update co-existence considerations for bnx2x PMD
---
doc/guides/nics/bnx2x.rst | 15 ++++++++++++---1 file changed, 12 insertions(+), 3 deletions(-)doc/guides/nics/bnx2x.rst index renamed from doc/guides/nics/bnx2x.rst +0
-0
a7dee0c10..358ed7927100644---
a/doc/guides/nics/bnx2x.rst+++
b/doc/guides/nics/bnx2x.rstdoc/guides/nics/bnx2x.rst index renamed from doc/guides/nics/bnx2x.rst +14
-4@@ -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
+cc Jerin and John with proper email.
On 7/31/19, 1:02 AM, "Rasesh Mody" <[email protected]> wrote:
Signed-off-by: Rasesh Mody <[email protected]> --- doc/guides/nics/bnx2x.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/guides/nics/bnx2x.rst b/doc/guides/nics/bnx2x.rst index cecbfc2e7..a7dee0c10 100644 --- a/doc/guides/nics/bnx2x.rst +++ b/doc/guides/nics/bnx2x.rst @@ -1,6 +1,5 @@ -.. BSD LICENSE +.. SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2015 QLogic Corporation - All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions -- 2.18.0
PATCH v2 1/2 doc: use SPDX tag for bnx2x PMD guide
In reply to Rasesh ModyUse SPDX tag for bnx2x PMD guide
v2:
add short patch description
--- doc/guides/nics/bnx2x.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
doc/guides/nics/bnx2x.rst +1 -2
@@ -1,6 +1,5 @@ -.. BSD LICENSE +.. SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2015 QLogic Corporation - All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions
Signature · 1 line
2.18.0
Quoted 10 lines
-----Original Message-----
From: Rasesh Mody <[email protected]>
Sent: Monday, August 5, 2019 2:54 PM
To: [email protected]; Thomas Monjalon <[email protected]>
Cc: Rasesh Mody <[email protected]>; Hemant Agrawal <[email protected]>; Jerin Jacob Kollanukkaran <[email protected]>; John McNamara <[email protected]>; GR- Everest-DPDK-Dev <[email protected]>
Subject: [PATCH v2 1/2] doc: use SPDX tag for bnx2x PMD guide
Quoted 6 lines
Use SPDX tag for bnx2x PMD guide
v2:
add short patch descriptionSigned-off-by Rasesh Mody <[email protected]>
Series applied to dpdk-next-net-mrvl/master. Thanks.
PATCH v2 2/2 doc: add a co-existence consideration for bnx2x PMD
In reply to Rasesh ModyAdd and update co-existence considerations for bnx2x PMD
Cc: [email protected]
v2:
Made co-existence considerations for QLogic adapters more specific
--- doc/guides/nics/bnx2x.rst | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-)
doc/guides/nics/bnx2x.rst +21 -9
@@ -33,7 +33,7 @@ BNX2X Poll Mode Driver The BNX2X poll mode driver library (**librte_pmd_bnx2x**) implements support for **QLogic 578xx** 10/20 Gbps family of adapters as well as their virtual functions (VF) in SR-IOV context. It is supported on several standard Linux -distros like Red Hat 7.x and SLES12 OS. It is compile-tested under FreeBSD OS. +distros like RHEL and SLES. It is compile-tested under FreeBSD OS. More information can be found at `QLogic Corporation's Official Website <http://www.qlogic.com>`_.
@@ -64,14 +64,26 @@ The features not yet supported include: Co-existence considerations --------------------------- -- BCM578xx being a CNA can have both NIC and Storage personalities. - However, coexistence with storage protocol drivers (cnic, bnx2fc and - 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. - +- QLogic 578xx CNAs support Ethernet, iSCSI and FCoE functionalities. + These functionalities are supported using QLogic Linux kernel + drivers bnx2x, cnic, bnx2i and bnx2fc. DPDK is supported on these + adapters using bnx2x PMD. + +- When SR-IOV is not enabled on the adapter, + QLogic Linux kernel drivers (bnx2x, cnic, bnx2i and bnx2fc) and bnx2x + PMD can’t be attached to different PFs on a given QLogic 578xx + adapter. + A given adapter needs to be completely used by DPDK or Linux drivers. + Before binding DPDK driver to one or more PFs on the adapter, + please make sure to unbind Linux drivers from all PFs of the adapter. + If there are multiple adapters on the system, one or more adapters + can be used by DPDK driver completely and other adapters can be used + by Linux drivers completely. + +- When SR-IOV is enabled on the adapter, + Linux kernel drivers (bnx2x, cnic, bnx2i and bnx2fc) can be bound + to the PFs of a given adapter and either bnx2x PMD or Linux drivers + bnx2x can be bound to the VFs of the adapter. Supported QLogic NICs ---------------------
Signature · 1 line
2.18.0