net: mana: Allow setting the number of queues while the NIC is down
authorHaiyang Zhang <haiyangz@microsoft.com>
Mon, 25 Oct 2021 18:37:34 +0000 (11:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Oct 2021 13:56:19 +0000 (14:56 +0100)
commita137c069fbc1972bdaf2dd6c75083cd2f3e6e3d7
treeba44ae89a68a7d5f0e8947f93957071fc6fb3c81
parenteafaa88b3eb7f28aecb222281655473431d3ef2e
net: mana: Allow setting the number of queues while the NIC is down

The existing code doesn't allow setting the number of queues while the
NIC is down.

Update the ethtool handler functions to support setting the number of
queues while the NIC is at down state.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microsoft/mana/mana_en.c
drivers/net/ethernet/microsoft/mana/mana_ethtool.c