diff options
author | 2025-08-21 11:55:28 +0530 | |
---|---|---|
committer | 2025-08-22 15:53:04 -0700 | |
commit | a64494aafc56939564e3e9e57f99df5c27204e04 (patch) | |
tree | 8efd6af5d192f0cc7af4af20bc3372c26cd47f13 /tools/perf/scripts/python | |
parent | page_pool: fix incorrect mp_ops error handling (diff) | |
download | wireguard-linux-a64494aafc56939564e3e9e57f99df5c27204e04.tar.xz wireguard-linux-a64494aafc56939564e3e9e57f99df5c27204e04.zip |
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/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions