search for: cbdadbbf0c79

Displaying 5 results from an estimated 5 matches for "cbdadbbf0c79".

2017 Dec 07
2
[PATCH net-next] virtio_net: Disable interrupts if napi_complete_done rescheduled napi
...o be rescheduled within napi_complete_done() even in non-busypoll case, but virtnet_poll() always enabled interrupts before complete, and when napi was rescheduled within napi_complete_done() it did not disable interrupts. This caused more interrupts when event idx is disabled. According to commit cbdadbbf0c79 ("virtio_net: fix race in RX VQ processing") we cannot place virtqueue_enable_cb_prepare() after NAPI_STATE_SCHED is cleared, so disable interrupts again if napi_complete_done() returned false. Tested with vhost-user of OVS 2.7 on host, which does not have the event idx feature. * Befor...
2017 Dec 07
2
[PATCH net-next] virtio_net: Disable interrupts if napi_complete_done rescheduled napi
...o be rescheduled within napi_complete_done() even in non-busypoll case, but virtnet_poll() always enabled interrupts before complete, and when napi was rescheduled within napi_complete_done() it did not disable interrupts. This caused more interrupts when event idx is disabled. According to commit cbdadbbf0c79 ("virtio_net: fix race in RX VQ processing") we cannot place virtqueue_enable_cb_prepare() after NAPI_STATE_SCHED is cleared, so disable interrupts again if napi_complete_done() returned false. Tested with vhost-user of OVS 2.7 on host, which does not have the event idx feature. * Befor...
2017 Dec 07
1
[PATCH net-next] virtio_net: Disable interrupts if napi_complete_done rescheduled napi
...non-busypoll case, >> but virtnet_poll() always enabled interrupts before complete, and when >> napi was rescheduled within napi_complete_done() it did not disable >> interrupts. >> This caused more interrupts when event idx is disabled. >> >> According to commit cbdadbbf0c79 ("virtio_net: fix race in RX VQ >> processing") we cannot place virtqueue_enable_cb_prepare() after >> NAPI_STATE_SCHED is cleared, so disable interrupts again if >> napi_complete_done() returned false. >> >> Tested with vhost-user of OVS 2.7 on host, which d...
2017 Dec 07
1
[PATCH net-next] virtio_net: Disable interrupts if napi_complete_done rescheduled napi
...non-busypoll case, >> but virtnet_poll() always enabled interrupts before complete, and when >> napi was rescheduled within napi_complete_done() it did not disable >> interrupts. >> This caused more interrupts when event idx is disabled. >> >> According to commit cbdadbbf0c79 ("virtio_net: fix race in RX VQ >> processing") we cannot place virtqueue_enable_cb_prepare() after >> NAPI_STATE_SCHED is cleared, so disable interrupts again if >> napi_complete_done() returned false. >> >> Tested with vhost-user of OVS 2.7 on host, which d...
2017 Dec 07
0
[PATCH net-next] virtio_net: Disable interrupts if napi_complete_done rescheduled napi
...omplete_done() even in non-busypoll case, > but virtnet_poll() always enabled interrupts before complete, and when > napi was rescheduled within napi_complete_done() it did not disable > interrupts. > This caused more interrupts when event idx is disabled. > > According to commit cbdadbbf0c79 ("virtio_net: fix race in RX VQ > processing") we cannot place virtqueue_enable_cb_prepare() after > NAPI_STATE_SCHED is cleared, so disable interrupts again if > napi_complete_done() returned false. > > Tested with vhost-user of OVS 2.7 on host, which does not have the ev...