diff options
| author | 2026-10-11 06:02:08 -0700 | |
|---|---|---|
| committer | 2026-10-19 18:24:14 -0700 | |
| commit | 7baaa2bed6fd98d21729889fa55074b0bf9b82f8 (patch) | |
| tree | 4b48bda9409b6cf39eca61e622e8a258f4b2cc94 /scripts/Makefile.thinlto | |
| parent | dt-bindings: net: qcom,ipq9574-ppe: Split EDMA reset into sys and apb (diff) | |
net: ethernet: qualcomm: ppe: Fix multicast queue config table access
PPE queues 0-255 are unicast queues and queues from 256 onwards are
multicast queues. The multicast queue configuration table has its own
index, starting from 0 for the first multicast queue, and each entry
has 3 words.
The driver uses the absolute queue ID as the index of this table, which
is out of range for every multicast queue. As a result, the multicast
queue thresholds are never configured, and unrelated QM registers are
written instead. The driver also accesses 5 words per entry instead
of 3.
Fix it by converting the queue ID to the index of the multicast queue
configuration table and accessing only the 3 words of the entry.
Signed-off-by: Luo Jie <jie.luo@oss.qualcomm.com>
Fixes: 806268dc7efd ("net: ethernet: qualcomm: Initialize PPE queue management for IPQ9574")
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20261011-qcom_ipq5424_ppe-v2-2-8c7b057e2c43@oss.qualcomm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
