summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c
diff options
context:
space:
mode:
authorHariprasad Kelam <hkelam@marvell.com>2025-08-21 09:25:28 +0300
committerJakub Kicinski <kuba@kernel.org>2025-08-23 01:53:04 +0300
commita64494aafc56939564e3e9e57f99df5c27204e04 (patch)
tree8efd6af5d192f0cc7af4af20bc3372c26cd47f13 /tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c
parentabadf0ff63be488dc502ecfc9f622929a21b7117 (diff)
downloadlinux-a64494aafc56939564e3e9e57f99df5c27204e04.tar.xz
Octeontx2-vf: Fix max packet length errors
Once driver submits the packets to the hardware, each packet traverse through multiple transmit levels in the following order: SMQ -> TL4 -> TL3 -> TL2 -> TL1 The SMQ supports configurable minimum and maximum packet sizes. It enters to a hang state, if driver submits packets with out of bound lengths. To avoid the same, implement packet length validation before submitting packets to the hardware. Increment tx_dropped counter on failure. Fixes: 3184fb5ba96e ("octeontx2-vf: Virtual function driver support") Fixes: 22f858796758 ("octeontx2-pf: Add basic net_device_ops") Fixes: 3ca6c4c882a7 ("octeontx2-pf: Add packet transmission support") Signed-off-by: Hariprasad Kelam <hkelam@marvell.com> Link: https://patch.msgid.link/20250821062528.1697992-1-hkelam@marvell.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c')
0 files changed, 0 insertions, 0 deletions