From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by dpdk.org (Postfix) with ESMTP id 49D9C3792 for ; Wed, 6 May 2015 23:37:20 +0200 (CEST) Received: by pdbnk13 with SMTP id nk13so21306167pdb.0 for ; Wed, 06 May 2015 14:37:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Cyd573hiRYrcLMttmNHI0EfBnusZM4z/OhhIJhbieU8=; b=jNeXDVxwCcy/VJsFTbDNV0DWqs36nYARxpVZSxnK0g3PEyFLUzJD4c0thh6B8EDnRe zxrbtnZidmRu8069KCV+SKquCy7Qe8jxga9IBvtlIRiLnRhI8nNEeG+8Vji8pL83CuHw pFttZfVLZKg3SBdUUmyiMcZEtETtavkFMa7jmyVmi2JRxZR6olkQANH/YHJ9E7aymDAw rS1jMgrX4VsxdbWi0Jz2C6kEMFqTGl6jaHNv+NIZfOT0gcbJIGwx4jYCdO413UWPxQqy PyP/MkINVzsJW42mKGMaFO11s/K8cS1w179+rBu+UPmtmEwNsFjv1ixgkmRn5R4uquJp tn6w== X-Gm-Message-State: ALoCoQnMW1ZVgmdQIbiwkoWrUtfbfWY8yerrzrz04KBebpCN4n3yp8Yy4IIE3IVakIfJLAXLJ/IX X-Received: by 10.70.34.46 with SMTP id w14mr1355478pdi.32.1430948239593; Wed, 06 May 2015 14:37:19 -0700 (PDT) Received: from urahara.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id zt9sm23335pac.9.2015.05.06.14.37.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 May 2015 14:37:19 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Date: Wed, 6 May 2015 14:37:08 -0700 Message-Id: <1430948228-1426-4-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1430948228-1426-1-git-send-email-stephen@networkplumber.org> References: <1430948228-1426-1-git-send-email-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH 3/3] bnx2x: enable BNX2X poll mode driver 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: Wed, 06 May 2015 21:37:20 -0000 This is build infrastructure changes for bnx2x driver. - enable BNX2X poll mode driver in default config. - add it to mk - put entry in MAINTAINERS Note: I intentionally did not list myself as maintainer of this driver. There is no official support for this driver. Signed-off-by: Stephen Hemminger --- MAINTAINERS | 3 +++ config/common_linuxapp | 10 ++++++++++ mk/rte.app.mk | 8 ++++++++ 3 files changed, 21 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f53b87e..f9340c6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -258,6 +258,9 @@ M: John McNamara F: lib/librte_pmd_pcap/ F: doc/guides/nics/pcap_ring.rst +Qlogic/Broadcom bnx2x +F: lib/librte_pmd_bnx2x/ + Ring PMD M: Bruce Richardson F: lib/librte_pmd_ring/ diff --git a/config/common_linuxapp b/config/common_linuxapp index 0078dc9..ef991f2 100644 --- a/config/common_linuxapp +++ b/config/common_linuxapp @@ -214,6 +214,16 @@ CONFIG_RTE_LIBRTE_ENIC_PMD=y CONFIG_RTE_LIBRTE_ENIC_DEBUG=n # +# Compile burst-oriented Broadcom PMD driver +# +CONFIG_RTE_LIBRTE_BNX2X_PMD=y +CONFIG_RTE_LIBRTE_BNX2X_DEBUG_INIT=n +CONFIG_RTE_LIBRTE_BNX2X_DEBUG=n +CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT=n +CONFIG_RTE_LIBRTE_BNX2X_DEBUG_TX=n +CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX=n + +# # Compile burst-oriented VIRTIO PMD driver # CONFIG_RTE_LIBRTE_VIRTIO_PMD=y diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 62a76ae..3bc0f5d 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -151,6 +151,10 @@ ifeq ($(CONFIG_RTE_LIBRTE_MLX4_PMD),y) LDLIBS += -libverbs endif +ifeq ($(CONFIG_RTE_LIBRTE_BNX2X_PMD),y) +LDLIBS += -lz +endif + LDLIBS += --start-group ifeq ($(CONFIG_RTE_BUILD_COMBINE_LIBS),n) @@ -219,6 +223,10 @@ ifeq ($(CONFIG_RTE_LIBRTE_ENIC_PMD),y) LDLIBS += -lrte_pmd_enic endif +ifeq ($(CONFIG_RTE_LIBRTE_BNX2X_PMD),y) +LDLIBS += -lrte_pmd_bnx2x +endif + ifeq ($(CONFIG_RTE_LIBRTE_I40E_PMD),y) LDLIBS += -lrte_pmd_i40e endif -- 2.1.4