aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/lib/test_modules_helpers.c
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2025-03-11 20:42:29 +0000
committerPaolo Abeni <[email protected]>2025-03-18 10:40:30 +0000
commit311b36574ceaccfa3f91b74054a09cd4bb877702 (patch)
tree3d1bf81f61f5a67fa29b27bfbf10b5dece0a0e6e /arch/s390/lib/test_modules_helpers.c
parentudp_tunnel: create a fastpath GRO lookup. (diff)
downloadkernel-311b36574ceaccfa3f91b74054a09cd4bb877702.tar.gz
kernel-311b36574ceaccfa3f91b74054a09cd4bb877702.zip
udp_tunnel: use static call for GRO hooks when possible
It's quite common to have a single UDP tunnel type active in the whole system. In such a case we can replace the indirect call for the UDP tunnel GRO callback with a static call. Add the related accounting in the control path and switch to static call when possible. To keep the code simple use a static array for the registered tunnel types, and size such array based on the kernel config. Reviewed-by: Willem de Bruijn <[email protected]> Link: https://patch.msgid.link/6fd1f9c7651151493ecab174e7b8386a1534170d.1741718157.git.pabeni@redhat.com Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'arch/s390/lib/test_modules_helpers.c')
0 files changed, 0 insertions, 0 deletions