[dpdk-dev] [PATCH 4/5] virtio: clarify feature bit handling
Ouyang, Changchun
changchun.ouyang at intel.com
Fri Jun 12 03:36:02 CEST 2015
> -----Original Message-----
> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> Sent: Thursday, June 11, 2015 11:53 PM
> To: Ouyang, Changchun
> Cc: dev at dpdk.org; Stephen Hemminger; Stephen Hemminger
> Subject: [PATCH 4/5] virtio: clarify feature bit handling
>
> From: Stephen Hemminger <shemming at brocade.com>
>
> Change the features from bit mask to bit number. This allows the DPDK
> driver to use the definitions from Linux (yes the header files already use a
> license compatiable with DPDK). This makes DPDK driver handle future
> feature bit changes.
>
> Get rid of double negative code in the feature bit intialization.
> Instead just have a new define with the list of feature bits implemented.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Acked-by: Changchun Ouyang<changchun.ouyang at intel.com>
More information about the dev
mailing list