[dpdk-dev] [PATCH v1 1/1] examples/quota_watermark: fix low_watermark variable placement

2016-05-23 Thread Piotr Azarewicz
qw app at its init stage reserve 2*sizeof(int) memory space for quota and low_watermark shared variables, but both apps (qw and qwctl) assign wrong address for low_watermark pointer (out of reserved memzone space) due to wrong pointer arithmetic. CID 30709 : Extra sizeof expression (SIZEOF_MISMATC

[dpdk-dev] [PATCH v1 1/1] examples/quota_watermark: fix low_watermark variable placement

2016-06-08 Thread Thomas Monjalon
2016-05-23 14:19, Piotr Azarewicz: > qw app at its init stage reserve 2*sizeof(int) memory space for quota > and low_watermark shared variables, but both apps (qw and qwctl) assign > wrong address for low_watermark pointer (out of reserved memzone space) > due to wrong pointer arithmetic. > > CID