From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: [PATCH v3 0/3] clean-up on virtual PMDs Date: Fri, 26 Feb 2016 15:26:52 +0000 Message-ID: <1456500415-27416-1-git-send-email-ferruh.yigit@intel.com> References: <1455794803-20383-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 mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 610235A51 for ; Fri, 26 Feb 2016 16:27:49 +0100 (CET) In-Reply-To: <1455794803-20383-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 fields in private structure. Also for pcap: move a common code into a function 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: rename fields in internal data struct 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