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
eal: set affinity for control threads
[dpdk.git]
/
examples
/
l3fwd
/
l3fwd_em.h
diff --git
a/examples/l3fwd/l3fwd_em.h
b/examples/l3fwd/l3fwd_em.h
index
d509a1f
..
302291d
100644
(file)
--- a/
examples/l3fwd/l3fwd_em.h
+++ b/
examples/l3fwd/l3fwd_em.h
@@
-35,12
+35,12
@@
#define __L3FWD_EM_H__
static __rte_always_inline void
#define __L3FWD_EM_H__
static __rte_always_inline void
-l3fwd_em_simple_forward(struct rte_mbuf *m, uint
8
_t portid,
+l3fwd_em_simple_forward(struct rte_mbuf *m, uint
16
_t portid,
struct lcore_conf *qconf)
{
struct ether_hdr *eth_hdr;
struct ipv4_hdr *ipv4_hdr;
struct lcore_conf *qconf)
{
struct ether_hdr *eth_hdr;
struct ipv4_hdr *ipv4_hdr;
- uint
8
_t dst_port;
+ uint
16
_t dst_port;
uint32_t tcp_or_udp;
uint32_t l3_ptypes;
uint32_t tcp_or_udp;
uint32_t l3_ptypes;
@@
-112,7
+112,7
@@
l3fwd_em_simple_forward(struct rte_mbuf *m, uint8_t portid,
*/
static inline void
l3fwd_em_no_opt_send_packets(int nb_rx, struct rte_mbuf **pkts_burst,
*/
static inline void
l3fwd_em_no_opt_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 j;
{
int32_t j;