aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWillem de Bruijn <[email protected]>2017-04-25 15:59:17 -0400
committerDavid S. Miller <[email protected]>2017-04-26 14:50:06 -0400
commit78a57b482aa53b040fbc2b2ef0208b54f004161b (patch)
tree66f453e70af121cbe5bd0965c3a59b61ec5f6bcd /tools/perf/scripts/python
parent1f7fe5d492a4f3f7ed74b8e15548ced38f5a59be (diff)
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 <[email protected]> Signed-off-by: Willem de Bruijn <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Acked-by: Jason Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions