From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: [PATCH v4 0/3] clean-up on virtual PMDs Date: Fri, 26 Feb 2016 16:58:06 +0000 Message-ID: <1456505889-5861-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?= To: dev@dpdk.org 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) In-Reply-To: <1456500415-27416-1-git-send-email-ferruh.yigit@intel.com> 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" 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