Re: [dpdk-dev] [dpdk-stable] [PATCH] test/eventdev: fix sprintf with snprintf

2019-04-01 Thread Aaron Conole
Jerin Jacob Kollanukkaran writes: > On Wed, 2019-03-13 at 10:35 -0400, Aaron Conole wrote: >> >> > For all cases I expect truncation trigger a functional error which >> > should be >> > already handled properly, like in this case 'rte_vdev_init()' will >> > fail in >> > second call if buffer is

Re: [dpdk-dev] [dpdk-stable] [PATCH] test/eventdev: fix sprintf with snprintf

2019-03-30 Thread Jerin Jacob Kollanukkaran
On Wed, 2019-03-13 at 10:35 -0400, Aaron Conole wrote: > > > For all cases I expect truncation trigger a functional error which > > should be > > already handled properly, like in this case 'rte_vdev_init()' will > > fail in > > second call if buffer is small. > > And give the user a bad error ("

Re: [dpdk-dev] [dpdk-stable] [PATCH] test/eventdev: fix sprintf with snprintf

2019-03-13 Thread Aaron Conole
Ferruh Yigit writes: > On 3/13/2019 1:43 PM, Aaron Conole wrote: >> Ferruh Yigit writes: >> >>> On 3/12/2019 2:44 PM, Aaron Conole wrote: "Parthasarathy, JananeeX M" writes: > Hi > >> -Original Message- >> From: Parthasarathy, JananeeX M >> Sent: Tuesday,

Re: [dpdk-dev] [dpdk-stable] [PATCH] test/eventdev: fix sprintf with snprintf

2019-03-13 Thread Ferruh Yigit
On 3/13/2019 1:43 PM, Aaron Conole wrote: > Ferruh Yigit writes: > >> On 3/12/2019 2:44 PM, Aaron Conole wrote: >>> "Parthasarathy, JananeeX M" writes: >>> Hi > -Original Message- > From: Parthasarathy, JananeeX M > Sent: Tuesday, February 19, 2019 6:33 PM > To:

Re: [dpdk-dev] [dpdk-stable] [PATCH] test/eventdev: fix sprintf with snprintf

2019-03-13 Thread Aaron Conole
Ferruh Yigit writes: > On 3/12/2019 2:44 PM, Aaron Conole wrote: >> "Parthasarathy, JananeeX M" writes: >> >>> Hi >>> -Original Message- From: Parthasarathy, JananeeX M Sent: Tuesday, February 19, 2019 6:33 PM To: Aaron Conole ; Poornima, PallantlaX Cc: de

Re: [dpdk-dev] [dpdk-stable] [PATCH] test/eventdev: fix sprintf with snprintf

2019-03-13 Thread Ferruh Yigit
On 3/12/2019 2:44 PM, Aaron Conole wrote: > "Parthasarathy, JananeeX M" writes: > >> Hi >> >>> -Original Message- >>> From: Parthasarathy, JananeeX M >>> Sent: Tuesday, February 19, 2019 6:33 PM >>> To: Aaron Conole ; Poornima, PallantlaX >>> >>> Cc: dev@dpdk.org; Pattan, Reshma ; Rao, N