diff options
author | Haren Myneni <[email protected]> | 2019-06-18 12:09:22 -0700 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2019-06-28 10:08:03 +0800 |
commit | e52d484d9869eb291140545746ccbe5ffc7c9306 (patch) | |
tree | 7990c333a2571529a58e00c769526a2f75ea8b5b /net/lapb/lapb_subr.c | |
parent | 90acc0653d2bee203174e66d519fbaaa513502de (diff) |
crypto/NX: Set receive window credits to max number of CRBs in RxFIFO
System gets checkstop if RxFIFO overruns with more requests than the
maximum possible number of CRBs in FIFO at the same time. The max number
of requests per window is controlled by window credits. So find max
CRBs from FIFO size and set it to receive window credits.
Fixes: b0d6c9bab5e4 ("crypto/nx: Add P9 NX support for 842 compression engine")
CC: [email protected] # v4.14+
Signed-off-by:Haren Myneni <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions