]> git.droids-corp.org - dpdk.git/blobdiff - examples/l3fwd/l3fwd_lpm_neon.h
vhost: avoid enum fields in VhostUserMsg
[dpdk.git] / examples / l3fwd / l3fwd_lpm_neon.h
index baedbfe844ca1f91e873d05876c42556b525dc8f..85f314d1e9964e1ccc540488f88161f7f78d3042 100644 (file)
@@ -82,7 +82,7 @@ static inline void
 processx4_step2(const struct lcore_conf *qconf,
                int32x4_t dip,
                uint32_t ipv4_flag,
 processx4_step2(const struct lcore_conf *qconf,
                int32x4_t dip,
                uint32_t ipv4_flag,
-               uint8_t portid,
+               uint16_t portid,
                struct rte_mbuf *pkt[FWDSTEP],
                uint16_t dprt[FWDSTEP])
 {
                struct rte_mbuf *pkt[FWDSTEP],
                uint16_t dprt[FWDSTEP])
 {
@@ -115,7 +115,7 @@ processx4_step2(const struct lcore_conf *qconf,
  */
 static inline void
 l3fwd_lpm_send_packets(int nb_rx, struct rte_mbuf **pkts_burst,
  */
 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 i = 0, j = 0;
        uint16_t dst_port[MAX_PKT_BURST];
 {
        int32_t i = 0, j = 0;
        uint16_t dst_port[MAX_PKT_BURST];