numam-dpdk/drivers
Jianfeng Tan bed3b24c87 net/virtio-user: fix feature negotiation
The feature negotiation in virtio-user is proven to be broken,
which results in device initialization failure.

Originally, we get features from vhost backend, and remove those
that are not supported. But when new feature is added, for example,
VIRTIO_NET_F_MTU, we fail to remove this new feature. Then, this
new feature will be negotiated, as both frontend and backend claim
to support this feature.

To fix it, we add a macro to record supported features, as a filter
to remove newly added features.

Fixes: 37a7eb2ae8 ("net/virtio-user: add device emulation layer")

Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2017-04-19 10:49:06 +02:00
..
bus bus/fslmc: add frame queue based dq storage 2017-04-19 15:37:37 +02:00
crypto vdev: use generic vdev struct for probe and remove 2017-04-14 15:41:50 +02:00
event vdev: use generic vdev struct for probe and remove 2017-04-14 15:41:50 +02:00
mempool mempool/dpaa2: add hardware offloaded mempool 2017-04-19 15:37:37 +02:00
net net/virtio-user: fix feature negotiation 2017-04-19 10:49:06 +02:00
Makefile net/dpaa2: introduce NXP DPAA2 driver 2017-04-19 15:37:37 +02:00