diff options
author | Ong Boon Leong <boon.leong.ong@intel.com> | 2020-09-15 09:28:40 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-29 10:11:20 +0100 |
commit | 2826999af28843c28a61564f31a319318e1ce76f (patch) | |
tree | 3579c4b520707950b904a28e9c64bb6f705a003a /fs/xfs | |
parent | 00cce96d6b5755436704e2721c9cdb0f7291dd1d (diff) | |
download | linux-stable-2826999af28843c28a61564f31a319318e1ce76f.tar.gz linux-stable-2826999af28843c28a61564f31a319318e1ce76f.tar.bz2 linux-stable-2826999af28843c28a61564f31a319318e1ce76f.zip |
net: stmmac: use netif_tx_start|stop_all_queues() function
[ Upstream commit 9f19306d166688a73356aa636c62e698bf2063cc ]
The current implementation of stmmac_stop_all_queues() and
stmmac_start_all_queues() will not work correctly when the value of
tx_queues_to_use is changed through ethtool -L DEVNAME rx N tx M command.
Also, netif_tx_start|stop_all_queues() are only needed in driver open()
and close() only.
Fixes: c22a3f48 net: stmmac: adding multiple napi mechanism
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Voon Weifeng <weifeng.voon@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/xfs')
0 files changed, 0 insertions, 0 deletions