summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJohn Hurley <john.hurley@netronome.com>2019-04-15 17:55:55 +0300
committerDavid S. Miller <davem@davemloft.net>2019-04-16 01:45:36 +0300
commit27f54b582567bef2bfb9ee6f23aed6137cf9cfcb (patch)
tree0bef6fdc68d0d5ad3b17e45db5a57ee59af07137 /tools/perf/scripts/python/exported-sql-viewer.py
parent4d12ba42787b5c1eb41375bc6cc70ad8dd7aa0e0 (diff)
downloadlinux-27f54b582567bef2bfb9ee6f23aed6137cf9cfcb.tar.xz
nfp: allow fallback packets from non-reprs
Currently, it is assumed that fallback packets will be from reprs. Modify this to allow an app to receive non-repr ports from the fallback channel - e.g. from an internal port. If such a packet is received, do not update repr stats. Change the naming function calls so as not to imply it will always be a repr netdev returned. Add the option to set a bool value to redirect a fallback packet out the returned port rather than RXing it. Setting of this bool in subsequent patches allows the handling of packets falling back when they are due to egress an internal port. Signed-off-by: John Hurley <john.hurley@netronome.com> Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions