[dpdk-dev] [PATCH v5 1/3] app/testpmd: move dumping packets to a separate function

Ferruh Yigit ferruh.yigit at intel.com
Wed Oct 17 14:27:42 CEST 2018


On 10/17/2018 8:27 AM, Raslan Darawsheh wrote:
> verbosity for the received/sent packets is needed in all of the
> forwarding engines so moving it to be in a separate function
> 
> Acked-by: Bernard Iremonger <bernard.iremonger at intel.com>
> Signed-off-by: Raslan Darawsheh <rasland at mellanox.com>

<...>

> +static  inline void
> +dump_pkt_burst(uint16_t port_id, uint16_t queue, struct rte_mbuf *pkts[],
> +	      uint16_t nb_pkts, int is_rx)
> +{

This is causing build error when only this patch applied:

.../app/test-pmd/util.c:25:1: error: unused function 'dump_pkt_burst'
[-Werror,-Wunused-function]
dump_pkt_burst(uint16_t port_id, uint16_t queue, struct rte_mbuf *pkts[],
^


More information about the dev mailing list