1 // SPDX-License-Identifier: GPL-2.0
6 /* stub implementation: useful for measuring overhead */
12 int add_inbuf(unsigned len
, void *buf
, void *datap
)
18 * skb_array API provides no way for producer to find out whether a given
19 * buffer was consumed. Our tests merely require that a successful get_buf
20 * implies that add_inbuf succeed in the past, and that add_inbuf will succeed,
21 * fake it accordingly.
23 void *get_buf(unsigned *lenp
, void **bufp
)
43 void kick_available(void)
64 bool use_buf(unsigned *lenp
, void **bufp
)