From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 03F2AA2E1B for ; Thu, 5 Sep 2019 12:19:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EE5281EF7D; Thu, 5 Sep 2019 12:19:23 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 5E7511EF6E for ; Thu, 5 Sep 2019 12:19:21 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CE5F91DA5; Thu, 5 Sep 2019 10:19:20 +0000 (UTC) Received: from rh.redhat.com (ovpn-117-52.ams2.redhat.com [10.36.117.52]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1768319C77; Thu, 5 Sep 2019 10:19:19 +0000 (UTC) From: Kevin Traynor To: Rasesh Mody Cc: dpdk stable Date: Thu, 5 Sep 2019 11:17:39 +0100 Message-Id: <20190905101754.21933-39-ktraynor@redhat.com> In-Reply-To: <20190905101754.21933-1-ktraynor@redhat.com> References: <20190905101754.21933-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.71]); Thu, 05 Sep 2019 10:19:20 +0000 (UTC) Subject: [dpdk-stable] patch 'doc: add co-existence consideration for bnx2x' has been queued to LTS release 18.11.3 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to LTS release 18.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 09/12/19. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/97e379db25aaa3064d391cb030601ad407f01dd0 Thanks. Kevin Traynor --- >From 97e379db25aaa3064d391cb030601ad407f01dd0 Mon Sep 17 00:00:00 2001 From: Rasesh Mody Date: Mon, 5 Aug 2019 02:24:26 -0700 Subject: [PATCH] doc: add co-existence consideration for bnx2x [ upstream commit 2efba79b1950053b86ec05a83af2a5f96d511ac9 ] Add and update co-existence considerations for bnx2x PMD Signed-off-by: Rasesh Mody --- doc/guides/nics/bnx2x.rst | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/doc/guides/nics/bnx2x.rst b/doc/guides/nics/bnx2x.rst index cecbfc2e7..8577c1a49 100644 --- a/doc/guides/nics/bnx2x.rst +++ b/doc/guides/nics/bnx2x.rst @@ -35,5 +35,5 @@ 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 @@ -66,12 +66,24 @@ 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. +- 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. -- 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. +- 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 -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2019-09-05 10:36:49.875165972 +0100 +++ 0039-doc-add-co-existence-consideration-for-bnx2x.patch 2019-09-05 10:36:47.541699780 +0100 @@ -1 +1 @@ -From 2efba79b1950053b86ec05a83af2a5f96d511ac9 Mon Sep 17 00:00:00 2001 +From 97e379db25aaa3064d391cb030601ad407f01dd0 Mon Sep 17 00:00:00 2001 @@ -6 +6 @@ -Add and update co-existence considerations for bnx2x PMD +[ upstream commit 2efba79b1950053b86ec05a83af2a5f96d511ac9 ] @@ -8 +8 @@ -Cc: stable@dpdk.org +Add and update co-existence considerations for bnx2x PMD @@ -16 +16 @@ -index a7dee0c10..00e131484 100644 +index cecbfc2e7..8577c1a49 100644 @@ -19 +19 @@ -@@ -34,5 +34,5 @@ The BNX2X poll mode driver library (**librte_pmd_bnx2x**) implements support +@@ -35,5 +35,5 @@ The BNX2X poll mode driver library (**librte_pmd_bnx2x**) implements support @@ -26 +26 @@ -@@ -65,12 +65,24 @@ Co-existence considerations +@@ -66,12 +66,24 @@ Co-existence considerations