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/thunderx/base: add RSS and RETA configuration
[dpdk.git]
/
examples
/
l3fwd
/
l3fwd_lpm.h
diff --git
a/examples/l3fwd/l3fwd_lpm.h
b/examples/l3fwd/l3fwd_lpm.h
index
40ca7f7
..
a43c507
100644
(file)
--- a/
examples/l3fwd/l3fwd_lpm.h
+++ b/
examples/l3fwd/l3fwd_lpm.h
@@
-37,7
+37,7
@@
static inline uint8_t
lpm_get_ipv4_dst_port(void *ipv4_hdr, uint8_t portid, void *lookup_struct)
{
static inline uint8_t
lpm_get_ipv4_dst_port(void *ipv4_hdr, uint8_t portid, void *lookup_struct)
{
- uint
8
_t next_hop;
+ uint
32
_t next_hop;
struct rte_lpm *ipv4_l3fwd_lookup_struct =
(struct rte_lpm *)lookup_struct;
struct rte_lpm *ipv4_l3fwd_lookup_struct =
(struct rte_lpm *)lookup_struct;