Fix soft checksum calculation 65/67965/2
authorXavier Simonart <xavier.simonart@intel.com>
Tue, 28 May 2019 18:24:00 +0000 (20:24 +0200)
committerPatrice Buriez <patrice.buriez@intel.com>
Tue, 11 Jun 2019 11:58:49 +0000 (11:58 +0000)
commit0d8616af8418480595a2c53e1dc7c3b809962a28
tree7cd7b4a16d9265e8dc3016293f4c29ab8e3ddd98
parentc477a3fa2d36e10c6004f2c20fe89acdc0a51917
Fix soft checksum calculation

Soft CRC was wrong in some cases, such as when compiled with gcc -O2
This might have caused the checksum to be set to 0 in those cases.

Change-Id: Idf01df92876bd2a152ad028293b67a31861a0dfc
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
VNFs/DPPD-PROX/prox_cksum.c