On Wed, Nov 1, 2017 at 8:29 AM, Eric Garver <[email protected]> wrote: > On Mon, Oct 30, 2017 at 10:36:29AM -0700, William Tu wrote: >> Thanks for the review. >> >> Guru and I had some offline discussion. We have concern about possible >> packet lost when unconditionally remove the interface and bring it >> again. Currently if the userspace ovs-vswitchd dies, since the kernel >> datapath module still remains, packets can still go through. >> If restarting ovs-vswitch restarts the geneve device, then we might >> see more packets lost. So I'm thinking about another way to fix it >> without deleting the device. > > You can use dpif_netlink_rtnl_getlink() if the device already exists. > Then check IFLA_INFO_KIND == "ovs_geneve". > Thanks Eric, I followed your suggestion and submit v2 here: https://mail.openvswitch.org/pipermail/ovs-dev/2017-November/340357.html
William _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
