search for: handle_rx

Displaying 20 results from an estimated 365 matches for "handle_rx".

2018 Aug 02
6
[PATCH net-next v7 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll()
...? cpu_relax(); >>>>> +???? } >>>>> + >>>>> +???? preempt_enable(); >>>>> + >>>>> +???? if (!rx) >>>>> +???????????? vhost_net_enable_vq(net, vq); >>>> No need to enable rx virtqueue, if we are sure handle_rx() will be >>>> called soon. >>> If we disable rx virtqueue in handle_tx and don't send packets from >>> guest anymore(handle_tx is not called), so we can wake up for sock rx. >>> so the network is broken. >> Not sure I understand here. I mean is we s...
2018 Aug 02
6
[PATCH net-next v7 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll()
...? cpu_relax(); >>>>> +???? } >>>>> + >>>>> +???? preempt_enable(); >>>>> + >>>>> +???? if (!rx) >>>>> +???????????? vhost_net_enable_vq(net, vq); >>>> No need to enable rx virtqueue, if we are sure handle_rx() will be >>>> called soon. >>> If we disable rx virtqueue in handle_tx and don't send packets from >>> guest anymore(handle_tx is not called), so we can wake up for sock rx. >>> so the network is broken. >> Not sure I understand here. I mean is we s...
2017 Nov 28
6
[PATCH net,stable] vhost: fix skb leak in handle_rx()
...at redhat.com> Matthew found a roughly 40% tcp throughput regression with commit c67df11f(vhost_net: try batch dequing from skb array) as discussed in the following thread: https://www.mail-archive.com/netdev at vger.kernel.org/msg187936.html Eventually we figured out that it was a skb leak in handle_rx() when sending packets to the VM. This usually happens when a guest can not drain out vq as fast as vhost fills in, afterwards it sets off the traffic jam and leaks skb(s) which occurs as no headcount to send on the vq from vhost side. This can be avoided by making sure we have got enough headcoun...
2017 Nov 28
6
[PATCH net,stable] vhost: fix skb leak in handle_rx()
...at redhat.com> Matthew found a roughly 40% tcp throughput regression with commit c67df11f(vhost_net: try batch dequing from skb array) as discussed in the following thread: https://www.mail-archive.com/netdev at vger.kernel.org/msg187936.html Eventually we figured out that it was a skb leak in handle_rx() when sending packets to the VM. This usually happens when a guest can not drain out vq as fast as vhost fills in, afterwards it sets off the traffic jam and leaks skb(s) which occurs as no headcount to send on the vq from vhost side. This can be avoided by making sure we have got enough headcoun...
2018 Aug 03
3
[PATCH net-next v7 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll()
...>>>>>> + >>>>>>> + preempt_enable(); >>>>>>> + >>>>>>> + if (!rx) >>>>>>> + vhost_net_enable_vq(net, vq); >>>>>> No need to enable rx virtqueue, if we are sure handle_rx() will be >>>>>> called soon. >>>>> If we disable rx virtqueue in handle_tx and don't send packets from >>>>> guest anymore(handle_tx is not called), so we can wake up for sock rx. >>>>> so the network is broken. >>>> No...
2018 Aug 03
3
[PATCH net-next v7 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll()
...>>>>>> + >>>>>>> + preempt_enable(); >>>>>>> + >>>>>>> + if (!rx) >>>>>>> + vhost_net_enable_vq(net, vq); >>>>>> No need to enable rx virtqueue, if we are sure handle_rx() will be >>>>>> called soon. >>>>> If we disable rx virtqueue in handle_tx and don't send packets from >>>>> guest anymore(handle_tx is not called), so we can wake up for sock rx. >>>>> so the network is broken. >>>> No...
2018 Aug 03
1
[PATCH net-next v7 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll()
On 2018/08/03 12:07, Jason Wang wrote: > On 2018?08?02? 17:23, Jason Wang wrote: >>>>>>> >>>>>> No need to enable rx virtqueue, if we are sure handle_rx() will be >>>>>> called soon. >>>>> If we disable rx virtqueue in handle_tx and don't send packets from >>>>> guest anymore(handle_tx is not called), so we can wake up for sock rx. >>>>> so the network is broken. >>>> No...
2018 Aug 03
1
[PATCH net-next v7 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll()
...eempt_enable(); >>>>>>>>>>> + >>>>>>>>>>> + if (!rx) >>>>>>>>>>> + vhost_net_enable_vq(net, vq); >>>>>>>>>> No need to enable rx virtqueue, if we are sure handle_rx() will be >>>>>>>>>> called soon. >>>>>>>>> If we disable rx virtqueue in handle_tx and don't send packets from >>>>>>>>> guest anymore(handle_tx is not called), so we can wake up for sock rx. >>>>&g...
2018 Aug 02
2
[PATCH net-next v7 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll()
...ao Zhang wrote: >>> + >>> + cpu_relax(); >>> + } >>> + >>> + preempt_enable(); >>> + >>> + if (!rx) >>> + vhost_net_enable_vq(net, vq); >> No need to enable rx virtqueue, if we are sure handle_rx() will be >> called soon. > If we disable rx virtqueue in handle_tx and don't send packets from > guest anymore(handle_tx is not called), so we can wake up for sock rx. > so the network is broken. Not sure I understand here. I mean is we schedule work for handle_rx(), there'...
2018 Aug 02
2
[PATCH net-next v7 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll()
...ao Zhang wrote: >>> + >>> + cpu_relax(); >>> + } >>> + >>> + preempt_enable(); >>> + >>> + if (!rx) >>> + vhost_net_enable_vq(net, vq); >> No need to enable rx virtqueue, if we are sure handle_rx() will be >> called soon. > If we disable rx virtqueue in handle_tx and don't send packets from > guest anymore(handle_tx is not called), so we can wake up for sock rx. > so the network is broken. Not sure I understand here. I mean is we schedule work for handle_rx(), there'...
2018 Aug 03
2
[PATCH net-next v7 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll()
...gt;>>>>> + preempt_enable(); >>>>>>>>> + >>>>>>>>> + if (!rx) >>>>>>>>> + vhost_net_enable_vq(net, vq); >>>>>>>> No need to enable rx virtqueue, if we are sure handle_rx() will be >>>>>>>> called soon. >>>>>>> If we disable rx virtqueue in handle_tx and don't send packets from >>>>>>> guest anymore(handle_tx is not called), so we can wake up for sock rx. >>>>>>> so the networ...
2018 Aug 03
2
[PATCH net-next v7 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll()
...gt;>>>>> + preempt_enable(); >>>>>>>>> + >>>>>>>>> + if (!rx) >>>>>>>>> + vhost_net_enable_vq(net, vq); >>>>>>>> No need to enable rx virtqueue, if we are sure handle_rx() will be >>>>>>>> called soon. >>>>>>> If we disable rx virtqueue in handle_tx and don't send packets from >>>>>>> guest anymore(handle_tx is not called), so we can wake up for sock rx. >>>>>>> so the networ...
2018 Aug 03
2
[PATCH net-next v7 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll()
...gt;>>>>> + preempt_enable(); >>>>>>>>> + >>>>>>>>> + if (!rx) >>>>>>>>> + vhost_net_enable_vq(net, vq); >>>>>>>> No need to enable rx virtqueue, if we are sure handle_rx() will be >>>>>>>> called soon. >>>>>>> If we disable rx virtqueue in handle_tx and don't send packets from >>>>>>> guest anymore(handle_tx is not called), so we can wake up for sock rx. >>>>>>> so the networ...
2018 Aug 03
2
[PATCH net-next v7 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll()
...gt;>>>>> + preempt_enable(); >>>>>>>>> + >>>>>>>>> + if (!rx) >>>>>>>>> + vhost_net_enable_vq(net, vq); >>>>>>>> No need to enable rx virtqueue, if we are sure handle_rx() will be >>>>>>>> called soon. >>>>>>> If we disable rx virtqueue in handle_tx and don't send packets from >>>>>>> guest anymore(handle_tx is not called), so we can wake up for sock rx. >>>>>>> so the networ...
2017 Nov 29
4
[PATCH net,stable v2] vhost: fix skb leak in handle_rx()
...at redhat.com> Matthew found a roughly 40% tcp throughput regression with commit c67df11f(vhost_net: try batch dequing from skb array) as discussed in the following thread: https://www.mail-archive.com/netdev at vger.kernel.org/msg187936.html Eventually we figured out that it was a skb leak in handle_rx() when sending packets to the VM. This usually happens when a guest can not drain out vq as fast as vhost fills in, afterwards it sets off the traffic jam and leaks skb(s) which occurs as no headcount to send on the vq from vhost side. This can be avoided by making sure we have got enough headcoun...
2017 Nov 29
4
[PATCH net,stable v2] vhost: fix skb leak in handle_rx()
...at redhat.com> Matthew found a roughly 40% tcp throughput regression with commit c67df11f(vhost_net: try batch dequing from skb array) as discussed in the following thread: https://www.mail-archive.com/netdev at vger.kernel.org/msg187936.html Eventually we figured out that it was a skb leak in handle_rx() when sending packets to the VM. This usually happens when a guest can not drain out vq as fast as vhost fills in, afterwards it sets off the traffic jam and leaks skb(s) which occurs as no headcount to send on the vq from vhost side. This can be avoided by making sure we have got enough headcoun...
2017 Dec 01
1
[PATCH 1/3] vhost: fix skb leak in handle_rx()
...at redhat.com> Matthew found a roughly 40% tcp throughput regression with commit c67df11f(vhost_net: try batch dequing from skb array) as discussed in the following thread: https://www.mail-archive.com/netdev at vger.kernel.org/msg187936.html Eventually we figured out that it was a skb leak in handle_rx() when sending packets to the VM. This usually happens when a guest can not drain out vq as fast as vhost fills in, afterwards it sets off the traffic jam and leaks skb(s) which occurs as no headcount to send on the vq from vhost side. This can be avoided by making sure we have got enough headcoun...
2017 Dec 01
1
[PATCH 1/3] vhost: fix skb leak in handle_rx()
...throughput regression with commit > > c67df11f(vhost_net: try batch dequing from skb array) as discussed > > in the following thread: > > https://www.mail-archive.com/netdev at vger.kernel.org/msg187936.html > > > > Eventually we figured out that it was a skb leak in handle_rx() > > when sending packets to the VM. This usually happens when a guest > > can not drain out vq as fast as vhost fills in, afterwards it sets > > off the traffic jam and leaks skb(s) which occurs as no headcount > > to send on the vq from vhost side. > > > > Th...
2017 Dec 01
1
[PATCH 1/3] vhost: fix skb leak in handle_rx()
...throughput regression with commit > > c67df11f(vhost_net: try batch dequing from skb array) as discussed > > in the following thread: > > https://www.mail-archive.com/netdev at vger.kernel.org/msg187936.html > > > > Eventually we figured out that it was a skb leak in handle_rx() > > when sending packets to the VM. This usually happens when a guest > > can not drain out vq as fast as vhost fills in, afterwards it sets > > off the traffic jam and leaks skb(s) which occurs as no headcount > > to send on the vq from vhost side. > > > > Th...
2017 Nov 29
0
[PATCH net,stable v2] vhost: fix skb leak in handle_rx()
...ew found a roughly 40% tcp throughput regression with commit > c67df11f(vhost_net: try batch dequing from skb array) as discussed > in the following thread: > https://www.mail-archive.com/netdev at vger.kernel.org/msg187936.html > > Eventually we figured out that it was a skb leak in handle_rx() > when sending packets to the VM. This usually happens when a guest > can not drain out vq as fast as vhost fills in, afterwards it sets > off the traffic jam and leaks skb(s) which occurs as no headcount > to send on the vq from vhost side. > > This can be avoided by making sur...