[dpdk-dev] [PATCH 2/6] ethdev: add common function for reserving DMA regions

2015-10-22 Thread Stephen Hemminger
The code to create aligned DMA regions was copy-n-pasted throughout all the drivers. Since this code has to change now create a common function that just does the right thing for Xen at runtime. Signed-off-by: Stephen Hemminger --- lib/librte_ether/rte_ethdev.c | 24 lib

[dpdk-dev] [PATCH 2/6] ethdev: add common function for reserving DMA regions

2015-09-28 Thread Stephen Hemminger
The code to create aligned DMA regions was copy-n-pasted throughout all the drivers. Since this code has to change now create a common function that just does the right thing for Xen at runtime. Signed-off-by: Stephen Hemminger --- lib/librte_ether/rte_ethdev.c | 24 lib