net/virtio: remove duplicated AVX512 check
authorMarvin Liu <yong.liu@intel.com>
Tue, 12 May 2020 13:18:06 +0000 (21:18 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 18 May 2020 18:35:57 +0000 (20:35 +0200)
commite49247b9da6118b00b68194979e4667ef3a7e634
tree044b79543728edcb36b224fa0083ff388105b9c4
parent0fd5608ef97f9c467f1ecc926463cf793189443e
net/virtio: remove duplicated AVX512 check

Runtime checks for vectorized datapath are organized into device
configuration function. Remove duplicated check in device init
function.

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