summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMaor Gottlieb <maorg@mellanox.com>2019-01-17 21:08:15 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-01-22 06:10:06 +0300
commit6113cc44015b41ca51c0a76fed82522b68108dac (patch)
tree76ef1b31190e30f9b4373c6005fa4792f3f71498 /tools/perf/scripts/python/export-to-sqlite.py
parent414556af5f27c1f40b2afb18c3a1fee4b9535d40 (diff)
downloadlinux-6113cc44015b41ca51c0a76fed82522b68108dac.tar.xz
IB/mlx5: Don't override existing ip_protocol
Two flow specifications can set the ip protocol field in the flow table entry: 1) IB_FLOW_SPEC_TCP/UDP/GRE - set the ip protocol accordingly. 2) IB_FLOW_SPEC_IPV4/6 - has ip_protocol field for users who want to receive specific L4 packets. We need to avoid overriding of the ip_protocol with zeros, in case that the user first put the L4 specification and only then the L3. Fixes: ca0d47538528b ('IB/mlx5: Add support in TOS and protocol to flow steering') Signed-off-by: Maor Gottlieb <maorg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions