Skip to content

Commit

Permalink
net/ice: fix overwriting of LSE bit by DCF
Browse files Browse the repository at this point in the history
[ upstream commit ea9fac9 ]

After enabling DCF on a VF, the ice driver stops receiving
link updates on it's Admin Receive Queue. During the init
of DCF ice_aqc_opc_get_link_status command is send to the
firmware without LSE (Link Status Event) bit set. This prevents
the ice driver from receiving up/down events, and correspondingly
updating netdev.

Fixes: 0b02c95 ("net/ice: handle PF initialization by DCF")

Signed-off-by: Michal Wilczynski <michal.wilczynski@intel.com>
Acked-by: Haiyue Wang <haiyue.wang@intel.com>
  • Loading branch information
mwilczy authored and bluca committed Feb 28, 2022
1 parent b1b1cd7 commit 7eaca36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ice/ice_dcf_parent.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ ice_dcf_init_parent_hw(struct ice_hw *hw)
goto err_unroll_alloc;

/* Initialize port_info struct with link information */
status = ice_aq_get_link_info(hw->port_info, false, NULL, NULL);
status = ice_aq_get_link_info(hw->port_info, true, NULL, NULL);
if (status)
goto err_unroll_alloc;

Expand Down

0 comments on commit 7eaca36

Please sign in to comment.