1
0
Fork 0
alistair23-linux/drivers/net/ethernet/marvell/octeontx2/af
Eric Dumazet e1f2606892 octeontx2-af: change (struct qmem)->entry_sz from u8 to u16
[ Upstream commit 393415203f ]

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: 7a37245ef2 ("octeontx2-af: NPA block admin queue init")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-21 13:05:30 +02:00
..
Makefile octeontx2-af: Config NPC KPU engines with parser profile 2018-10-22 20:15:37 -07:00
cgx.c octeontx2-af: Fix a resource leak in an error handling path in 'cgx_probe()' 2019-01-04 12:44:50 -08:00
cgx.h octeontx2-af: Use the correct style for SPDX License Identifier 2019-11-16 12:14:20 -08:00
cgx_fw_if.h octeontx2-af: Use the correct style for SPDX License Identifier 2019-11-16 12:14:20 -08:00
common.h octeontx2-af: change (struct qmem)->entry_sz from u8 to u16 2020-08-21 13:05:30 +02:00
mbox.c octeontx2-af: Convert mbox handlers APIs to lowercase 2018-11-19 17:56:07 -08:00
mbox.h octeontx2-af: Use the correct style for SPDX License Identifier 2019-11-16 12:14:20 -08:00
npc.h octeontx2-af: Use the correct style for SPDX License Identifier 2019-11-16 12:14:20 -08:00
npc_profile.h octeontx2-af: Use the correct style for SPDX License Identifier 2019-11-16 12:14:20 -08:00
rvu.c octeontx2-af: Enable mkex profile 2018-12-03 16:23:08 -08:00
rvu.h octeontx2-af: Use the correct style for SPDX License Identifier 2019-11-16 12:14:20 -08:00
rvu_cgx.c octeontx2-af: Bringup CGX LMAC links by default 2018-11-23 17:23:25 -08:00
rvu_nix.c octeontx2-af: Add LSO format configuration mailbox 2018-12-03 16:23:08 -08:00
rvu_npa.c octeontx2-af: Teardown NPA, NIX LF upon receiving FLR 2018-11-19 17:56:08 -08:00
rvu_npc.c octeontx2-af: Enable mkex profile 2018-12-03 16:23:08 -08:00
rvu_reg.c octeontx2-af: NIX Tx scheduler queue config support 2018-10-22 20:15:37 -07:00
rvu_reg.h octeontx2-af: Use the correct style for SPDX License Identifier 2019-11-16 12:14:20 -08:00
rvu_struct.h octeontx2-af: Use the correct style for SPDX License Identifier 2019-11-16 12:14:20 -08:00