create the ring */
| 306 | |
| 307 | /* create the ring */ |
| 308 | struct rte_ring * |
| 309 | rte_ring_create(const char *name, unsigned int count, int socket_id, |
| 310 | unsigned int flags) |
| 311 | { |
| 312 | return rte_ring_create_elem(name, sizeof(void *), count, socket_id, |
| 313 | flags); |
| 314 | } |
| 315 | |
| 316 | /* free the ring */ |
| 317 | void |