net: ethernet: am65-cpsw: Set default TX channels to maximum
authorRoger Quadros <rogerq@kernel.org>
Fri, 17 Nov 2023 12:17:54 +0000 (14:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Nov 2023 19:46:40 +0000 (19:46 +0000)
commitbe397ea3473d24ce596f3aaa22a55af9b004fed8
tree3f0573a041bc30c1e76a2b3ffd22eb583efe6b4c
parentac099466961b27ee069c5fd606f228c3df7303e8
net: ethernet: am65-cpsw: Set default TX channels to maximum

am65-cpsw supports 8 TX hardware queues. Set this as default.

The rationale is that some am65-cpsw devices can have up to 4 ethernet
ports. If the number of TX channels have to be changed then all
interfaces have to be brought down and up as the old default of 1
TX channel is too restrictive for any mqprio/taprio usage.

Another reason for this change is to allow testing using
kselftest:net/forwarding:ethtool_mm.sh out of the box.

Signed-off-by: Roger Quadros <rogerq@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/am65-cpsw-nuss.c