mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-24 10:34:24 +03:00
Issue: When JE is set, HW will accept any valid packet on Rx upto 9K or 16K (depending on GPSCLE bit), irrespective of whether MTU set is lower than these specific values. When Rx buf len is allocated to be exactly same as MTU, HW will consume more than 1 Rx desc to place the larger packet. Fix: Drop Rx packets which are longer than currently set MTU since HW cannot drop them. Bug 2870545 Signed-off-by: narayanr <narayanr@nvidia.com> Change-Id: I869f4858f8d2b502a3965dc2ca40cda8805f9886 Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2308379 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>