]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests: rds: Add helper function send_burst() in test.py
authorAllison Henderson <achender@kernel.org>
Mon, 18 May 2026 01:24:36 +0000 (18:24 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 21 May 2026 00:03:02 +0000 (17:03 -0700)
commit9996b296dabcf9ce2afa0c81b2addcdee37afc91
tree663d3257870355215a66407fc27cabfa3e07721f
parent78bcfe6f34c702d293e24c10a3541110e6f3818c
selftests: rds: Add helper function send_burst() in test.py

Hoist the send packet logic in test.py into a helper function,
send_burst().  This is a preparatory refactoring for the rds over ROCE
series that helps modularize the send/recv logic. Breaking up the logic
now will help avoid large function pylint errors later.  No functional
changes are introduced in this patch.

Signed-off-by: Allison Henderson <achender@kernel.org>
Link: https://patch.msgid.link/20260518012443.2629206-5-achender@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/rds/test.py