Hi Jesse,

Thanks! It works... although I don't quite understand why.

[root@vm-dev ovs]# ovs-appctl -t ovs-vswitchd exit
[root@vm-dev ovs]# ovs-appctl -t ovsdb-server exit
[root@vm-dev ovs]# lsmod | grep open
openvswitch           155648  4    ----> still 4

[root@vm-dev ovs]# ovs-dpctl del-dp system@ovs-system
[root@vm-dev ovs]# lsmod | grep open
openvswitch           155648  0   -----> become 0

[root@vm-dev ovs]# rmmod openvswitch
works!

Regards,
William

On Mon, Mar 14, 2016 at 1:15 PM, Jesse Gross <je...@kernel.org> wrote:

> On Sun, Mar 13, 2016 at 8:39 PM, William Tu <u9012...@gmail.com> wrote:
> > Hi Darrell,
> >
> > Thanks, however, it still doesn't work for me. On linux 4.3, modules that
> > depends on openvswitch.ko are
> > vport-gre
> > vport-vxlan
> > vport-geneve
> > I've made sure they all unloaded, but my openvswitch.ko still shows "used
> > by 4"
> >
> > [root@vm-dev ovs]# lsmod | grep vport
> > [root@vm-dev ovs]# lsmod | grep openvswitch
> > openvswitch           155648  4
> > udp_tunnel             16384  1 openvswitch
>
> I would try deleting the datapaths with ovs-dpctl del-dps to see if
> that makes a difference. It shouldn't be necessary as long as you can
> remove the dependent vport modules but it's worth seeing if it helps.
>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to