net: stmmac: Send TSO packets always from Queue 0
authorJose Abreu <jose.abreu@synopsys.com>
Wed, 30 Jan 2019 14:54:20 +0000 (15:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jan 2019 06:24:49 +0000 (22:24 -0800)
commitc5acdbee22a1b200dde07effd26fd1f649e9ab8a
tree4a09765f820addfc272458dcccb70fa630c0f553
parent4ec5302fa906ec9d86597b236f62315bacdb9622
net: stmmac: Send TSO packets always from Queue 0

The number of TSO enabled channels in HW can be different than the
number of total channels. There is no way to determined, at runtime, the
number of TSO capable channels and its safe to assume that if TSO is
enabled then at least channel 0 will be TSO capable.

Lets always send TSO packets from Queue 0.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c