diff options
author | 2014-11-29 05:22:48 +0000 | |
---|---|---|
committer | 2014-12-05 09:13:07 -0800 | |
commit | 735c35afed09f07c57abc9171f40202ec5f1630f (patch) | |
tree | 15f07297122613e7700de40361d856e1289ed917 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ixgbe: add methods for combined read and write operations (diff) | |
download | linux-dev-735c35afed09f07c57abc9171f40202ec5f1630f.tar.xz linux-dev-735c35afed09f07c57abc9171f40202ec5f1630f.zip |
ixgbe: cleanup checksum to allow error results
Currently the shared code checksum calculation function only
returns a u16 and cannot return an error code. Unfortunately
a variety of errors can happen that completely prevent the
calculation of a checksum. So, change the function return value
from a u16 to an s32 and return a negative value on error, or the
positive checksum value when there is no error.
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions