net/ice: fix sideband queue initialization
authorDapeng Yu <dapengx.yu@intel.com>
Tue, 19 Oct 2021 09:44:49 +0000 (17:44 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Wed, 20 Oct 2021 01:37:37 +0000 (03:37 +0200)
commitc8c69973255018f779443f34ad6c81a4c9b7f47c
tree4ac92a0bdaecb35a3d40836fd8ba6dec309de279
parent1f66919817ee899c9d369d81ebe64ddac32bb814
net/ice: fix sideband queue initialization

Sideband queue need to be initialized when device is initialized.
Otherwise the calling to function "ice_init_ctrlq" may fail.

This patch fixes it.

Fixes: 97f4f78bbd9f ("net/ice/base: add functions for device clock control")
Cc: stable@dpdk.org
Signed-off-by: Dapeng Yu <dapengx.yu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_ethdev.c
drivers/net/ice/ice_ethdev.h