aboutsummaryrefslogtreecommitdiff
path: root/include/linux/trace_recursion.h
diff options
context:
space:
mode:
authorTariq Toukan <[email protected]>2022-01-19 21:28:36 +0200
committerSaeed Mahameed <[email protected]>2022-03-17 11:51:55 -0700
commite26eceb90b01ed941a6d13419a890930adcac494 (patch)
tree4815802cbf714f7660b97ba92b6a0d6dd827a947 /include/linux/trace_recursion.h
parent8d35fb57fd907251992f85e97fa25e8db20d4bca (diff)
net/mlx5e: RX, Test the XDP program existence out of the handler
Instead of early return inside mlx5e_xdp_handle(), let the caller check if an XDP program is loaded. This allows saving a few unnecessary function calls and calculations in case !prog. Performance test: single core, drop packets in iptables Before: 3,872,504 pps After: 3,975,628 pps (+2.66%) Signed-off-by: Tariq Toukan <[email protected]> Reviewed-by: Maxim Mikityanskiy <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'include/linux/trace_recursion.h')
0 files changed, 0 insertions, 0 deletions