numam-dpdk/drivers
Jianfeng Tan 142678d429 net/virtio-user: fix wrongly get/set features
Before the commit 86d59b2146 ("net/virtio: support LRO"), features
in virtio PMD, is decided and properly set at device initialization
and will not be changed. But afterward, features could be changed in
virtio_dev_configure(), and will be re-negotiated if it's changed.

In virtio-user, device features is obtained at driver probe phase
only once, but we did not store it. So the added feature bits in
re-negotiation will fail.

To fix it, we store it down, and will be used to feature negotiation
either at device initialization phase or device configure phase.

Fixes: e9efa4d938 ("net/virtio-user: add new virtual PCI driver")
Cc: stable@dpdk.org

Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2017-01-17 09:23:27 +01:00
..
crypto crypto/qat: rework request builder for performance 2016-10-26 14:58:37 +02:00
net net/virtio-user: fix wrongly get/set features 2017-01-17 09:23:27 +01:00
Makefile mk: fix build dependency of drivers on pmdinfogen 2016-07-08 12:04:02 +02:00