diff options
| author | Lorenzo Bianconi <lorenzo@kernel.org> | 2026-05-27 13:21:19 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-02 23:24:26 +0300 |
| commit | 962c17dd287887aa87a6f30d64239d7e1e4e05fa (patch) | |
| tree | 14e2688708657c8c0b78caa1a33e5e42836054d5 /include/linux/processor.h | |
| parent | 069626af6dfaa26b82119900f4aff1fec38d5983 (diff) | |
| download | linux-962c17dd287887aa87a6f30d64239d7e1e4e05fa.tar.xz | |
net: airoha: Move {cpu,fwd}_tx_packets in airoha_gdm_dev struct
Since now multiple net_devices connected to different QDMA blocks can
share the same GDM port, cpu_tx_packets and fwd_tx_packets fields can
be overwritten with the value from a different QDMA block. In order to
fix the issue move cpu_tx_packets and fwd_tx_packets fields from
airoha_gdm_port struct to airoha_gdm_dev one.
Tested-by: Xuegang Lu <xuegang.lu@airoha.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20260527-airoha-eth-multi-serdes-preliminary-v1-5-ec6ed73ef7fc@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/processor.h')
0 files changed, 0 insertions, 0 deletions
