Re: [dpdk-dev] [PATCH] net/ixgbe: Put correct id values in ixgbevf_dev_xstats_get

2017-03-09 Thread Ferruh Yigit
On 3/9/2017 4:46 PM, Ferruh Yigit wrote: > On 3/7/2017 2:28 PM, Ido Barnea (ibarnea) wrote: >> Without setting the id, calling xstats_get twice with same array causes >> memory corruption. >> Also, if IXGBEVF_NB_XSTATS will be different than 1 in the future, this will >> cause issues. >> >> Signe

Re: [dpdk-dev] [PATCH] net/ixgbe: Put correct id values in ixgbevf_dev_xstats_get

2017-03-09 Thread Ferruh Yigit
On 3/7/2017 2:28 PM, Ido Barnea (ibarnea) wrote: > Without setting the id, calling xstats_get twice with same array causes > memory corruption. > Also, if IXGBEVF_NB_XSTATS will be different than 1 in the future, this will > cause issues. > > Signed-off-by: Ido Barnea Acked-by: Ferruh Yigit

[dpdk-dev] [PATCH] net/ixgbe: Put correct id values in ixgbevf_dev_xstats_get

2017-03-07 Thread Ido Barnea (ibarnea)
Without setting the id, calling xstats_get twice with same array causes memory corruption. Also, if IXGBEVF_NB_XSTATS will be different than 1 in the future, this will cause issues. Signed-off-by: Ido Barnea --- drivers/net/ixgbe/ixgbe_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git