diff options
author | 2025-04-20 08:53:50 +0530 | |
---|---|---|
committer | 2025-04-23 18:33:14 -0700 | |
commit | b5cdb9b3113e6633d84f5598b5010794e86a4d35 (patch) | |
tree | 4ca5fb880503057c5fc5539ca6f9ccc3a83c2340 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue (diff) | |
download | wireguard-linux-b5cdb9b3113e6633d84f5598b5010794e86a4d35.tar.xz wireguard-linux-b5cdb9b3113e6633d84f5598b5010794e86a4d35.zip |
octeontx2-pf: AF_XDP: code clean up
The current API, otx2_xdp_sq_append_pkt, verifies the number of available
descriptors before sending packets to the hardware.
However, for AF_XDP, this check is unnecessary because the batch value
is already determined based on the free descriptors.
This patch introduces a new API, "otx2_xsk_sq_append_pkt" to address this.
Remove the logic for releasing the TX buffers, as it is implicitly handled
by xsk_tx_peek_release_desc_batch
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Link: https://patch.msgid.link/20250420032350.4047706-1-hkelam@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions