]> git.baikalelectronics.ru Git - kernel.git/commit
net: ena: fix wrong max Tx/Rx queues on ethtool
authorNetanel Belgazal <netanel@amazon.com>
Tue, 17 Oct 2017 07:33:05 +0000 (07:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Oct 2017 11:49:15 +0000 (12:49 +0100)
commite121bbd22505960901778a2a13665e0d788ee929
treea5c968c36b127bc732c83f28584dccf076db9c42
parentc3da4dea2ec7fa66373b3dd3e92986ad06a03fb3
net: ena: fix wrong max Tx/Rx queues on ethtool

ethtool ena_get_channels() expose the max number of queues as the max
number of queues ENA supports (128 queues) and not the actual number
of created queues.

Signed-off-by: Netanel Belgazal <netanel@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_ethtool.c