Skip to content
Commit be635372 authored by Eric Dumazet's avatar Eric Dumazet Committed by Paul Gortmaker
Browse files

octeontx2-af: change (struct qmem)->entry_sz from u8 to u16

commit 39341520 upstream.

We need to increase TSO_HEADER_SIZE from 128 to 256.

Since otx2_sq_init() calls qmem_alloc() with TSO_HEADER_SIZE,
we need to change (struct qmem)->entry_sz to avoid truncation to 0.

Fixes: 7a37245e

 ("octeontx2-af: NPA block admin queue init")
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Cc: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent a8367daf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment