On Wed, Aug 17, 2022 at 03:49:09PM +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 <[email protected]> > ---
I think specifying the index at device creation time is a good idea and iirc then we do allow this for veth devices already. So I'd be happy to see this go forwad. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
