net: ena: fix wrong max Tx/Rx queues on ethtool
authorNetanel Belgazal <[email protected]>
Tue, 17 Oct 2017 07:33:05 +0000 (07:33 +0000)
committerDavid S. Miller <[email protected]>
Thu, 19 Oct 2017 11:49:15 +0000 (12:49 +0100)
commita59df396768a7e37c6ddafeb9666a30c8ac07854
treea5c968c36b127bc732c83f28584dccf076db9c42
parent411838e7b41c52cf4afa51929cec54c2162472ff
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/amazon/ena/ena_ethtool.c