git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mbuf: remove the rte_pktmbuf structure
[dpdk.git]
/
examples
/
multi_process
/
client_server_mp
/
mp_client
/
client.c
diff --git
a/examples/multi_process/client_server_mp/mp_client/client.c
b/examples/multi_process/client_server_mp/mp_client/client.c
index
91f70eb
..
71e4a48
100644
(file)
--- a/
examples/multi_process/client_server_mp/mp_client/client.c
+++ b/
examples/multi_process/client_server_mp/mp_client/client.c
@@
-211,7
+211,7
@@
enqueue_packet(struct rte_mbuf *buf, uint8_t port)
static void
handle_packet(struct rte_mbuf *buf)
{
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);
const uint8_t out_port = output_ports[in_port];
enqueue_packet(buf, out_port);