net: ena: Remove ena_select_queue
authorKamal Heib <kheib@redhat.com>
Thu, 15 Feb 2024 22:31:04 +0000 (17:31 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Feb 2024 19:47:45 +0000 (19:47 +0000)
commit78e886ba2b549945ecada055ee0765f0ded5707a
tree0025f465a3dc5813bab54b47b07dc21d0cf8dbee
parent6d47302a3f0ba31445478d518d98bd55918bc8ab
net: ena: Remove ena_select_queue

Avoid the following warnings by removing the ena_select_queue() function
and rely on the net core to do the queue selection, The issue happen
when an skb received from an interface with more queues than ena is
forwarded to the ena interface.

[ 1176.159959] eth0 selects TX queue 11, but real number of TX queues is 8
[ 1176.863976] eth0 selects TX queue 14, but real number of TX queues is 8
[ 1180.767877] eth0 selects TX queue 14, but real number of TX queues is 8
[ 1188.703742] eth0 selects TX queue 14, but real number of TX queues is 8

Fixes: 1738cd3ed342 ("net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)")
Signed-off-by: Kamal Heib <kheib@redhat.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_netdev.c