Messages in this thread | | | From | Tomer Tayar <> | Subject | RE: [PATCH 5/5] habanalabs: leave space for 2xMSG_PROT in CB | Date | Sun, 19 Apr 2020 06:14:53 +0000 |
| |
On Sat, Apr 18, 2020 at 11:25 AM, Oded Gabbay <oded.gabbay@gmail.com> 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@gmail.com>
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
| |