From patchwork Tue Nov 25 23:45:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sujith Sankar X-Patchwork-Id: 1556 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id E14747FE1; Tue, 25 Nov 2014 15:06:45 +0100 (CET) Received: from bgl-iport-1.cisco.com (bgl-iport-1.cisco.com [72.163.197.25]) by dpdk.org (Postfix) with ESMTP id 8B8096A95 for ; Tue, 25 Nov 2014 15:06:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1607; q=dns/txt; s=iport; t=1416925052; x=1418134652; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=VsMBnjLYwaoP8OZAFb+beEI4yAbiTO4EZEhivKa3ldc=; b=bXkLzdEJuHO253Fwyuiz3SKZwJVrrcxk0SMpdONoafosS0E8oF/a/a4g E8W1XbaOizef4wKD1bUnBYEvntnqvDTIGtSsiMb4x+iF9ZqVfCwu/BpXf 423X0s5DZbA5egsVBN3ss5lZhop3Ot6vqtB+Oe0R/oLHMwC3nRNZ9Mp7+ E=; X-IronPort-AV: E=Sophos;i="5.07,455,1413244800"; d="scan'208";a="47811986" Received: from vla196-nat.cisco.com (HELO bgl-core-1.cisco.com) ([72.163.197.24]) by bgl-iport-1.cisco.com with ESMTP; 25 Nov 2014 14:17:31 +0000 Received: from localhost ([10.106.186.168]) (authenticated bits=0) by bgl-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id sAPEHLBo029773 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 25 Nov 2014 14:17:28 GMT From: Sujith Sankar To: dev@dpdk.org Date: Wed, 26 Nov 2014 05:15:45 +0530 Message-Id: <1416959145-7694-7-git-send-email-ssujith@cisco.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1416959145-7694-1-git-send-email-ssujith@cisco.com> References: <1416959145-7694-1-git-send-email-ssujith@cisco.com> X-Authenticated-User: ssujith@cisco.com Cc: prrao@cisco.com Subject: [dpdk-dev] [PATCH v5 6/6] enicpmd: DPDK changes for accommodating ENIC PMD 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Signed-off-by: Sujith Sankar --- config/common_linuxapp | 5 +++++ lib/Makefile | 1 + mk/rte.app.mk | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/config/common_linuxapp b/config/common_linuxapp index 86a0d15..542fff2 100644 --- a/config/common_linuxapp +++ b/config/common_linuxapp @@ -210,6 +210,11 @@ CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM=4 CONFIG_RTE_LIBRTE_I40E_ITR_INTERVAL=-1 # +# Compile burst-oriented Cisco ENIC PMD driver +# +CONFIG_RTE_LIBRTE_ENIC_PMD=y + +# # Compile burst-oriented VIRTIO PMD driver # CONFIG_RTE_LIBRTE_VIRTIO_PMD=y diff --git a/lib/Makefile b/lib/Makefile index 204ef11..df17d78 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -43,6 +43,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_CMDLINE) += librte_cmdline DIRS-$(CONFIG_RTE_LIBRTE_ETHER) += librte_ether DIRS-$(CONFIG_RTE_LIBRTE_E1000_PMD) += librte_pmd_e1000 DIRS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += librte_pmd_ixgbe +DIRS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += librte_pmd_enic DIRS-$(CONFIG_RTE_LIBRTE_I40E_PMD) += librte_pmd_i40e DIRS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += librte_pmd_bond DIRS-$(CONFIG_RTE_LIBRTE_PMD_RING) += librte_pmd_ring diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 59468b0..bef823b 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -186,6 +186,10 @@ ifeq ($(CONFIG_RTE_LIBRTE_VMXNET3_PMD),y) LDLIBS += -lrte_pmd_vmxnet3_uio endif +ifeq ($(CONFIG_RTE_LIBRTE_ENIC_PMD),y) +LDLIBS += -lrte_pmd_enic +endif + ifeq ($(CONFIG_RTE_LIBRTE_VIRTIO_PMD),y) LDLIBS += -lrte_pmd_virtio_uio endif