Re: [dpdk-dev] [PATCH v7 8/8] rte_ethdev.h: align sign and scope of temp var

2018-05-22 Thread Thomas Monjalon
22/05/2018 03:24, Andy Green: > - nb_rx = cb->fn.rx(port_id, queue_id, rx_pkts, nb_rx, > - nb_pkts, cb->param); > + nb_rx = cb->fn.rx(port_id, queue_id, > + rx_pkts, nb_rx, > +

Re: [dpdk-dev] [PATCH v7 8/8] rte_ethdev.h: align sign and scope of temp var

2018-05-22 Thread Bruce Richardson
On Tue, May 22, 2018 at 09:24:47AM +0800, Andy Green wrote: > /projects/lagopus/src/dpdk/build/include/rte_ethdev.h: > In function 'rte_eth_rx_burst': > /projects/lagopus/src/dpdk/build/include/rte_ethdev.h: > 3836:18: warning: conversion to 'int16_t' {aka 'short > int'} from 'uint16_t' {aka 'short

[dpdk-dev] [PATCH v7 8/8] rte_ethdev.h: align sign and scope of temp var

2018-05-21 Thread Andy Green
/projects/lagopus/src/dpdk/build/include/rte_ethdev.h: In function 'rte_eth_rx_burst': /projects/lagopus/src/dpdk/build/include/rte_ethdev.h: 3836:18: warning: conversion to 'int16_t' {aka 'short int'} from 'uint16_t' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion]