mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-22 09:12:10 +03:00
e95c46f86cc4170fec9177f27a9997dbcda64ed8
Issue: Tx/Rx DMA initialization in OSI does not actually
zero initialize all the descriptors. This inherently
assumes that the OSD layer would already zero initialize
the memory allocated for descriptors, which need not be
the case for all OSD's as this requirement isn't
called out.
Fix: Instead of relying on OSD to zero initialize the
descriptors, perform initialization in OSI during DMA
init operation. It is one time cost at init, so no
performance penalty in data path.
Bug 2779959
Change-Id: I39431184980fceeb836eca872491ac8d7ee029ca
Signed-off-by: Srinivas Ramachandran <srinivasra@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2259541
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bhadram Varka <vbhadram@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Description
No description provided