diff options
author | Maxim Mikityanskiy <maximmi@nvidia.com> | 2022-01-26 17:18:26 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2022-03-17 11:51:55 -0700 |
commit | 8d35fb57fd907251992f85e97fa25e8db20d4bca (patch) | |
tree | 6377ef3d207d3586e190ceabef3af0351bb44218 /init | |
parent | c3cce0fff3a3be0372caa4821be58fc7cefaeb3c (diff) |
net/mlx5e: Build SKB in place over the first fragment in non-linear legacy RQ
As a performance optimization and preparation to enabling XDP multi
buffer on non-linear legacy RQ, build the linear part of the SKB over
the first fragment, instead of allocating a new buffer and copying the
first 256 bytes there.
To achieve this, add headroom and tailroom to the first fragment.
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 'init')
0 files changed, 0 insertions, 0 deletions