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 AA233A04B5; Thu, 29 Oct 2020 22:11:11 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0BCAFC9F0; Thu, 29 Oct 2020 22:11:09 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 1A182C9EC for ; Thu, 29 Oct 2020 22:11:06 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id B7FAE5C0196; Thu, 29 Oct 2020 17:11:04 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 29 Oct 2020 17:11:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= y9t8T1mRwi58UfyVHl93udRPcCjR977gX6VgAJGpRXY=; b=CRXVBCQ+sjUuwhrz PGpwf3wd496RANoI7MRIH/NPK/DA+xXzTE0b9QB3wuSSu2/sZ7cOTGKmmHpi5iIC uHWrPkain11HUH1H63hiLnMqkXr+OoQCx75KzqtaO0VmsxMWa3GktZw9RzzY1I7k oCKk/nM4cp0iB9j+YfXjN/u4Xh3cFzxOJW/ljHequLPTqVA+L/+bfZUAus1mFU92 Vk0vMxXN/DIdu34yBWoAJqQJ3jSc05nfR3HCiWhdji6QuLYKob9C+i+I4ZjD4BHz 5DKUhrsT4/cmiYmHElMy5yH9yjv2B/KPf93lYbjTisvfADn5aq/eKQfKvB0hNGXf geYzbw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=y9t8T1mRwi58UfyVHl93udRPcCjR977gX6VgAJGpR XY=; b=RsiODRDPCQ7/nGvgxbw3cjoSUVevHwwOhWFzvJ5LC0rf7/gd85gG1whts QwbfGUzDA6i8nBycESTdwKDB7wgAFCKDv6UwxILAQGAaB72kVnGHiDr/IjjpzzxM MFIwCjuoLG2csV1P+U4NbVSavN57tQ3ZfjRkOPmN0rrI+XccJ913wAxMWMqPaOpZ Qjp887rU11/Cl8DQSLuGy16jujZr7fjjYEvOLjIg5+IMPa9wF2hCV2U6EAKkq9pL 7CkjvyWt8nTIXguodLsNiKAFpRpCpJ7CuCZED1l97PNhKQ7yr+jh8wX8FR0o1Cb1 xKzWSYjazgmzrD0wLgVihdYXDxcVQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrleefgddugeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepffdvffejueetleefieeludduuefgteejleevfeekjeefieegheet ffdvkeefgedunecuffhomhgrihhnpeguphgukhdrohhrghenucfkphepjeejrddufeegrd dvtdefrddukeegnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilhhf rhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id AB2A03064680; Thu, 29 Oct 2020 17:11:03 -0400 (EDT) From: Thomas Monjalon To: Hariprasad Govindharajan Cc: dev@dpdk.org, ferruh.yigit@intel.com, anatoly.burakov@intel.com, bluca@debian.org Date: Thu, 29 Oct 2020 22:11:02 +0100 Message-ID: <8912277.FSvUtg7sLE@thomas> In-Reply-To: <1603999017-43206-1-git-send-email-hariprasad.govindharajan@intel.com> References: <1601909255-26251-1-git-send-email-hariprasad.govindharajan@intel.com> <1603999017-43206-1-git-send-email-hariprasad.govindharajan@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [DPDK_KMODS v5] linux/igb_uio: add Makefile to build the kernel module 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" 29/10/2020 20:16, Hariprasad Govindharajan: > With DPDK 20.11 release, the igb_uio module is no more part of DPDK. > There are use cases where this module is required, for example while > testing the virtual ports in OvS, the virtual ports are bound to > igb_uio module inside a VM. So, this patch provides a Makefile > which can be used to build this module and use as needed. > > Since there is no more dependency on DPDK headers, this module can be > built simply by running make in the source dir > > Signed-off-by: Hariprasad Govindharajan > --- > This patch will be part of dpdk-kmods repo > https://git.dpdk.org/dpdk-kmods/ > --- > v5: > Removed the DPDK dependency I prefer this approach, thanks. [...] > -#include > +/** > + * These enums and MACRO definitions are copied from the > + * file rte_pci_dev_features.h > + */ > + > +/* interrupt mode */ > + > +enum rte_intr_mode { > + RTE_INTR_MODE_NONE = 0, > + RTE_INTR_MODE_LEGACY, > + RTE_INTR_MODE_MSI, > + RTE_INTR_MODE_MSIX > +}; > + > +#define RTE_INTR_MODE_NONE_NAME "none" > +#define RTE_INTR_MODE_LEGACY_NAME "legacy" > +#define RTE_INTR_MODE_MSI_NAME "msi" > +#define RTE_INTR_MODE_MSIX_NAME "msix"