On 19.08.2024 10:47, Przemek Kitszel wrote:
On 8/19/24 10:21, Dawid Osuchowski wrote:
@@ -7731,6 +7733,10 @@ static void ice_rebuild(struct ice_pf *pf, enum
ice_reset_req reset_type)
ice_rebuild_arfs(pf);
}
+ struct ice_vsi *vsi = ice_get_main_vsi(pf);
you should separate declaration statements from expressions by one blank
line; we also put declarations at the very front of the scope
Will fix in next revision, thanks.
+ if (vsi && vsi->netdev)
+ netif_device_attach(vsi->netdev);
+
ice_update_pf_netdev_link(pf);
/* tell the firmware we are up */