net/virtio: enable in-order feature if negotiated
authorMarvin Liu <yong.liu@intel.com>
Wed, 29 Apr 2020 07:28:15 +0000 (15:28 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 5 May 2020 13:54:26 +0000 (15:54 +0200)
commitf68a6fac2d5f27d9c4087ff4333f620172bb1d0b
treeb446cbb5eaf3f26a32624e616dce4ee3b2405c87
parent1982462eadeaf52e9b4bc0f9c3a795787e7e5624
net/virtio: enable in-order feature if negotiated

Ring initialization is different when inorder feature negotiated. This
action should dependent on negotiated feature bits.

Signed-off-by: Marvin Liu <yong.liu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_rxtx.c