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
igb: fix i211 support
[dpdk.git]
/
examples
/
ip_pipeline
/
pipeline_routing.c
diff --git
a/examples/ip_pipeline/pipeline_routing.c
b/examples/ip_pipeline/pipeline_routing.c
index
f19506d
..
b1ce624
100644
(file)
--- a/
examples/ip_pipeline/pipeline_routing.c
+++ b/
examples/ip_pipeline/pipeline_routing.c
@@
-370,7
+370,7
@@
app_message_handle(struct app_core_routing_message_handle_params *params)
arp_table_id = params->arp_table_id;
/* Handle request */
arp_table_id = params->arp_table_id;
/* Handle request */
- req = (struct app_msg_req *)
((struct rte_mbuf *)msg)->ctrl.data
;
+ req = (struct app_msg_req *)
rte_ctrlmbuf_data((struct rte_mbuf *)msg)
;
switch (req->type) {
case APP_MSG_REQ_PING:
{
switch (req->type) {
case APP_MSG_REQ_PING:
{
@@
-464,7
+464,7
@@
app_message_handle(struct app_core_routing_message_handle_params *params)
}
/* Fill in response message */
}
/* Fill in response message */
- resp = (struct app_msg_resp *)
((struct rte_mbuf *)msg)->ctrl.data
;
+ resp = (struct app_msg_resp *)
rte_ctrlmbuf_data((struct rte_mbuf *)msg)
;
resp->result = result;
/* Send response */
resp->result = result;
/* Send response */