aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>2020-08-01 02:23:40 +0530
committerDavid S. Miller <davem@davemloft.net>2020-08-03 15:33:12 -0700
commit29b3705facb3d2b9f51383aa5ad3962a9105d06b (patch)
tree7bbc6cf014e6807bee126c1918c79306ae36f755 /tools/perf/scripts/python/export-to-postgresql.py
parentcxgb4: fix check for running offline ethtool selftest (diff)
downloadlinux-dev-29b3705facb3d2b9f51383aa5ad3962a9105d06b.tar.xz
linux-dev-29b3705facb3d2b9f51383aa5ad3962a9105d06b.zip
cxgb4: fix extracting IP addresses in TC-FLOWER rules
commit c8729cac2a11 ("cxgb4: add ethtool n-tuple filter insertion") has removed checking control key for determining IP address types for TC-FLOWER rules, which causes all the rules being inserted to hardware to become IPv6 rule type always. So, add back the check to select the correct IP address type to extract and hence fix the correct rule type being inserted to hardware. Also, ethtool_rx_flow_key doesn't have any control key and instead directly sets the IPv4/IPv6 address keys. So, explicitly set the IP address type for ethtool n-tuple filters to reuse the same code. Fixes: c8729cac2a11 ("cxgb4: add ethtool n-tuple filter insertion") Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.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