summaryrefslogtreecommitdiff
path: root/include/media/v4l2-flash-led-class.h
diff options
context:
space:
mode:
authorDragos Tatulea <dtatulea@nvidia.com>2023-05-31 21:18:49 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2023-07-05 10:57:04 -0700
commit7abd955a58fb0fcd4e756fa2065c03ae488fcfa7 (patch)
tree85b2e805f04411c294d3bad96b214bf6a43d3cef /include/media/v4l2-flash-led-class.h
parent6496357aa5f710eec96f91345b9da1b37c3231f6 (diff)
net/mlx5e: RX, Fix page_pool page fragment tracking for XDP
Currently mlx5e releases pages directly to the page_pool for XDP_TX and does page fragment counting for XDP_REDIRECT. RX pages from the page_pool are leaking on XDP_REDIRECT because the xdp core will release only one fragment out of MLX5E_PAGECNT_BIAS_MAX and subsequently the page is marked as "skip release" which avoids the driver release. A fix would be to take an extra fragment for XDP_REDIRECT and not set the "skip release" bit so that the release on the driver side can handle the remaining bias fragments. But this would be a shortsighted solution. Instead, this patch converges the two XDP paths (XDP_TX and XDP_REDIRECT) to always do fragment tracking. The "skip release" bit is no longer necessary for XDP. Fixes: 6f5742846053 ("net/mlx5e: RX, Enable skb page recycling through the page_pool") Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/media/v4l2-flash-led-class.h')
0 files changed, 0 insertions, 0 deletions