summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/marvell
diff options
context:
space:
mode:
authorRadu Bulie <radu-andrei.bulie@nxp.com>2023-12-07 16:38:01 +0800
committerDavid S. Miller <davem@davemloft.net>2023-12-10 18:45:47 +0000
commit9fc95fe95c3e2a63ced8eeca4b256518ab204b63 (patch)
treec8fe34007630194d41c07936eb56a3bd2360ff12 /drivers/net/ethernet/marvell
parent69db702c83874fbaa2a51af761e35a8e5a593b95 (diff)
net: fec: correct queue selection
The old implementation extracted VLAN TCI info from the payload before the VLAN tag has been pushed in the payload. Another problem was that the VLAN TCI was extracted even if the packet did not have VLAN protocol header. This resulted in invalid VLAN TCI and as a consequence a random queue was computed. This patch fixes the above issues and use the VLAN TCI from the skb if it is present or VLAN TCI from payload if present. If no VLAN header is present queue 0 is selected. Fixes: 52c4a1a85f4b ("net: fec: add ndo_select_queue to fix TX bandwidth fluctuations") Signed-off-by: Radu Bulie <radu-andrei.bulie@nxp.com> Signed-off-by: Wei Fang <wei.fang@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell')
0 files changed, 0 insertions, 0 deletions