diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2017-05-17 07:14:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-18 17:07:39 +0300 |
commit | 197a5212c3dd70be267b5cd930be0fb68bb53018 (patch) | |
tree | c02cc773a624a138d29e7b0ae1f27ce47cbb8865 /.gitignore | |
parent | 1fc4d180b3c6bed0e7f5160bcd553aec89594962 (diff) | |
download | linux-197a5212c3dd70be267b5cd930be0fb68bb53018.tar.xz |
ptr_ring: add ptr_ring_unconsume
Applications that consume a batch of entries in one go
can benefit from ability to return some of them back
into the ring.
Add an API for that - assuming there's space. If there's no space
naturally can't do this and have to drop entries, but this implies ring
is full so we'd likely drop some anyway.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions