diff options
author | Dragos Tatulea <dtatulea@nvidia.com> | 2024-06-04 00:22:12 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-06-05 20:20:46 -0700 |
commit | d34d7d1973c4d1125c430a9612d97bfc10cf6382 (patch) | |
tree | 90a473ad8fb9ae5589a55ce5309f1630d28c07fb /net/unix/af_unix.c | |
parent | e839ac9a89cb3bf1aa1652676fa3d6c79810e55d (diff) |
net/mlx5e: SHAMPO, Specialize mlx5e_fill_skb_data()
mlx5e_fill_skb_data() used to have multiple callers. But after the XDP
multibuf refactoring from commit 2cb0e27d43b4 ("net/mlx5e: RX, Prepare
non-linear striding RQ for XDP multi-buffer support") the SHAMPO code
path is the only caller.
Take advantage of this and specialize the function:
- Drop the redundant check.
- Assume that data_bcnt is > 0. This is needed in a downstream patch.
Rename the function as well to make things clear.
Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Suggested-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://lore.kernel.org/r/20240603212219.1037656-8-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions