From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 8751A5AA6 for ; Fri, 26 Feb 2016 17:58:26 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 26 Feb 2016 08:58:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,498,1449561600"; d="scan'208";a="921844009" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 26 Feb 2016 08:58:15 -0800 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id u1QGwDL4018460; Fri, 26 Feb 2016 16:58:13 GMT Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id u1QGwDAL005899; Fri, 26 Feb 2016 16:58:13 GMT Received: (from fyigit@localhost) by sivswdev01.ir.intel.com with id u1QGwDbH005894; Fri, 26 Feb 2016 16:58:13 GMT From: Ferruh Yigit To: dev@dpdk.org Date: Fri, 26 Feb 2016 16:58:06 +0000 Message-Id: <1456505889-5861-1-git-send-email-ferruh.yigit@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1456500415-27416-1-git-send-email-ferruh.yigit@intel.com> References: <1456500415-27416-1-git-send-email-ferruh.yigit@intel.com> Cc: =?UTF-8?q?Nicol=C3=A1s=20Pernas=20Maradei?= Subject: [dpdk-dev] [PATCH v4 0/3] clean-up on virtual PMDs 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: Fri, 26 Feb 2016 16:58:26 -0000 This is a clean-up patch, no defect fixed, no functional difference expected. Patch removes duplicated fields between data->dev_private and data (struct rte_eth_dev_data) for pcap and null PMDs. For ring, renames some variables and does code cleanup. Also for pcap: move a common code into a function v4: * ring: Commit message updated to mention from code cleanup, no code update. v3: * ring: Add fields in internal data struct back, rename them these fields required to keep max configured queue number v2: * ring: Add memory allocation and queue assignment back, these are to make rte_eth_from_ring() work without rte_eth_dev_configure() or rte_eth_rx/tx_queue_setup() calls Ferruh Yigit (3): pcap: remove duplicate fields in internal data struct ring: variable rename and code cleanup null: remove duplicate fields in internal data struct drivers/net/null/rte_eth_null.c | 36 ++++------- drivers/net/pcap/rte_eth_pcap.c | 130 +++++++++++++++++++--------------------- drivers/net/ring/rte_eth_ring.c | 59 +++++++++--------- 3 files changed, 102 insertions(+), 123 deletions(-) -- 2.5.0