mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 17:55:05 +03:00
nvethernet: Get HV window base from DT
Issue: SID needs to be programmed through HV window to get it reflected in controller register space. Currently its programmed through RM window. Fix: Get HV window base address from DT and program in controller registers in non-hypervisor mode. Store MAC instance ID to program the same ASID values which are used in DT. Bug 200761024 Change-Id: Ie9bcaebcba39f2d07438c9502591c0f51f22378f Signed-off-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2592481 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Revanth Kumar Uppala
parent
c33c0b334c
commit
6c979ebdd5
@@ -1283,6 +1283,8 @@ int macsec_probe(struct ether_priv_data *pdata)
|
||||
macsec_pdata->id = 0;
|
||||
}
|
||||
|
||||
osi_core->instance_id = macsec_pdata->id;
|
||||
|
||||
/* Get OSI MACsec ops */
|
||||
if (osi_init_macsec_ops(osi_core) != 0) {
|
||||
dev_err(dev, "osi_init_macsec_ops failed\n");
|
||||
|
||||
Reference in New Issue
Block a user