Home
last modified time | relevance | path

Searched hist:"5 b246e533d0177775c64b40a2af1e62aff5d279b" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_common.cdiff 5b246e533d0177775c64b40a2af1e62aff5d279b Wed Dec 21 05:38:18 CST 2022 Michal Swiatkowski <michal.swiatkowski@linux.intel.com> ice: split probe into smaller functions

Part of code from probe can be reused in reload flow. Move this code to
separate function. Create unroll functions for each part of
initialization, like: ice_init_dev() and ice_deinit_dev(). It
simplifies unrolling and can be used in remove flow.

Avoid freeing port info as it could be reused in reload path.
Will be freed in remove path since is allocated via devm_kzalloc().

Also clean the remove path to reflect the init steps.

Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
H A Dice.hdiff 5b246e533d0177775c64b40a2af1e62aff5d279b Wed Dec 21 05:38:18 CST 2022 Michal Swiatkowski <michal.swiatkowski@linux.intel.com> ice: split probe into smaller functions

Part of code from probe can be reused in reload flow. Move this code to
separate function. Create unroll functions for each part of
initialization, like: ice_init_dev() and ice_deinit_dev(). It
simplifies unrolling and can be used in remove flow.

Avoid freeing port info as it could be reused in reload path.
Will be freed in remove path since is allocated via devm_kzalloc().

Also clean the remove path to reflect the init steps.

Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
H A Dice_main.cdiff 5b246e533d0177775c64b40a2af1e62aff5d279b Wed Dec 21 05:38:18 CST 2022 Michal Swiatkowski <michal.swiatkowski@linux.intel.com> ice: split probe into smaller functions

Part of code from probe can be reused in reload flow. Move this code to
separate function. Create unroll functions for each part of
initialization, like: ice_init_dev() and ice_deinit_dev(). It
simplifies unrolling and can be used in remove flow.

Avoid freeing port info as it could be reused in reload path.
Will be freed in remove path since is allocated via devm_kzalloc().

Also clean the remove path to reflect the init steps.

Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>