e->skb = NULL;
static int skge_ring_alloc(struct skge_ring *ring, void *vaddr, u64 base){	struct skge_tx_desc *d;	struct skge_element *e;	int i;	ring->start = kmalloc(sizeof(*e)*ring->count, GFP_KERNEL);	if (!ring->start)		return -ENOMEM;	for (i = 0, e = ring->start, d = vaddr; i < ring->count; i++, e++, d++) {		e->desc = d;		if (i == ring->count - 1) {			e->next = ring->start;			d->next_offset = base;		} else {			e->next = e + 1;			d->next_offset = base + (i+1) * sizeof(*d);		}	}	ring->to_use = ring->to_clean = ring->start;	return 0;}