]> git.droids-corp.org - dpdk.git/blobdiff - examples/l3fwd/l3fwd_em_sse.h
examples/l3fwd: fix size of destination port ids
[dpdk.git] / examples / l3fwd / l3fwd_em_sse.h
index e2fe932f091e43c06b23517b49653185e9022b47..c0a9725a6dfa6e8972c692a5875fce2f8ef36206 100644 (file)
@@ -102,7 +102,7 @@ l3fwd_em_send_packets(int nb_rx, struct rte_mbuf **pkts_burst,
                        uint8_t portid, struct lcore_conf *qconf)
 {
        int32_t j;
-       uint32_t dst_port[MAX_PKT_BURST];
+       uint16_t dst_port[MAX_PKT_BURST];
 
        for (j = 0; j < nb_rx; j++)
                dst_port[j] = em_get_dst_port(qconf, pkts_burst[j], portid);