[ovs-dev] [PATCH] configuration.rst: Update the example of DPDK port's configuration

2017-01-17 Thread Binbin Xu
After the hotplug of DPDK ports, a valid dpdk-devargs must be specified. Otherwise, the DPDK device can't be available. Signed-off-by: Binbin Xu --- Documentation/faq/configuration.rst | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Documentation/faq/configuratio

[ovs-dev] [PATCH v2] netdev-dpdk: Assign socket id according to device's numa id

2017-01-11 Thread Binbin Xu
pdk: Arbitrary 'dpdk' port naming") Signed-off-by: Binbin Xu --- lib/netdev-dpdk.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index 8bb9086..57ebdb3 100644 --- a/lib/netdev-dpdk.c +++ b/lib/netdev-dpdk.c @@ -1197,

[ovs-dev] [PATCH] netdev-dpdk: Assign socket id according to device's numa id

2017-01-11 Thread Binbin Xu
e socket id of DPDK ports should be assigned according to the numa id of the device. Signed-off-by: Binbin Xu --- lib/netdev-dpdk.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index 8bb9086..57ebdb3 100644 --- a/lib/netdev-dpdk.c

[ovs-dev] [PATCH 3/3] netdev-dpdk: Restore flags of dpdk netdev

2016-11-10 Thread Binbin Xu
If the eth device starts failed or vhost port is not running, the flags of dpdk netdev should be restored. Signed-off-by: Binbin Xu --- lib/netdev-dpdk.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index 4ed7274..0d8da16

[ovs-dev] [PATCH 2/3] netdev-dpdk: Fix the issue of physical port's admin state configuration

2016-11-10 Thread Binbin Xu
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 --- lib/netdev-dpdk.c | 2 ++ 1 file changed, 2 in

[ovs-dev] [PATCH 1/3] netdev-dpdk: Can't set specified vhost port's admin state

2016-11-10 Thread Binbin Xu
When we set a vhost port's admin state via ovs-appctl, the application doesn't work and returns the information "Not a DPDK Interface". Signed-off-by: Binbin Xu --- lib/netdev-dpdk.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/netdev-dpdk.c

[ovs-dev] [PATCH 1/3] netdev-dpdk: Can't set specified vhost port's admin state

2016-11-09 Thread Binbin Xu
When we set a vhost port's admin state via ovs-appctl, the application doesn't work and returns the information "Not a DPDK Interface". Signed-off-by: Binbin Xu --- lib/netdev-dpdk.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/netdev-dpdk.c

[ovs-dev] [PATCH 2/3] netdev-dpdk: Fix the issue of physical port's admin state configuration

2016-11-08 Thread Binbin Xu
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 --- lib/netdev-dpdk.c | 2 ++ 1 file changed, 2 in

[ovs-dev] [PATCH 3/3] netdev-dpdk: Restore flags of dpdk netdev

2016-11-08 Thread Binbin Xu
If the eth device starts failed or vhost port is not running, the flags of dpdk netdev should be restored. Signed-off-by: Binbin Xu --- lib/netdev-dpdk.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index 4ed7274..0d8da16

[ovs-dev] [PATCH 1/3] netdev-dpdk: Can't set specified vhost port's admin state

2016-11-08 Thread Binbin Xu
When we set a vhost port's admin state via ovs-appctl, the application doesn't work and returns the information "Not a DPDK Interface". Signed-off-by: Binbin Xu --- lib/netdev-dpdk.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/netdev-dpdk.c