search for: 286c3e4

Displaying 6 results from an estimated 6 matches for "286c3e4".

2017 Oct 31
2
[PATCH net-next] vhost_net: conditionally enable tx polling
...wexu at redhat.com> Cc: Matthew Rosato <mjrosato at linux.vnet.ibm.com> Signed-off-by: Jason Wang <jasowang at redhat.com> --- drivers/vhost/net.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 68677d9..286c3e4 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -471,6 +471,7 @@ static void handle_tx(struct vhost_net *net) goto out; vhost_disable_notify(&net->dev, vq); + vhost_net_disable_vq(net, vq); hdr_size = nvq->vhost_hlen; zcopy = nvq->ubufs; @@ -556,6 +557,8 @@ s...
2017 Oct 31
2
[PATCH net-next] vhost_net: conditionally enable tx polling
...wexu at redhat.com> Cc: Matthew Rosato <mjrosato at linux.vnet.ibm.com> Signed-off-by: Jason Wang <jasowang at redhat.com> --- drivers/vhost/net.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 68677d9..286c3e4 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -471,6 +471,7 @@ static void handle_tx(struct vhost_net *net) goto out; vhost_disable_notify(&net->dev, vq); + vhost_net_disable_vq(net, vq); hdr_size = nvq->vhost_hlen; zcopy = nvq->ubufs; @@ -556,6 +557,8 @@ s...
2017 Nov 01
2
[PATCH net-next] vhost_net: conditionally enable tx polling
...be used for rx path too which unlikely() does not work as well as the case in tx. > > >> drivers/vhost/net.c | 11 ++++++++--- >> 1 file changed, 8 insertions(+), 3 deletions(-) >> >> diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c >> index 68677d9..286c3e4 100644 >> --- a/drivers/vhost/net.c >> +++ b/drivers/vhost/net.c >> @@ -471,6 +471,7 @@ static void handle_tx(struct vhost_net *net) >> goto out; >> >> vhost_disable_notify(&net->dev, vq); >> + vhost_net_disable_vq(net, vq); >> &gt...
2017 Nov 01
2
[PATCH net-next] vhost_net: conditionally enable tx polling
...be used for rx path too which unlikely() does not work as well as the case in tx. > > >> drivers/vhost/net.c | 11 ++++++++--- >> 1 file changed, 8 insertions(+), 3 deletions(-) >> >> diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c >> index 68677d9..286c3e4 100644 >> --- a/drivers/vhost/net.c >> +++ b/drivers/vhost/net.c >> @@ -471,6 +471,7 @@ static void handle_tx(struct vhost_net *net) >> goto out; >> >> vhost_disable_notify(&net->dev, vq); >> + vhost_net_disable_vq(net, vq); >> &gt...
2017 Oct 31
0
[PATCH net-next] vhost_net: conditionally enable tx polling
...that vhost_poll_stop happens on data path a lot, I'd say if (poll->wqh) there should be unlikely(). > drivers/vhost/net.c | 11 ++++++++--- > 1 file changed, 8 insertions(+), 3 deletions(-) > > diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c > index 68677d9..286c3e4 100644 > --- a/drivers/vhost/net.c > +++ b/drivers/vhost/net.c > @@ -471,6 +471,7 @@ static void handle_tx(struct vhost_net *net) > goto out; > > vhost_disable_notify(&net->dev, vq); > + vhost_net_disable_vq(net, vq); > > hdr_size = nvq->vhost_hlen; &...
2017 Nov 01
0
[PATCH net-next] vhost_net: conditionally enable tx polling
...does not have to block this patch. > > > > > > > > drivers/vhost/net.c | 11 ++++++++--- > > > 1 file changed, 8 insertions(+), 3 deletions(-) > > > > > > diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c > > > index 68677d9..286c3e4 100644 > > > --- a/drivers/vhost/net.c > > > +++ b/drivers/vhost/net.c > > > @@ -471,6 +471,7 @@ static void handle_tx(struct vhost_net *net) > > > goto out; > > > vhost_disable_notify(&net->dev, vq); > > > + vhost_net_disable_vq(n...