Files
nvethernetrm/include
narayanr 8e7a09a4a8 nvethernetrm: drop rx packets longer than current MTU
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>
2024-02-21 16:31:59 +05:30
..
2024-02-21 16:31:59 +05:30