提交 8173c2f9 编写于 作者: M Michal Swiatkowski 提交者: David S. Miller

ice: properly alloc ICE_VSI_LB

Devlink reload patchset introduced regression. ICE_VSI_LB wasn't
taken into account when doing default allocation. Fix it by adding a
case for ICE_VSI_LB in ice_vsi_alloc_def().

Fixes: 6624e780 ("ice: split ice_vsi_setup into smaller functions")
Reported-by: NMaciej Fijalkowski <maciej.fijalkowski@intel.com>
Acked-by: NMaciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: NMichal Swiatkowski <michal.swiatkowski@linux.intel.com>
Reviewed-by: NAlexander Lobakin <aleksander.lobakin@intel.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 0d39ad3e
...@@ -627,6 +627,7 @@ ice_vsi_alloc_def(struct ice_vsi *vsi, struct ice_channel *ch) ...@@ -627,6 +627,7 @@ ice_vsi_alloc_def(struct ice_vsi *vsi, struct ice_channel *ch)
vsi->next_base_q = ch->base_q; vsi->next_base_q = ch->base_q;
break; break;
case ICE_VSI_VF: case ICE_VSI_VF:
case ICE_VSI_LB:
break; break;
default: default:
ice_vsi_free_arrays(vsi); ice_vsi_free_arrays(vsi);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册