aboutsummaryrefslogtreecommitdiff
path: root/include/linux/trace_recursion.h
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <[email protected]>2022-01-26 15:49:23 +0200
committerSaeed Mahameed <[email protected]>2022-03-17 11:51:54 -0700
commitc3cce0fff3a3be0372caa4821be58fc7cefaeb3c (patch)
treeaa7812bf7ec7501c3e4f4a0c780283c9886e6478 /include/linux/trace_recursion.h
parent7c3b4df594b6c51c1fc95e6fd9f949bdddff34b5 (diff)
net/mlx5e: Add headroom only to the first fragment in legacy RQ
Currently, rq->buff.headroom is applied to all fragments in legacy RQ. In the linear mode, there is a non-zero headroom, but there is only one fragment per packet. In the non-linear mode, the headroom is zero. This commit changes the logic to apply the headroom only to the first fragment. The current behavior remains the same for both linear and non-linear modes. However, it allows the next commit to enable headroom for the non-linear mode, which will be applied only to the first fragment. Signed-off-by: Maxim Mikityanskiy <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'include/linux/trace_recursion.h')
0 files changed, 0 insertions, 0 deletions