aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorYevgeny Kliteynik <[email protected]>2019-02-12 13:31:00 +0200
committerSaeed Mahameed <[email protected]>2019-05-31 13:04:26 -0700
commit1f6da30697d0e102f5ed983a2a4942df9875195a (patch)
tree22598a7dc40ec58ea271ab042703136ab473bd2c /tools/perf/scripts/python/bin/stackcollapse-record
parent0ccc171ea6a2fa34a6b898329c0a447c84e27057 (diff)
net/mlx5e: Geneve, Keep tunnel info as pointer to the original struct
In mlx5e encap entry structure, IP tunnel info data structure is copied by value. This approach worked till now, but it breaks when there are encapsulation options, such as in case of Geneve. These options are stored in the structure that is allocated adjacent to the IP tunnel info struct, and not pointed at by any field in that struct. Therefore, when copying the struct by value, we loose the address of the original struct and can't get to the encapsulation options. Fix the problem by storing the pointer to the tunnel info data instead. Reviewed-by: Oz Shlomo <[email protected]> Signed-off-by: Yevgeny Kliteynik <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions