]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: selftests: export packet creation helpers for driver use
authorRaju Rangoju <Raju.Rangoju@amd.com>
Fri, 31 Oct 2025 11:18:11 +0000 (16:48 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 6 Nov 2025 12:38:11 +0000 (13:38 +0100)
commit6b47af35a6dded074ff583361f6d6668dd7a401d
tree72822bbb96126312583a0f86c5f05497bf057bff
parent0567c84d683d1f38dc41928eec786ec5c02bf7b4
net: selftests: export packet creation helpers for driver use

Export the network selftest packet creation infrastructure to allow
network drivers to reuse the existing selftest framework instead of
duplicating packet creation code.

Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20251031111811.775434-1-Raju.Rangoju@amd.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/net/selftests.h
net/core/selftests.c