Re: [dpdk-dev] [PATCH v2 1/2] test: fix event timer compiler warning

2018-09-28 Thread Jerin Jacob
-Original Message- > Date: Thu, 27 Sep 2018 12:08:56 +0100 > From: Bruce Richardson > To: Nikhil Rao > CC: tho...@monjalon.net, jerin.ja...@caviumnetworks.com, dev@dpdk.org, > erik.g.carri...@intel.com, sta...@dpdk.org > Subject: Re: [PATCH v2 1/2] test: fix event timer compiler warning

Re: [dpdk-dev] [PATCH v2 1/2] test: fix event timer compiler warning

2018-09-27 Thread Bruce Richardson
On Thu, Sep 27, 2018 at 11:16:14AM +0530, Nikhil Rao wrote: > Limit the number of objects passed to rte_mempool_put_bulk() > to the size of the object table. This fix eliminates a compiler > warning (array-bounds) triggered when the march command line > parameter to gcc is set to nehalem. > > Fixe

[dpdk-dev] [PATCH v2 1/2] test: fix event timer compiler warning

2018-09-26 Thread Nikhil Rao
Limit the number of objects passed to rte_mempool_put_bulk() to the size of the object table. This fix eliminates a compiler warning (array-bounds) triggered when the march command line parameter to gcc is set to nehalem. Fixes: d1f3385d0076 ("test: add event timer adapter auto-test") Cc: erik.g.c