search for: vhost_f_fix_a_bug

Displaying 6 results from an estimated 6 matches for "vhost_f_fix_a_bug".

2015 Mar 16
1
virtio-net: tx queue was stopped
On 2015/3/15 16:40, Michael S. Tsirkin wrote: > On Sun, Mar 15, 2015 at 02:50:27PM +0800, Linhaifeng wrote: >> Hi,Michael >> >> I had tested the start_xmit function by the follow code found that the tx queue's state is stopped and can't send any packets anymore. > > Why don't you Cc all maintainers on this email? > Pls check the file MAINTAINERS for the
2015 Mar 16
1
virtio-net: tx queue was stopped
On 2015/3/15 16:40, Michael S. Tsirkin wrote: > On Sun, Mar 15, 2015 at 02:50:27PM +0800, Linhaifeng wrote: >> Hi,Michael >> >> I had tested the start_xmit function by the follow code found that the tx queue's state is stopped and can't send any packets anymore. > > Why don't you Cc all maintainers on this email? > Pls check the file MAINTAINERS for the
2015 Mar 16
0
virtio-net: tx queue was stopped
...ld_xmit_skbs below, and restart ring. > If vhost is in poll mode should we need or not to stop tx queue? > Can i add a flag VHOST_F_POLL_MODE to support poll mode vhost(vhost-user)? Host just needs to be spec-compliant. It must send interrupts unless they are disabled. So this sounds like a VHOST_F_FIX_A_BUG to me. Just fix races in vhost-user code, and no need for extra flags. > > /* More just got used, free them then recheck. > > * */ > > free_old_xmit_skbs(sq); > > if (sq->vq->num_free >= 2+MA...
2015 Mar 16
0
virtio-net: tx queue was stopped
...ld_xmit_skbs below, and restart ring. > If vhost is in poll mode should we need or not to stop tx queue? > Can i add a flag VHOST_F_POLL_MODE to support poll mode vhost(vhost-user)? Host just needs to be spec-compliant. It must send interrupts unless they are disabled. So this sounds like a VHOST_F_FIX_A_BUG to me. Just fix races in vhost-user code, and no need for extra flags. > > /* More just got used, free them then recheck. > > * */ > > free_old_xmit_skbs(sq); > > if (sq->vq->num_free >= 2+MA...
2015 Mar 15
2
virtio-net: tx queue was stopped
On Sun, Mar 15, 2015 at 02:50:27PM +0800, Linhaifeng wrote: > Hi,Michael > > I had tested the start_xmit function by the follow code found that the tx queue's state is stopped and can't send any packets anymore. Why don't you Cc all maintainers on this email? Pls check the file MAINTAINERS for the full list. I added Cc for now. > > static netdev_tx_t
2015 Mar 15
2
virtio-net: tx queue was stopped
On Sun, Mar 15, 2015 at 02:50:27PM +0800, Linhaifeng wrote: > Hi,Michael > > I had tested the start_xmit function by the follow code found that the tx queue's state is stopped and can't send any packets anymore. Why don't you Cc all maintainers on this email? Pls check the file MAINTAINERS for the full list. I added Cc for now. > > static netdev_tx_t