diff options
author | Klaus Kudielka <klaus.kudielka@gmail.com> | 2023-07-05 07:37:12 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-07-06 10:29:39 +0200 |
commit | 21327f81db6337c8843ce755b01523c7d3df715b (patch) | |
tree | 5211bb904b00a6ca6f2d9c8fa2b95936a36487b1 /drivers/net/phy/phy-core.c | |
parent | 6843306689aff3aea608e4d2630b2a5a0137f827 (diff) | |
download | linux-21327f81db6337c8843ce755b01523c7d3df715b.tar.gz linux-21327f81db6337c8843ce755b01523c7d3df715b.tar.bz2 linux-21327f81db6337c8843ce755b01523c7d3df715b.zip |
net: mvneta: fix txq_map in case of txq_number==1
If we boot with mvneta.txq_number=1, the txq_map is set incorrectly:
MVNETA_CPU_TXQ_ACCESS(1) refers to TX queue 1, but only TX queue 0 is
initialized. Fix this.
Fixes: 50bf8cb6fc9c ("net: mvneta: Configure XPS support")
Signed-off-by: Klaus Kudielka <klaus.kudielka@gmail.com>
Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
Link: https://lore.kernel.org/r/20230705053712.3914-1-klaus.kudielka@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/phy/phy-core.c')
0 files changed, 0 insertions, 0 deletions