On Fri, Aug 19, 2022 at 06:30:42PM +0300, Andrey Zhadchenko wrote: > 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. > > Use ovs_header->dp_ifindex during OVS_DP_CMD_NEW as desired ifindex. > Use OVS_VPORT_ATTR_IFINDEX during OVS_VPORT_CMD_NEW to specify new netdev > ifindex. > > Signed-off-by: Andrey Zhadchenko <andrey.zhadche...@virtuozzo.com> > ---
Looks good to me, Acked-by: Christian Brauner (Microsoft) <brau...@kernel.org> _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev