Message ID | 20161111134451.2280-2-xu.binbin1@zte.com.cn |
---|---|
State | Accepted |
Delegated to: | Daniele Di Proietto |
Headers | show |
2016-11-11 5:44 GMT-08:00 Binbin Xu <xu.binbin1@zte.com.cn>: > When we set physical port's admin state via ovs-appctl, the application > seems to work and returns "OK". But the application doesn't work perfectly, > the state stored in database doesn't change. > > Signed-off-by: Binbin Xu <xu.binbin1@zte.com.cn> > Applied to master and branch-2.6, thanks
diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index c536992..4ed7274 100644 --- a/lib/netdev-dpdk.c +++ b/lib/netdev-dpdk.c @@ -2162,6 +2162,8 @@ netdev_dpdk_update_flags__(struct netdev_dpdk *dev, if (!(dev->flags & NETDEV_UP)) { rte_eth_dev_stop(dev->port_id); } + + netdev_change_seq_changed(&dev->up); } else { /* If DPDK_DEV_VHOST device's NETDEV_UP flag was changed and vhost is * running then change netdev's change_seq to trigger link state
When we set physical port's admin state via ovs-appctl, the application seems to work and returns "OK". But the application doesn't work perfectly, the state stored in database doesn't change. Signed-off-by: Binbin Xu <xu.binbin1@zte.com.cn> --- lib/netdev-dpdk.c | 2 ++ 1 file changed, 2 insertions(+)