diff options
author | Carolina Jubran <cjubran@nvidia.com> | 2023-11-23 17:11:20 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-12-14 04:22:17 +0300 |
commit | bcaf109f794744c14da0e9123b31d1f4571b0a35 (patch) | |
tree | 9e94008884d87ed72e84e2f5434d84ce7842ed4d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | be86106fd74a145f24c56c9bc18d658e8fe6d4f4 (diff) | |
download | linux-bcaf109f794744c14da0e9123b31d1f4571b0a35.tar.xz |
net/mlx5e: XDP, Drop fragmented packets larger than MTU size
XDP transmits fragmented packets that are larger than MTU size instead of
dropping those packets. The drop check that checks whether a packet is larger
than MTU is comparing MTU size against the linear part length only.
Adjust the drop check to compare MTU size against both linear and non-linear
part lengths to avoid transmitting fragmented packets larger than MTU size.
Fixes: 39a1665d16a2 ("net/mlx5e: Implement sending multi buffer XDP frames")
Signed-off-by: Carolina Jubran <cjubran@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions