mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-25 02:52:22 +03:00
Issue: Currently OSD has access to osi_core_ops so these operations can be changed by OSD. Also each entry funnction has checks for validating these function pointers which would increase the unit tests and complexity as well. Fix: Move dma_ops to inside OSI and set a flag indicate that CORE software init done. Each entry function needs to check only flag Bug 200671160 Change-Id: I6def9e5c39f90a08eb4f48a124a1c2c8c65175a4 Signed-off-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2435991 Reviewed-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Srinivas Ramachandran <srinivasra@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit