aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDragos Tatulea <[email protected]>2024-06-04 00:22:12 +0300
committerJakub Kicinski <[email protected]>2024-06-05 20:20:46 -0700
commitd34d7d1973c4d1125c430a9612d97bfc10cf6382 (patch)
tree90a473ad8fb9ae5589a55ce5309f1630d28c07fb /tools/perf/scripts/python
parente839ac9a89cb3bf1aa1652676fa3d6c79810e55d (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 <[email protected]> Suggested-by: Tariq Toukan <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions