diff options
author | Jesse Brandeburg <[email protected]> | 2021-03-03 12:51:03 -0800 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2021-03-19 08:47:46 -0700 |
commit | f0a03a026857d6c7766eb7d5835edbf5523ca15c (patch) | |
tree | e21a085692568a68b7b66ac6c57203af7fde531e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a75519a84855bca029ce7d8a27de9409d9b84956 (diff) |
igb: check timestamp validity
Add a couple of checks to make sure timestamping is on and that the
timestamp value from DMA is valid. This avoids any functional issues
that could come from a misinterpreted time stamp.
One of the functions changed doesn't need a return value added because
there was no value in checking from the calling locations.
While here, fix a couple of reverse christmas tree issues next to
the code being changed.
Fixes: f56e7bba22fa ("igb: Pull timestamp from fragment before adding it to skb")
Fixes: 9cbc948b5a20 ("igb: add XDP support")
Signed-off-by: Jesse Brandeburg <[email protected]>
Tested-by: Dave Switzer <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions