mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-22 17:34:29 +03:00
osi: MACSec: Update IPG changes for EQoS MACSec
Issue: IPG is not updated when MACsec is enabled for Thor Fix: Removed the check to program IPG only if MAC type is Orin Bug 4768403 Change-Id: I68ddac02d241a94e0a270d15d3c441fb7fc945a7 Signed-off-by: Sanath Kumar Gampa <sgampa@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/3188748 Reviewed-by: Krishna Thota <kthota@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Mahesh Patil <maheshp@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
26c551ceba
commit
35d0eb1f7d
@@ -4130,7 +4130,6 @@ static void eqos_config_for_macsec(struct osi_core_priv_data *const osi_core,
|
|||||||
{
|
{
|
||||||
nveu32_t value = 0U, temp = 0U;
|
nveu32_t value = 0U, temp = 0U;
|
||||||
|
|
||||||
if (osi_core->mac_ver == OSI_EQOS_MAC_5_30) {
|
|
||||||
/* stop MAC Tx */
|
/* stop MAC Tx */
|
||||||
eqos_config_mac_tx(osi_core, OSI_DISABLE);
|
eqos_config_mac_tx(osi_core, OSI_DISABLE);
|
||||||
if (enable == OSI_ENABLE) {
|
if (enable == OSI_ENABLE) {
|
||||||
@@ -4169,7 +4168,6 @@ static void eqos_config_for_macsec(struct osi_core_priv_data *const osi_core,
|
|||||||
}
|
}
|
||||||
/* start MAC Tx */
|
/* start MAC Tx */
|
||||||
eqos_config_mac_tx(osi_core, OSI_ENABLE);
|
eqos_config_mac_tx(osi_core, OSI_ENABLE);
|
||||||
}
|
|
||||||
|
|
||||||
/* Updated MTL_EST depending on MACSEC enable/disable */
|
/* Updated MTL_EST depending on MACSEC enable/disable */
|
||||||
value = osi_readla(osi_core,
|
value = osi_readla(osi_core,
|
||||||
|
|||||||
Reference in New Issue
Block a user