RE: [PATCH 5/5] habanalabs: leave space for 2xMSG_PROT in CB

From: Tomer Tayar
Date: Sun Apr 19 2020 - 02:15:05 EST


On Sat, Apr 18, 2020 at 11:25 AM, Oded Gabbay <oded.gabbay@xxxxxxxxx> wrote:
> The user must leave space for 2xMSG_PROT in the external CB, so adjust the
> define of max size accordingly. The driver, however, can still create a CB
> with the maximum size of 2MB. Therefore, we need to add a check
> specifically for the user requested size.
>
> Signed-off-by: Oded Gabbay <oded.gabbay@xxxxxxxxx>

Reviewed-by: Tomer Tayar <ttayar@xxxxxxxxx>