search for: bfaf058

Displaying 10 results from an estimated 10 matches for "bfaf058".

2014 Oct 15
1
[RFC PATCH net-next 2/6] virtio: introduce virtio_enable_cb_avail()
...idx, vq->vring.used->idx); + END_USE(vq); + + return ret; +} +EXPORT_SYMBOL_GPL(virtqueue_enable_cb_avail); + /** * virtqueue_poll - query pending used buffers * @vq: the struct virtqueue we're talking about. diff --git a/include/linux/virtio.h b/include/linux/virtio.h index b46671e..bfaf058 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -65,6 +65,8 @@ bool virtqueue_enable_cb(struct virtqueue *vq); unsigned virtqueue_enable_cb_prepare(struct virtqueue *vq); +bool virtqueue_enable_cb_avail(struct virtqueue *vq); + bool virtqueue_poll(struct virtqueue *vq, uns...
2014 Oct 15
1
[RFC PATCH net-next 2/6] virtio: introduce virtio_enable_cb_avail()
...idx, vq->vring.used->idx); + END_USE(vq); + + return ret; +} +EXPORT_SYMBOL_GPL(virtqueue_enable_cb_avail); + /** * virtqueue_poll - query pending used buffers * @vq: the struct virtqueue we're talking about. diff --git a/include/linux/virtio.h b/include/linux/virtio.h index b46671e..bfaf058 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -65,6 +65,8 @@ bool virtqueue_enable_cb(struct virtqueue *vq); unsigned virtqueue_enable_cb_prepare(struct virtqueue *vq); +bool virtqueue_enable_cb_avail(struct virtqueue *vq); + bool virtqueue_poll(struct virtqueue *vq, uns...
2014 Oct 15
2
[RFC PATCH net-next 2/6] virtio: introduce virtio_enable_cb_avail()
...* Caller must ensure we don't call this with other virtqueue * operations at the same time (except where noted). */ >> diff --git a/include/linux/virtio.h b/include/linux/virtio.h >> index b46671e..bfaf058 100644 >> --- a/include/linux/virtio.h >> +++ b/include/linux/virtio.h >> @@ -65,6 +65,8 @@ bool virtqueue_enable_cb(struct virtqueue *vq); >> >> unsigned virtqueue_enable_cb_prepare(struct virtqueue *vq); >> >> +bool virtqueue_enable_cb_avail(struct v...
2014 Oct 15
2
[RFC PATCH net-next 2/6] virtio: introduce virtio_enable_cb_avail()
...* Caller must ensure we don't call this with other virtqueue * operations at the same time (except where noted). */ >> diff --git a/include/linux/virtio.h b/include/linux/virtio.h >> index b46671e..bfaf058 100644 >> --- a/include/linux/virtio.h >> +++ b/include/linux/virtio.h >> @@ -65,6 +65,8 @@ bool virtqueue_enable_cb(struct virtqueue *vq); >> >> unsigned virtqueue_enable_cb_prepare(struct virtqueue *vq); >> >> +bool virtqueue_enable_cb_avail(struct v...
2014 Oct 15
1
[RFC PATCH net-next 2/6] virtio: introduce virtio_enable_cb_avail()
...e don't call this with other >> virtqueue >> * operations at the same time (except where >> noted). >> */ >> >>>> diff --git a/include/linux/virtio.h b/include/linux/virtio.h >>>> index b46671e..bfaf058 100644 >>>> --- a/include/linux/virtio.h >>>> +++ b/include/linux/virtio.h >>>> @@ -65,6 +65,8 @@ bool virtqueue_enable_cb(struct virtqueue *vq); >>>> >>>> unsigned virtqueue_enable_cb_prepare(struct virtqueue *vq); >>>> &...
2014 Oct 15
1
[RFC PATCH net-next 2/6] virtio: introduce virtio_enable_cb_avail()
...e don't call this with other >> virtqueue >> * operations at the same time (except where >> noted). >> */ >> >>>> diff --git a/include/linux/virtio.h b/include/linux/virtio.h >>>> index b46671e..bfaf058 100644 >>>> --- a/include/linux/virtio.h >>>> +++ b/include/linux/virtio.h >>>> @@ -65,6 +65,8 @@ bool virtqueue_enable_cb(struct virtqueue *vq); >>>> >>>> unsigned virtqueue_enable_cb_prepare(struct virtqueue *vq); >>>> &...
2014 Oct 15
0
[RFC PATCH net-next 2/6] virtio: introduce virtio_enable_cb_avail()
..._enable_cb_avail); > + > /** > * virtqueue_poll - query pending used buffers > * @vq: the struct virtqueue we're talking about. Could not figure out what this does. Please add documentation. > diff --git a/include/linux/virtio.h b/include/linux/virtio.h > index b46671e..bfaf058 100644 > --- a/include/linux/virtio.h > +++ b/include/linux/virtio.h > @@ -65,6 +65,8 @@ bool virtqueue_enable_cb(struct virtqueue *vq); > > unsigned virtqueue_enable_cb_prepare(struct virtqueue *vq); > > +bool virtqueue_enable_cb_avail(struct virtqueue *vq); > + >...
2014 Oct 15
0
[RFC PATCH net-next 2/6] virtio: introduce virtio_enable_cb_avail()
...; * Caller must ensure we don't call this with other > virtqueue > * operations at the same time (except where > noted). > */ > > >> diff --git a/include/linux/virtio.h b/include/linux/virtio.h > >> index b46671e..bfaf058 100644 > >> --- a/include/linux/virtio.h > >> +++ b/include/linux/virtio.h > >> @@ -65,6 +65,8 @@ bool virtqueue_enable_cb(struct virtqueue *vq); > >> > >> unsigned virtqueue_enable_cb_prepare(struct virtqueue *vq); > >> > >> +bool...
2014 Oct 15
15
[RFC PATCH net-next 0/6] Always use tx interrupt for virtio-net
According to David, proper accounting and queueing (at all levels, not just TCP sockets) is more important than trying to skim a bunch of cycles by avoiding TX interrupts. Having an event to free the SKB is absolutely essential for the stack to operate correctly. This series tries to enable tx interrupt for virtio-net. The idea is simple: enable tx interrupt and schedule a tx napi to free old
2014 Oct 15
15
[RFC PATCH net-next 0/6] Always use tx interrupt for virtio-net
According to David, proper accounting and queueing (at all levels, not just TCP sockets) is more important than trying to skim a bunch of cycles by avoiding TX interrupts. Having an event to free the SKB is absolutely essential for the stack to operate correctly. This series tries to enable tx interrupt for virtio-net. The idea is simple: enable tx interrupt and schedule a tx napi to free old