>  generate_packet_burst(struct rte_mempool *mp, struct rte_mbuf
> **pkts_burst,
>               struct rte_ether_hdr *eth_hdr, uint8_t vlan_enabled,
>               void *ip_hdr, uint8_t ipv4, struct rte_udp_hdr *udp_hdr,
> -             int nb_pkt_per_burst, uint8_t pkt_len, uint8_t
> nb_pkt_segs);
> +             int nb_pkt_per_burst, uint16_t pkt_len, uint8_t
> nb_pkt_segs);

The pkt_len field in rte_mbuf is uint32_t.
You could upgrade the packet length here to uint32_t too, instead of upgrading 
to only uint16_t.

<feature creep>
While you are at it, the nb_segs field in rte_mbuf is uint16_t, you could also 
upgrade the number of segments to uint16_t.
</feature creep>

Reply via email to