aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2023-07-18 14:38:09 +0000
committerJakub Kicinski <[email protected]>2023-07-20 04:12:59 +0000
commit0558e1674598ec9029c1d3bceb787c8340272b51 (patch)
tree7f6d266fae8d81c53295f3504165114cafe8714b /net/switchdev/switchdev.c
parentMerge branch 'clean-up-the-fec-driver' (diff)
downloadkernel-0558e1674598ec9029c1d3bceb787c8340272b51.tar.gz
kernel-0558e1674598ec9029c1d3bceb787c8340272b51.zip
udp: use indirect call wrapper for data ready()
In most cases UDP sockets use the default data ready callback. Leverage the indirect call wrapper for such callback to avoid an indirect call in fastpath. The above gives small but measurable performance gain under UDP flood. Signed-off-by: Paolo Abeni <[email protected]> Reviewed-by: Willem de Bruijn <[email protected]> Link: https://lore.kernel.org/r/d47d53e6f8ee7a11228ca2f025d6243cc04b77f3.1689691004.git.pabeni@redhat.com Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions