[dpdk-dev] [RFC 01/10] virtio: rearrange resource initialization

2014-08-26 Thread Ouyang, Changchun
Acked-by: Changchun Ouyang > -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, August 26, 2014 10:08 AM > To: Ouyang, Changchun > Cc: dev at dpdk.org > Subject: [RFC 01/10] virtio: rearrange resource initialization > > For clarity make t

[dpdk-dev] [RFC 01/10] virtio: rearrange resource initialization

2014-08-25 Thread Stephen Hemminger
For clarity make the setup of PCI resources for Linux into a function rather than block of code #ifdef'd in middle of dev_init. --- lib/librte_pmd_virtio/virtio_ethdev.c | 76 +++--- 1 file changed, 43 insertions(+), 33 deletions(-) --- a/lib/librte_pmd_virtio/virti