struct rte_ring *ring;
char name[32];
- rte_snprintf(name, sizeof(name), "app_ring_%u", i);
+ snprintf(name, sizeof(name), "app_ring_%u", i);
ring = rte_ring_create(
name,
rte_panic("Unable to allocate new message\n");
req = (struct app_msg_req *)
- ((struct rte_mbuf *)msg)->ctrl.data;
+ rte_ctrlmbuf_data((struct rte_mbuf *)msg);
req->type = APP_MSG_REQ_PING;
/* Send request */