> -----Original Message----- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen > Hemminger > Sent: Wednesday, June 10, 2015 8:49 AM > To: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 5/5] virtio: clarify feature bit handling > > On Wed, 15 Apr 2015 08:20:19 -0700 > Stephen Hemminger <stephen at networkplumber.org> wrote: > > > Change the features from bit mask to bit number. This allows the DPDK > > driver to use the definitions from Linux[1]. This makes doing > > enhancements to DPDK driver easier when new feature bits are added. > > > > More importantly, get rid of the confusing feature bit initialization > > code. Remove the double negative code in the feature masking. > > Instead just have a new define with the list of feature bits implemented. > > > > Signed-off-by: Stephen Hemminger <stephen at networkplumber.org> > > --- > > lib/librte_pmd_virtio/virtio_ethdev.c | 17 +------ > > lib/librte_pmd_virtio/virtio_ethdev.h | 27 ++++------ > > lib/librte_pmd_virtio/virtio_pci.h | 96 ++++++++++++++++++--------------
As the path for virtio codes is moved to drivers/net/virtio, so need a v2 version to rebase it. Thanks Changchun