aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2016-04-16 11:25:53 +0100
committerDavid S. Miller <[email protected]>2016-04-16 22:34:40 -0400
commit180012dc05e565260a25696767c8f5b2df5fc50e (patch)
tree89bbc49d2998219b78575cb17f818705b89bacd2 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent2db221cd444bf356243c57b653b6bf84c3491806 (diff)
nfp: remove buggy RX buffer length validation
Meaning of data_len and meta_len RX WB descriptor fields is slightly confusing. Add a comment with a diagram clarifying the layout. Also remove the buffer length validation: (a) it's imprecise for static rx-offsets; (b) if firmware is buggy enough to DMA past the end of the buffer WARN_ON_ONCE() doesn't seem like a strong enough response. skb_put() will do the checking for us anyway. Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions