net/enic: check max SIMD bitwidth
authorCiara Power <ciara.power@intel.com>
Mon, 19 Oct 2020 13:48:46 +0000 (15:48 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 19 Oct 2020 14:45:02 +0000 (16:45 +0200)
commitac61aa646322dc100689e03dbffdc9c5536cc23d
tree25117b1e9abb8673df7345f3d31f5a150331eb4e
parent086f9266478c2f9381db9e5db7813ac89172ad40
net/enic: check max SIMD bitwidth

When choosing a vector path to take, an extra condition must be
satisfied to ensure the max SIMD bitwidth allows for the CPU enabled
path.

Signed-off-by: Ciara Power <ciara.power@intel.com>
Acked-by: Hyong Youb Kim <hyonkim@cisco.com>
drivers/net/enic/enic_rxtx_vec_avx2.c