Skip to content

Libxdp function xsk_ring_cons__release

Definition

This function releases a specified number of packets that have been processed from the consumer ring back to the kernel. Indicates to the kernel that these packets have been consumed and the buffers can be reused for new incoming packets.

Returns

No return

Usage

void xsk_ring_cons__release(struct xsk_ring_cons *cons, __u32 nb);

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome