]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: ethernet: qualcomm: Initialize PPE L2 bridge settings
authorLei Wei <quic_leiwei@quicinc.com>
Mon, 18 Aug 2025 13:14:36 +0000 (21:14 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 21 Aug 2025 10:38:42 +0000 (12:38 +0200)
commit8cc72c6c9236ebdf5d245924574e70546ecdda15
tree69dfa8a558573ed5af01e2ad7bb4dc95823f164b
parentfa99608a9a9e0a967b8d6e8ee53c8c1596447b2b
net: ethernet: qualcomm: Initialize PPE L2 bridge settings

Initialize the L2 bridge settings for the PPE ports to only enable
L2 frame forwarding between CPU port and PPE Ethernet ports.

The per-port L2 bridge settings are initialized as follows:
For PPE CPU port, the PPE bridge TX is enabled and FDB learning is
disabled. For PPE physical ports, the default L2 forwarding action
is initialized to forward to CPU port only.

L2/FDB learning and forwarding will not be enabled for PPE physical
ports yet, since the port's VSI (Virtual Switch Instance) and VSI
membership are not yet configured, which are required for FDB
forwarding. The VSI and FDB forwarding will later be enabled when
switchdev is enabled.

Signed-off-by: Lei Wei <quic_leiwei@quicinc.com>
Signed-off-by: Luo Jie <quic_luoj@quicinc.com>
Link: https://patch.msgid.link/20250818-qcom_ipq_ppe-v8-12-1d4ff641fce9@quicinc.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/qualcomm/ppe/ppe_config.c
drivers/net/ethernet/qualcomm/ppe/ppe_regs.h