Re: [dpdk-dev] [PATCH v2 4/4] net/virtio: enable feature checking on virtio-user

2020-08-05 Thread Xia, Chenbo
> -Original Message- > From: Adrian Moreno > Sent: Tuesday, August 4, 2020 3:25 PM > To: dev@dpdk.org > Cc: Wang, Zhihong ; Xia, Chenbo > ; maxime.coque...@redhat.com; Adrian Moreno > > Subject: [PATCH v2 4/4] net/virtio: enable feature checking on virtio-user > > virtio 1.0 introduced

[dpdk-dev] [PATCH v2 4/4] net/virtio: enable feature checking on virtio-user

2020-08-04 Thread Adrian Moreno
virtio 1.0 introduced a mechanism for the driver to verify that the feature bits it sets are accepted by the device. This mechanism consists in setting the VIRTIO_STATUS_FEATURE_OK status bit and re-reading it, whitch gives a chance for the device to clear it if the the features were not accepted.