mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-24 18:42:16 +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 a flag for context descriptor. Based on this flag OSD can skip new buffer allocation and mapping for the context descriptor and use already allocated buffer. Bug 2700522 Change-Id: I18c8ebe39bf2eaaaeb13a9de3c9595cbe2ada45d Signed-off-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2214726 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>