]> git.droids-corp.org - dpdk.git/blobdiff - examples/l3fwd/l3fwd_lpm_sse.h
ethdev: increase port id range
[dpdk.git] / examples / l3fwd / l3fwd_lpm_sse.h
index 4e294c844ffab843d7a8ea1f44cebb798bebf767..d474396ed3d0f54f82bb1024e610d5bbbaa7f706 100644 (file)
@@ -79,7 +79,7 @@ static inline void
 processx4_step2(const struct lcore_conf *qconf,
                __m128i dip,
                uint32_t ipv4_flag,
-               uint8_t portid,
+               uint16_t portid,
                struct rte_mbuf *pkt[FWDSTEP],
                uint16_t dprt[FWDSTEP])
 {
@@ -112,7 +112,7 @@ processx4_step2(const struct lcore_conf *qconf,
  */
 static inline void
 l3fwd_lpm_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;
        uint16_t dst_port[MAX_PKT_BURST];