mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 02:32:08 +03:00
Receive timestamp for a received packet will be in context descriptor which is immediate of normal descriptor (has valid packet data) In current case nvethernet driver only unmap normal descriptor buffer address and provide the buffer to the network stack for data processing. Context descriptor buffer is not unmapped which leads to running out of IOVA space for the new buffers. Context descriptor buffer can be used as is since that is not provided to the network stack. So this change to skip new buffer allocation and mapping for the context descriptor which has receive timestamp and use already allocated buffer. Bug 2700522 Change-Id: I55ef09286d20262384f792aa8875523ab3d3e9b9 Signed-off-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2214732 Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Srinivas Ramachandran <srinivasra@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>