RE: [PATCH v2 10/20] net/ice/base: reduce time to read Option data

2023-05-22 Thread Keller, Jacob E
> -Original Message- > From: Yang, Qiming > Sent: Thursday, May 18, 2023 8:16 AM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Yang, Qiming ; > Keller, Jacob E > Subject: [PATCH v2 10/20] net/ice/base: reduce time to read Option data > > Re-write ice_get_orom_civd

[PATCH v2 10/20] net/ice/base: reduce time to read Option data

2023-05-18 Thread Qiming Yang
Re-write ice_get_orom_civd_data to allocate memory to store the Option ROM data. This change significantly reduces the time to read the Option ROM CIVD section from ~10 seconds down to ~1 second. Signed-off-by: Jacob Keller Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_nvm.c | 50