xs_ring_put
int xs_ring_put(struct xs_softc *, void *, size_t);
chunk = xs_ring_put(xs, bp, MIN(len, XS_RING_SIZE));