net/ice: fix Tx queue vector setup
authorAlvin Zhang <alvinx.zhang@intel.com>
Sat, 8 May 2021 03:11:28 +0000 (11:11 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Mon, 10 May 2021 02:58:55 +0000 (04:58 +0200)
commit34ca5367d72fa7659f5c3ddaf895a278a611d09e
tree6691e6cc15ff3bd49bd73506b726ecb178049d16
parent35f9cb006534018b6f69dce8f0d22684fe98e812
net/ice: fix Tx queue vector setup

If vector mode is not allowed for Tx, no need to perform vector
related setup for Tx queue.

The patch deferred vector setup for Tx queue to the place that
vector mode is confirmed to be allowed.

Fixes: 28f9002ab67f ("net/ice: add Tx AVX512 offload path")

Signed-off-by: Alvin Zhang <alvinx.zhang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_rxtx.c