net: stmmac: dwmac-qcom-ethqos: Enable TBS on all queues but 0
authorAbhishek Chauhan <quic_abchauha@quicinc.com>
Thu, 8 Feb 2024 23:11:45 +0000 (15:11 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Feb 2024 10:25:41 +0000 (10:25 +0000)
commit0918c1dcd55cfe3b8f9844731dc68eee948c9f92
tree53d2ba82b653a340c486dbea3e8bfe5d816112e6
parentf7ab791d7f737087dc84f12040a86c581c849147
net: stmmac: dwmac-qcom-ethqos: Enable TBS on all queues but 0

TSO and TBS cannot co-exist. TBS requires special descriptor to be
allocated at bootup. Initialising Tx queues at probe to support
TSO and TBS can help in allocating those resources at bootup.

TX queues with TBS can support etf qdisc hw offload.

This is similar to the patch raised by NXP
commit 3b12ec8f618e ("net: stmmac: dwmac-imx: set TSO/TBS TX queues default settings")

Tested-by: Andrew Halaney <ahalaney@redhat.com> # sa8775p-ride
Signed-off-by: Abhishek Chauhan <quic_abchauha@quicinc.com>
Reviewed-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c