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 44F3CA04C1; Sat, 23 Nov 2019 00:31:46 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C5F9A237; Sat, 23 Nov 2019 00:31:44 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 6B63091 for ; Sat, 23 Nov 2019 00:31:42 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xAMNO7Ib005037; Fri, 22 Nov 2019 15:31:41 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=pfpt0818; bh=qVdPyloDVbkfLqmNL4GbUhm1nKvyBv7wIweNjHHkEmA=; b=GVtwBitTmlDp/l8t81gsanfqN4AY1RUG45k9ibbcD/1EA6AyWHmosnwxf7tJbhAh0KlS YjfFptD8KE3xbP9f1iUJYVe5QDP751cKyF5H5tl3wdIdsjcEWcFaGLtavVAKKk4cpApW ERoJkZF1mqhalV7L5iCSK2n9Kn9ugGZjODCjfqICdr//Vm8ItJAisnj7cxD176nRJhOb te4+Qj9R49K9PWRuu+7GPiI9IULEI54AKCuSMm4HtEqC1A7tai1OqIiEA+BtHdZitmfY ai7i1vCih99m5M21Yxo6yxqAVnv7qiBzqxGXqH1rwOrDMlknIq6oCZ/+ivIwNahBePVc SQ== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0b-0016f401.pphosted.com with ESMTP id 2wearf3h89-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 22 Nov 2019 15:31:41 -0800 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 22 Nov 2019 15:31:38 -0800 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Fri, 22 Nov 2019 15:31:38 -0800 Received: from irv1user08.caveonetworks.com (unknown [10.104.116.105]) by maili.marvell.com (Postfix) with ESMTP id 3D0143F703F; Fri, 22 Nov 2019 15:31:38 -0800 (PST) Received: (from rmody@localhost) by irv1user08.caveonetworks.com (8.14.4/8.14.4/Submit) id xAMNVbga032068; Fri, 22 Nov 2019 15:31:37 -0800 X-Authentication-Warning: irv1user08.caveonetworks.com: rmody set sender to rmody@marvell.com using -f From: Rasesh Mody To: , , Thomas Monjalon CC: Rasesh Mody , Date: Fri, 22 Nov 2019 15:31:18 -0800 Message-ID: <20191122233118.31999-1-rmody@marvell.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20191122075117.30238-1-rmody@marvell.com> References: <20191122075117.30238-1-rmody@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-22_05:2019-11-21,2019-11-22 signatures=0 Subject: [dpdk-dev] [PATCH v2] doc: update qede PMD guide X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" - Add note for sharing an adapter between DPDK and Linux drivers. - Update the firmware version in example. - Add Config note for potential error due to lack of memzone desciptor count. Signed-off-by: Rasesh Mody --- doc/guides/nics/qede.rst | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/doc/guides/nics/qede.rst b/doc/guides/nics/qede.rst index 2f4045795..1b08eaafc 100644 --- a/doc/guides/nics/qede.rst +++ b/doc/guides/nics/qede.rst @@ -70,6 +70,12 @@ Co-existence considerations to the PFs of a given adapter and either qede PMD or Linux drivers (qed and qede) can be bound to the VFs of the adapter. +- For sharing an adapter between DPDK and Linux drivers, SRIOV needs + to be enabled. Bind all the PFs to Linux Drivers(qed/qede). Create + a VF on PFs where DPDK is desired and bind these VFs to qede_pmd. + Binding of PFs simultaneously to DPDK and Linux drivers on a given + adapter is not supported. + Supported QLogic Adapters ------------------------- @@ -82,9 +88,7 @@ Prerequisites inbox in certain newer Linux distros under the standard directory ``E.g. /lib/firmware/qed/qed_init_values-8.40.33.0.bin``. If the required firmware files are not available then download it from - `linux-firmware git repository `_ - or `QLogic Driver Download Center `_. - To download firmware file from QLogic website, select adapter category, model and DPDK Poll Mode Driver. + `linux-firmware git repository `_. - Requires the NIC be updated minimally with **8.30.x.x** Management firmware(MFW) version supported for that NIC. It is highly recommended that the NIC be updated with the latest available management firmware version to get latest feature set. @@ -99,7 +103,6 @@ Prerequisites `QLogic Driver Download Center `_. For downloading PF driver, select adapter category, model and Linux distro. - Performance note ~~~~~~~~~~~~~~~~ @@ -126,12 +129,26 @@ enabling debugging options may affect system performance. - ``CONFIG_RTE_LIBRTE_QEDE_FW`` (default **""**) Gives absolute path of firmware file. - ``Eg: "/lib/firmware/qed/qed_init_values-8.37.7.0.bin"`` + ``Eg: "/lib/firmware/qed/qed_init_values-8.40.33.0.bin"`` Empty string indicates driver will pick up the firmware file from the default location /lib/firmware/qed. CAUTION this option is more for custom firmware, it is not recommended for use under normal condition. +Config notes +~~~~~~~~~~~~ + +When there are multiple adapters and/or large number of Rx/Tx queues +configured on the adapters, the default (2560) number of memzone +descriptors may not be enough. Please increase the number of memzone +descriptors to a higher number as needed. When sufficient number of +memzone descriptors are not configured, user can potentially run into +following error. + + .. code-block:: console + + EAL: memzone_reserve_aligned_thread_unsafe(): No more room in config + Driver compilation and testing ------------------------------ -- 2.18.0