]> git.droids-corp.org - dpdk.git/commit
net/ice: fix overwriting of LSE bit by DCF
authorMichal Wilczynski <michal.wilczynski@intel.com>
Fri, 18 Feb 2022 11:57:19 +0000 (12:57 +0100)
committerQi Zhang <qi.z.zhang@intel.com>
Sun, 20 Feb 2022 13:07:26 +0000 (14:07 +0100)
commitea9fac93e1ca1f0684b2ccdad9467a7760b4a3eb
tree49742ab8fd4ac4ad5856c1e29d42aa15199f0733
parent81fe6720f84fde2a9fe65f688d7895ca348f0738
net/ice: fix overwriting of LSE bit by DCF

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: 0b02c9519432 ("net/ice: handle PF initialization by DCF")
Cc: stable@dpdk.org
Signed-off-by: Michal Wilczynski <michal.wilczynski@intel.com>
Acked-by: Haiyue Wang <haiyue.wang@intel.com>
drivers/net/ice/ice_dcf_parent.c