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. Reviewed-by: Tomer Tayar <ttayar@habana.ai> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com> |
||
|---|---|---|
| .. | ||
| uacce | ||
| cxl.h | ||
| fastrpc.h | ||
| habanalabs.h | ||
| ocxl.h | ||
| pvpanic.h | ||
| xilinx_sdfec.h | ||