Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New upstream version 17.11-rc3
[deb_dpdk.git]
/
examples
/
l3fwd
/
l3fwd_em_sequential.h
diff --git
a/examples/l3fwd/l3fwd_em_sequential.h
b/examples/l3fwd/l3fwd_em_sequential.h
index
cb7c2ab
..
fa89f0f
100644
(file)
--- a/
examples/l3fwd/l3fwd_em_sequential.h
+++ b/
examples/l3fwd/l3fwd_em_sequential.h
@@
-51,7
+51,7
@@
static __rte_always_inline uint16_t
em_get_dst_port(const struct lcore_conf *qconf, struct rte_mbuf *pkt,
static __rte_always_inline uint16_t
em_get_dst_port(const struct lcore_conf *qconf, struct rte_mbuf *pkt,
- uint
8
_t portid)
+ uint
16
_t portid)
{
uint8_t next_hop;
struct ipv4_hdr *ipv4_hdr;
{
uint8_t next_hop;
struct ipv4_hdr *ipv4_hdr;
@@
-103,7
+103,7
@@
em_get_dst_port(const struct lcore_conf *qconf, struct rte_mbuf *pkt,
*/
static inline void
l3fwd_em_send_packets(int nb_rx, struct rte_mbuf **pkts_burst,
*/
static inline void
l3fwd_em_send_packets(int nb_rx, struct rte_mbuf **pkts_burst,
- uint
8
_t portid, struct lcore_conf *qconf)
+ uint
16
_t portid, struct lcore_conf *qconf)
{
int32_t i, j;
uint16_t dst_port[MAX_PKT_BURST];
{
int32_t i, j;
uint16_t dst_port[MAX_PKT_BURST];