]> git.droids-corp.org - dpdk.git/blobdiff - examples/l3fwd/l3fwd_lpm.h
ethdev: increase port id range
[dpdk.git] / examples / l3fwd / l3fwd_lpm.h
index 55c3e8329a822ee678502a53aa22a82c871a3e24..53b7fc80545b24d1976ec28359b8549a1ab7562f 100644 (file)
@@ -35,7 +35,7 @@
 #define __L3FWD_LPM_H__
 
 static __rte_always_inline void
-l3fwd_lpm_simple_forward(struct rte_mbuf *m, uint8_t portid,
+l3fwd_lpm_simple_forward(struct rte_mbuf *m, uint16_t portid,
                struct lcore_conf *qconf)
 {
        struct ether_hdr *eth_hdr;
@@ -104,7 +104,7 @@ l3fwd_lpm_simple_forward(struct rte_mbuf *m, uint8_t portid,
 
 static inline void
 l3fwd_lpm_no_opt_send_packets(int nb_rx, struct rte_mbuf **pkts_burst,
-                               uint8_t portid, struct lcore_conf *qconf)
+                               uint16_t portid, struct lcore_conf *qconf)
 {
        int32_t j;