[dpdk-dev] [RFC 07/10] virtio: remove unnecessary adapter structure

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 07/10] virtio: remove unnecessary adapter structure > > Cleanup virtio

[dpdk-dev] [RFC 07/10] virtio: remove unnecessary adapter structure

2014-08-25 Thread Stephen Hemminger
Cleanup virtio code by eliminating unnecessary nesting of virtio hardware structure inside adapter structure. Also allows removing unneeded macro, making code clearer. --- lib/librte_pmd_virtio/virtio_ethdev.c | 31 +++ lib/librte_pmd_virtio/virtio_ethdev.h |9 --