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