search for: 713a98d90c5e

Displaying 6 results from an estimated 6 matches for "713a98d90c5e".

2018 Oct 11
0
[PATCH] virtio_net: enable tx after resuming from suspend
On 2018?10?11? 15:51, Ake Koomsin wrote: > commit 713a98d90c5e ("virtio-net: serialize tx routine during reset") > disabled the virtio tx before going to suspend to avoid a use after free. > However, after resuming, it causes the virtio_net device to lose its > network connectivity. > > To solve the issue, we need to enable tx after re...
2018 Oct 11
0
[PATCH] virtio_net: enable tx after resuming from suspend
On 2018?10?11? 18:22, ake wrote: > > On 2018?10?11? 18:44, Jason Wang wrote: >> >> On 2018?10?11? 15:51, Ake Koomsin wrote: >>> commit 713a98d90c5e ("virtio-net: serialize tx routine during reset") >>> disabled the virtio tx before going to suspend to avoid a use after free. >>> However, after resuming, it causes the virtio_net device to lose its >>> network connectivity. >>> >>> To solve...
2018 Oct 12
0
[PATCH] virtio_net: enable tx after resuming from suspend
On 2018?10?12? 12:30, ake wrote: > > On 2018?10?11? 22:06, Jason Wang wrote: >> >> On 2018?10?11? 18:22, ake wrote: >>> On 2018?10?11? 18:44, Jason Wang wrote: >>>> On 2018?10?11? 15:51, Ake Koomsin wrote: >>>>> commit 713a98d90c5e ("virtio-net: serialize tx routine during reset") >>>>> disabled the virtio tx before going to suspend to avoid a use after >>>>> free. >>>>> However, after resuming, it causes the virtio_net device to lose its >>>>> network conn...
2018 Oct 16
0
[PATCH] virtio_net: enable tx after resuming from suspend
...0, ake wrote: >>>> On 2018?10?11? 22:06, Jason Wang wrote: >>>>> On 2018?10?11? 18:22, ake wrote: >>>>>> On 2018?10?11? 18:44, Jason Wang wrote: >>>>>>> On 2018?10?11? 15:51, Ake Koomsin wrote: >>>>>>>> commit 713a98d90c5e ("virtio-net: serialize tx routine during reset") >>>>>>>> disabled the virtio tx before going to suspend to avoid a use after >>>>>>>> free. >>>>>>>> However, after resuming, it causes the virtio_net device to lose i...
2017 Oct 05
0
[PATCH RFC 1/2] virtio_net: implement VIRTIO_CONFIG_S_NEEDS_RESET
...ently. Elide this check for reset. The request is >> always handled from the config workqueue. No other config requests >> can be active or scheduled concurrently on vi->config. > > You need to prevent packet TX from being in progress. I had another look at this. As of commit 713a98d90c5e ("virtio-net: serialize tx routine during reset") virtnet_freeze_down calls synchronize_net() after stopping the queues to quiesce the device before any further actions. This should suffice for virtnet_reset, too. The control path can indeed be much simpler than my initial patchset. The...
2017 Oct 05
0
[PATCH RFC 1/2] virtio_net: implement VIRTIO_CONFIG_S_NEEDS_RESET
...ently. Elide this check for reset. The request is >> always handled from the config workqueue. No other config requests >> can be active or scheduled concurrently on vi->config. > > You need to prevent packet TX from being in progress. I had another look at this. As of commit 713a98d90c5e ("virtio-net: serialize tx routine during reset") virtnet_freeze_down calls synchronize_net() after stopping the queues to quiesce the device before any further actions. This should suffice for virtnet_reset, too. The control path can indeed be much simpler than my initial patchset. The...