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
net: add rte prefix to ether structures
[dpdk.git]
/
examples
/
eventdev_pipeline
/
pipeline_common.h
diff --git
a/examples/eventdev_pipeline/pipeline_common.h
b/examples/eventdev_pipeline/pipeline_common.h
index
a6cc912
..
ef23d96
100644
(file)
--- a/
examples/eventdev_pipeline/pipeline_common.h
+++ b/
examples/eventdev_pipeline/pipeline_common.h
@@
-99,11
+99,11
@@
struct config_data cdata;
static __rte_always_inline void
exchange_mac(struct rte_mbuf *m)
{
static __rte_always_inline void
exchange_mac(struct rte_mbuf *m)
{
- struct ether_hdr *eth;
- struct ether_addr addr;
+ struct
rte_
ether_hdr *eth;
+ struct
rte_
ether_addr addr;
/* change mac addresses on packet (to use mbuf data) */
/* change mac addresses on packet (to use mbuf data) */
- eth = rte_pktmbuf_mtod(m, struct ether_hdr *);
+ eth = rte_pktmbuf_mtod(m, struct
rte_
ether_hdr *);
ether_addr_copy(ð->d_addr, &addr);
ether_addr_copy(&addr, ð->d_addr);
}
ether_addr_copy(ð->d_addr, &addr);
ether_addr_copy(&addr, ð->d_addr);
}