mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-06 09:21:26 +01:00
drivers: net: ipq9574: Disable FDB Learning
This patch is a temporary WAR to fix timeout issues observed in particular setups during dump collection. This patch disables FDB Learning for ports 1-6. Change-Id: I7987bb0286df129c56a07f1708600f78ebf42039 Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
This commit is contained in:
parent
ae49e8da88
commit
b30791ddf4
1 changed files with 5 additions and 1 deletions
|
|
@ -985,12 +985,16 @@ void ipq9574_ppe_provision_init(void)
|
|||
IPQ9574_PPE_PORT_BRIDGE_CTRL_PORT_ISOLATION_BMP |
|
||||
IPQ9574_PPE_PORT_BRIDGE_CTRL_STATION_LRN_EN |
|
||||
IPQ9574_PPE_PORT_BRIDGE_CTRL_NEW_ADDR_LRN_EN);
|
||||
else
|
||||
else if (i == 7)
|
||||
ipq9574_ppe_reg_write(IPQ9574_PPE_PORT_BRIDGE_CTRL_OFFSET + (i * 4),
|
||||
IPQ9574_PPE_PORT_BRIDGE_CTRL_PROMISC_EN |
|
||||
IPQ9574_PPE_PORT_BRIDGE_CTRL_PORT_ISOLATION_BMP |
|
||||
IPQ9574_PPE_PORT_BRIDGE_CTRL_STATION_LRN_EN |
|
||||
IPQ9574_PPE_PORT_BRIDGE_CTRL_NEW_ADDR_LRN_EN);
|
||||
else
|
||||
ipq9574_ppe_reg_write(IPQ9574_PPE_PORT_BRIDGE_CTRL_OFFSET + (i * 4),
|
||||
IPQ9574_PPE_PORT_BRIDGE_CTRL_PROMISC_EN |
|
||||
IPQ9574_PPE_PORT_BRIDGE_CTRL_PORT_ISOLATION_BMP);
|
||||
}
|
||||
|
||||
/* Global learning */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue