aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <maximmi@nvidia.com>2022-01-27 16:42:18 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2022-03-17 11:51:55 -0700
commit064990d0b65fd99c6fb59006f928a8b631db5816 (patch)
tree8fc918b52cb96b4212fb1c838bbf52bfdd0949e3 /net/unix/af_unix.c
parentnet/mlx5e: RX, Test the XDP program existence out of the handler (diff)
downloadwireguard-linux-064990d0b65fd99c6fb59006f928a8b631db5816.tar.xz
wireguard-linux-064990d0b65fd99c6fb59006f928a8b631db5816.zip
net/mlx5e: Drop the len output parameter from mlx5e_xdp_handle
The len parameter of mlx5e_xdp_handle is used to output the new packet length after XDP has processed the packet and returned XDP_PASS. However, this value can be calculated on the caller site, as the caller knows if it was an XDP_PASS. This commit drops the len parameter and moves the calculation to the caller, reducing the number of parameters passed to the function and preparing for XDP support in non-linear legacy RQ. Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions