mbuf: remove the rte_pktmbuf structure
[dpdk.git] / examples / multi_process / client_server_mp / mp_client / client.c
index 91f70eb..71e4a48 100644 (file)
@@ -211,7 +211,7 @@ enqueue_packet(struct rte_mbuf *buf, uint8_t port)
 static void
 handle_packet(struct rte_mbuf *buf)
 {
-       const uint8_t in_port = buf->pkt.in_port;
+       const uint8_t in_port = buf->in_port;
        const uint8_t out_port = output_ports[in_port];
 
        enqueue_packet(buf, out_port);