net: ena: add ethtool function for changing io queue sizes
authorSameeh Jubran <sameehj@amazon.com>
Tue, 11 Jun 2019 11:58:09 +0000 (14:58 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Jun 2019 18:23:45 +0000 (11:23 -0700)
commiteece4d2ab9d214e3b12f5ac1ed189a05793b28a5
treec4b286259e230a51861a7bd7ff8c88db5581f82b
parent13ca32a69e29f3a0fe72094dd930f312b3f3ee44
net: ena: add ethtool function for changing io queue sizes

Implement the set_ringparam() function of the ethtool interface
to enable the changing of io queue sizes.

Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_ethtool.c
drivers/net/ethernet/amazon/ena/ena_netdev.c
drivers/net/ethernet/amazon/ena/ena_netdev.h