Re: [dpdk-dev] [PATCH] app/compress-perf: prevent output buffer overflow

2019-07-26 Thread Akhil Goyal
> > > > This patch fixes the issue of memory overwrite after the end of > > the output buffer by calculating its size as the number of all > > segments multipled by the output segment size. > > Additionally buffer overflow errors returned by PMD driver are > > detected and shown, ending the test.

Re: [dpdk-dev] [PATCH] app/compress-perf: prevent output buffer overflow

2019-07-26 Thread Trahe, Fiona
> -Original Message- > From: Dybkowski, AdamX > Sent: Tuesday, July 23, 2019 10:53 AM > To: dev@dpdk.org; Trahe, Fiona ; akhil.go...@nxp.com > Cc: Dybkowski, AdamX > Subject: [PATCH] app/compress-perf: prevent output buffer overflow > > This patch fixes the issue of memory overwrite af

[dpdk-dev] [PATCH] app/compress-perf: prevent output buffer overflow

2019-07-23 Thread Adam Dybkowski
This patch fixes the issue of memory overwrite after the end of the output buffer by calculating its size as the number of all segments multipled by the output segment size. Additionally buffer overflow errors returned by PMD driver are detected and shown, ending the test. Also the output buffer s