]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: ethernet: qualcomm: Initialize PPE queue settings
authorLuo Jie <quic_luoj@quicinc.com>
Mon, 18 Aug 2025 13:14:31 +0000 (21:14 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 21 Aug 2025 10:38:41 +0000 (12:38 +0200)
commit7a23a8af179dacc538b52b594b6b399cd64885c9
tree4df82badab4ceaad8e118277ff7c7a63fbc1b976
parent331227983814fa89d7e9f3356da89de223d414c1
net: ethernet: qualcomm: Initialize PPE queue settings

Configure unicast and multicast hardware queues for the PPE ports to
enable packet forwarding between the ports.

Each PPE port is assigned with a range of queues. The queue ID selection
for the packet is decided by the queue base and queue offset that is
configured based on the internal priority and the RSS hash value of the
packet.

Signed-off-by: Luo Jie <quic_luoj@quicinc.com>
Link: https://patch.msgid.link/20250818-qcom_ipq_ppe-v8-7-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_config.h
drivers/net/ethernet/qualcomm/ppe/ppe_regs.h