> -----Original Message-----
> From: Srikanth Yalavarthi <[email protected]>
> Sent: Tuesday, February 7, 2023 9:37 PM
> To: Srikanth Yalavarthi <[email protected]>
> Cc: [email protected]; Shivah Shankar Shankar Narayan Rao
> <[email protected]>; Jerin Jacob Kollanukkaran <[email protected]>;
> Anup Prabhu <[email protected]>; Prince Takkar <[email protected]>;
> Parijat Shukla <[email protected]>
> Subject: [PATCH v5 35/39] ml/cnxk: add support to select OCM allocation mode
> 
> Added device argument "ocm_alloc_mode" to select OCM allocation method
> during model start. Two modes are supported by the driver.
> 
> Added implementation for ocm_alloc_mode lowest as default.
> 
> ocm_alloc_mode:
> lowest:  Allocate from first available free slot / lowest
>          tile ID in OCM (default)
> largest: Allocate from a slot with maximum free memory
> 
> Signed-off-by: Srikanth Yalavarthi <[email protected]>
> ---
>  drivers/ml/cnxk/cn10k_ml_dev.c | 45 +++++++++++++++++++++++++++++-----
>  drivers/ml/cnxk/cn10k_ml_ocm.c |  6 ++---  drivers/ml/cnxk/cn10k_ml_ocm.h |
> 3 +++
>  3 files changed, 44 insertions(+), 10 deletions(-)
> 
Acked-by: Prince Takkar <[email protected]>

<<attachment: winmail.dat>>

Reply via email to