From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 2B19EC73C for ; Fri, 29 Jan 2016 18:17:24 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 29 Jan 2016 09:17:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,365,1449561600"; d="scan'208";a="891984319" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga001.fm.intel.com with ESMTP; 29 Jan 2016 09:17:21 -0800 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id u0THHLn4019765; Fri, 29 Jan 2016 17:17:21 GMT Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id u0THHK7K015193; Fri, 29 Jan 2016 17:17:20 GMT Received: (from fyigit@localhost) by sivswdev02.ir.intel.com with id u0THHJNm015189; Fri, 29 Jan 2016 17:17:19 GMT From: Ferruh Yigit To: dev@dpdk.org Date: Fri, 29 Jan 2016 17:16:19 +0000 Message-Id: <1454087782-15085-1-git-send-email-ferruh.yigit@intel.com> X-Mailer: git-send-email 1.7.4.1 Cc: =?UTF-8?q?Nicol=C3=A1s=20Pernas=20Maradei?= Subject: [dpdk-dev] [PATCH 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, 29 Jan 2016 17:17:24 -0000 This is a clean-up patch, no defect fixed, no functional difference expected. Patch mainly removes duplicated fields between data->dev_private and data (struct rte_eth_dev_data). There are a few minor cleanups that: pcap: move a common code into a function ring: remove duplicated data->rx/tx_queues allocation and assignment Ferruh Yigit (3): pcap: remove duplicate fields in internal data struct ring: remove duplicate 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 | 52 +++++----------- 3 files changed, 87 insertions(+), 131 deletions(-) -- 2.5.0