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 94926A04C1; Fri, 22 Nov 2019 08:51:32 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 48B612C28; Fri, 22 Nov 2019 08:51:31 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id DBE002BF9 for ; Fri, 22 Nov 2019 08:51:29 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xAM7ntC0024118; Thu, 21 Nov 2019 23:51:28 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0818; bh=Eg+cUOzYWw/61aRtrUB8UgUw/G/WeqhItkB7PMBm5vc=; b=Yez5RxYc7tJKoxKGGSu/oxSgWOlgS//jcnv0T3VHQSEFrawWF4LV/murpnipGlIL+2Mf RQCvZerpT3M78c0x/ZkQWOxJnS04LVLf+wpLPnG+O4Y2MPkJkX96kUBPXYTEJ/9JTotE lDK63xnQj7RSIU5U+f2H7GTe0shrzes6glntz0xh0Ycp8QPYd3VrleJhBZLzTAn+L8Ji r7EkAZbTnU2f0PJva+kvgPoDviQbzIcSjfBNsOkJvTujt0xIpTh6NUXAYUxpT3oxO1Xm sMvrRuOvqI4VTg//AomizxWDFdRsidNPLlJZDJT4kyVxq3j9TrbMdn3DVa5CZf+IYseb uw== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2weafb8acy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 21 Nov 2019 23:51:28 -0800 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 21 Nov 2019 23:51:27 -0800 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Thu, 21 Nov 2019 23:51:27 -0800 Received: from irv1user08.caveonetworks.com (unknown [10.104.116.105]) by maili.marvell.com (Postfix) with ESMTP id 20EEF3F703F; Thu, 21 Nov 2019 23:51:27 -0800 (PST) Received: (from rmody@localhost) by irv1user08.caveonetworks.com (8.14.4/8.14.4/Submit) id xAM7pPsJ030294; Thu, 21 Nov 2019 23:51:25 -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: Thu, 21 Nov 2019 23:51:17 -0800 Message-ID: <20191122075117.30238-1-rmody@marvell.com> X-Mailer: git-send-email 2.18.0 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-21_07:2019-11-21,2019-11-21 signatures=0 Subject: [dpdk-dev] [PATCH] 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 Co-existence of 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 | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/doc/guides/nics/qede.rst b/doc/guides/nics/qede.rst index 2f4045795..9c14dd006 100644 --- a/doc/guides/nics/qede.rst +++ b/doc/guides/nics/qede.rst @@ -70,6 +70,10 @@ 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. +- To use DPDK on some PFs and Linux drivers on other PFs of an adapter, + create a VF each on the PFs where DPDK will be used, attach DPDK to + these VFs and Linux drivers to the other PFs where no VFs are created. + Supported QLogic Adapters ------------------------- @@ -82,9 +86,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 +101,6 @@ Prerequisites `QLogic Driver Download Center `_. For downloading PF driver, select adapter category, model and Linux distro. - Performance note ~~~~~~~~~~~~~~~~ @@ -126,12 +127,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