[dpdk-dev] [PATCH v4 0/3] clean-up on virtual PMDs
Ferruh Yigit
ferruh.yigit at intel.com
Fri Feb 26 17:58:06 CET 2016
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
More information about the dev
mailing list