sfc: ef10: fix TX queue lookup in TX event handling
authorEdward Cree <ecree.xilinx@gmail.com>
Tue, 20 Apr 2021 12:29:35 +0000 (13:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Apr 2021 00:03:53 +0000 (17:03 -0700)
commit172e269edfce34bac7c61c15551816bda4b0f140
tree5c267d126e1c9d81b4b8b1a69b0aa6415dd9c4b8
parent83b09a1807415608b387c7bc748d329fefc5617e
sfc: ef10: fix TX queue lookup in TX event handling

We're starting from a TXQ label, not a TXQ type, so
 efx_channel_get_tx_queue() is inappropriate.  This worked by chance,
 because labels and types currently match on EF10, but we shouldn't
 rely on that.

Fixes: 12804793b17c ("sfc: decouple TXQ type from label")
Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c