aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorAndrey Zhadchenko <[email protected]>2022-08-25 05:04:49 +0300
committerJakub Kicinski <[email protected]>2022-08-26 19:31:20 -0700
commit54c4ef34c4b6f9720fded620e2893894f9f2c554 (patch)
treea1c338032c23fbc37da0c74026eb9e03dcbe99af /tools/perf/scripts/python/intel-pt-events.py
parentf7650d82e7dc501dfc5920c698bcc0591791a57c (diff)
openvswitch: allow specifying ifindex of new interfaces
CRIU is preserving ifindexes of net devices after restoration. However, current Open vSwitch API does not allow to target ifindex, so we cannot correctly restore OVS configuration. Add new OVS_DP_ATTR_IFINDEX for OVS_DP_CMD_NEW and use it as desired ifindex. Use OVS_VPORT_ATTR_IFINDEX during OVS_VPORT_CMD_NEW to specify new netdev ifindex. Signed-off-by: Andrey Zhadchenko <[email protected]> Acked-by: Christian Brauner (Microsoft) <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions