Re: [net-next PATCH v2 4/5] virtio_net: refactor freeze/restore logic into virtnet reset logic

2017-02-05 Thread Jason Wang
On 2017年02月03日 11:16, John Fastabend wrote: For XDP we will need to reset the queues to allow for buffer headroom to be configured. In order to do this we need to essentially run the freeze()/restore() code path. Unfortunately the locking requirements between the freeze/restore and reset paths

[net-next PATCH v2 4/5] virtio_net: refactor freeze/restore logic into virtnet reset logic

2017-02-02 Thread John Fastabend
For XDP we will need to reset the queues to allow for buffer headroom to be configured. In order to do this we need to essentially run the freeze()/restore() code path. Unfortunately the locking requirements between the freeze/restore and reset paths are different however so we can not simply