From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-0016ce01.pphosted.com (mx0a-0016ce01.pphosted.com [67.231.148.157]) by dpdk.org (Postfix) with ESMTP id CECFBC634 for ; Sat, 20 Feb 2016 16:41:00 +0100 (CET) Received: from pps.filterd (m0045602.ppops.net [127.0.0.1]) by mx0a-0016ce01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u1KFe2VU020486 for ; Sat, 20 Feb 2016 07:41:00 -0800 Received: from avcashub1.qlogic.com ([198.186.0.116]) by mx0a-0016ce01.pphosted.com with ESMTP id 216r61r596-1 (version=TLSv1 cipher=AES128-SHA bits=128 verify=NOT) for ; Sat, 20 Feb 2016 07:40:59 -0800 Received: from avluser01.qlc.com (10.1.113.203) by qlc.com (10.1.4.191) with Microsoft SMTP Server id 14.3.235.1; Sat, 20 Feb 2016 07:40:59 -0800 Received: (from hpatil@localhost) by avluser01.qlc.com (8.14.4/8.14.4/Submit) id u1KFexmQ028501; Sat, 20 Feb 2016 07:40:59 -0800 From: Harish Patil To: Date: Sat, 20 Feb 2016 07:40:31 -0800 Message-ID: <1455982831-21682-7-git-send-email-harish.patil@qlogic.com> X-Mailer: git-send-email 1.7.10.3 In-Reply-To: <1455982831-21682-1-git-send-email-harish.patil@qlogic.com> References: <1455982831-21682-1-git-send-email-harish.patil@qlogic.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=5800 definitions=8080 signatures=670693 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1601100000 definitions=main-1602200235 Cc: Sony Chacko Subject: [dpdk-dev] [PATCH 6/6] qede: enable PMD build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2016 15:41:01 -0000 Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody Signed-off-by: Sony Chacko --- config/common_bsdapp | 15 +++++++++++++++ config/common_linuxapp | 16 ++++++++++++++++ drivers/net/Makefile | 1 + mk/rte.app.mk | 2 ++ scripts/test-build.sh | 1 + 5 files changed, 35 insertions(+) diff --git a/config/common_bsdapp b/config/common_bsdapp index 696382c..b1a6f38 100644 --- a/config/common_bsdapp +++ b/config/common_bsdapp @@ -295,6 +295,21 @@ CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB=n CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB_L1=n # +# QLogic 25G/40G PMD +# +CONFIG_RTE_LIBRTE_QEDE_PMD=y +CONFIG_RTE_LIBRTE_QEDE_DEBUG_INIT=n +CONFIG_RTE_LIBRTE_QEDE_DEBUG_INFO=n +CONFIG_RTE_LIBRTE_QEDE_DEBUG_ECORE=n +CONFIG_RTE_LIBRTE_QEDE_DEBUG_TX=n +CONFIG_RTE_LIBRTE_QEDE_DEBUG_RX=n +CONFIG_RTE_LIBRTE_QEDE_RX_COAL_US=24 +CONFIG_RTE_LIBRTE_QEDE_TX_COAL_US=48 +CONFIG_RTE_LIBRTE_QEDE_TX_SWITCHING=y +#Provides path/name of the firmware file +CONFIG_RTE_LIBRTE_QEDE_FW=n + +# # Compile null PMD # CONFIG_RTE_LIBRTE_PMD_NULL=y diff --git a/config/common_linuxapp b/config/common_linuxapp index f1638db..52e966c 100644 --- a/config/common_linuxapp +++ b/config/common_linuxapp @@ -308,6 +308,22 @@ CONFIG_RTE_LIBRTE_PMD_AF_PACKET=y # CONFIG_RTE_LIBRTE_PMD_XENVIRT=n + +# +# QLogic 25G/40G PMD +# +CONFIG_RTE_LIBRTE_QEDE_PMD=y +CONFIG_RTE_LIBRTE_QEDE_DEBUG_INIT=n +CONFIG_RTE_LIBRTE_QEDE_DEBUG_INFO=n +CONFIG_RTE_LIBRTE_QEDE_DEBUG_ECORE=n +CONFIG_RTE_LIBRTE_QEDE_DEBUG_TX=n +CONFIG_RTE_LIBRTE_QEDE_DEBUG_RX=n +CONFIG_RTE_LIBRTE_QEDE_RX_COAL_US=24 +CONFIG_RTE_LIBRTE_QEDE_TX_COAL_US=48 +CONFIG_RTE_LIBRTE_QEDE_TX_SWITCHING=y +#Provides path/name of the firmware file +CONFIG_RTE_LIBRTE_QEDE_FW=n + # # Compile null PMD # diff --git a/drivers/net/Makefile b/drivers/net/Makefile index 6e4497e..fd10734 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile @@ -51,6 +51,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_PMD_SZEDATA2) += szedata2 DIRS-$(CONFIG_RTE_LIBRTE_VIRTIO_PMD) += virtio DIRS-$(CONFIG_RTE_LIBRTE_VMXNET3_PMD) += vmxnet3 DIRS-$(CONFIG_RTE_LIBRTE_PMD_XENVIRT) += xenvirt +DIRS-$(CONFIG_RTE_LIBRTE_QEDE_PMD) += qede include $(RTE_SDK)/mk/rte.sharelib.mk include $(RTE_SDK)/mk/rte.subdir.mk diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 8ecab41..bebb06e 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -109,6 +109,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += -libverbs _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_SZEDATA2) += -lsze2 _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_XENVIRT) += -lxenstore _LDLIBS-$(CONFIG_RTE_LIBRTE_MPIPE_PMD) += -lgxio +_LDLIBS-$(CONFIG_RTE_LIBRTE_QEDE_PMD) += -lz # QAT PMD has a dependency on libcrypto (from openssl) for calculating HMAC precomputes _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_QAT) += -lcrypto endif # CONFIG_RTE_BUILD_COMBINE_LIBS or not CONFIG_RTE_BUILD_SHARED_LIBS @@ -152,6 +153,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_MPIPE_PMD) += -lrte_pmd_mpipe _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_RING) += -lrte_pmd_ring _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_PCAP) += -lrte_pmd_pcap _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET) += -lrte_pmd_af_packet +_LDLIBS-$(CONFIG_RTE_LIBRTE_QEDE_PMD) += -lrte_pmd_qede _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_NULL) += -lrte_pmd_null _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_QAT) += -lrte_pmd_qat diff --git a/scripts/test-build.sh b/scripts/test-build.sh index 6d28c5d..dfdc190 100755 --- a/scripts/test-build.sh +++ b/scripts/test-build.sh @@ -118,6 +118,7 @@ config () # test "$DPDK_DEP_ZLIB" != y || \ sed -ri 's,(BNX2X_PMD=)n,\1y,' $1/.config sed -ri 's,(NFP_PMD=)n,\1y,' $1/.config + sed -ri 's,(QEDE_PMD=)n,\1y,' $1/.config test "$DPDK_DEP_PCAP" != y || \ sed -ri 's,(PCAP=)n,\1y,' $1/.config test -z "$AESNI_MULTI_BUFFER_LIB_PATH" || \ -- 1.8.3.1