summaryrefslogtreecommitdiffstats
path: root/Documentation/pwm.txt
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2017-04-25 15:59:17 -0400
committerDavid S. Miller <davem@davemloft.net>2017-04-26 14:50:06 -0400
commit78a57b482aa53b040fbc2b2ef0208b54f004161b (patch)
tree66f453e70af121cbe5bd0965c3a59b61ec5f6bcd /Documentation/pwm.txt
parent1f7fe5d492a4f3f7ed74b8e15548ced38f5a59be (diff)
downloadblackbird-op-linux-78a57b482aa53b040fbc2b2ef0208b54f004161b.tar.gz
blackbird-op-linux-78a57b482aa53b040fbc2b2ef0208b54f004161b.zip
virtio-net: on tx, only call napi_disable if tx napi is on
As of tx napi, device down (`ip link set dev $dev down`) hangs unless tx napi is enabled. Else napi_enable is not called, so napi_disable will spin on test_and_set_bit NAPI_STATE_SCHED. Only call napi_disable if tx napi is enabled. Fixes: 5a719c2552ca ("virtio-net: transmit napi") Reported-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Willem de Bruijn <willemb@google.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/pwm.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud