summaryrefslogtreecommitdiff
path: root/net/nfc
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-08-27 05:31:23 +0300
committerJakub Kicinski <kuba@kernel.org>2022-08-27 05:31:23 +0300
commit7dea06dbb097c7cbf6fd930960c32944829468a9 (patch)
tree9d4f28353719840bae6d488edad6bf534cabadd4 /net/nfc
parentf7650d82e7dc501dfc5920c698bcc0591791a57c (diff)
parent347541e299d50c154f69ead0fcac2917a63e4481 (diff)
downloadlinux-7dea06dbb097c7cbf6fd930960c32944829468a9.tar.xz
Merge branch 'openvswitch-allow-specifying-ifindex-of-new-interfaces'
Andrey Zhadchenko says: ==================== openvswitch: allow specifying ifindex of new interfaces CRIU currently do not support checkpoint/restore of OVS configurations, but there was several requests for it. For example, https://github.com/lxc/lxc/issues/2909 The main problem is ifindexes of newly created interfaces. We realy need to preserve them after restore. Current openvswitch API does not allow to specify ifindex. Most of the time we can just create an interface via generic netlink requests and plug it into ovs but datapaths (generally any OVS_VPORT_TYPE_INTERNAL) can only be created via openvswitch requests which do not support selecting ifindex. This patch allows to do so. For new datapaths I decided to use dp_infindex in header as infindex because it control ifindex for other requests too. For internal vports I reused OVS_VPORT_ATTR_IFINDEX. The only concern I have is that previously dp_ifindex was not used for OVS_DP_VMD_NEW requests and some software may not set it to zero. However we have been running this patch at Virtuozzo for 2 years and have not encountered this problem. Not sure if it is worth to add new ovs_datapath_attr instead. ==================== Link: https://lore.kernel.org/r/20220825020450.664147-1-andrey.zhadchenko@virtuozzo.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/nfc')
0 files changed, 0 insertions, 0 deletions