diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2017-03-10 10:38:36 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-12 23:43:19 -0700 |
commit | 97717aca618a85d9e52327b4509a3b95c2f8f121 (patch) | |
tree | 739bb23f5e9701331d9a401741ddca667b5969c9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c487e6b199eab3af14e54406d97cc3c149e591e1 (diff) |
nfp: validate rx offset from the BAR and size down it's field
NFP_NET_CFG_RX_OFFSET is 32bit wide, make sure what we read from
there is reasonable for packet headroom. This allows us to store
the rx_offset in a 8bit variable.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions