[ovs-dev] [CudaMailTagged] [PATCH] netdev-dpdk: unlink socket file when constructing vhostuser.

2016-08-04 Thread Binbin Xu
re of socket binding. Signed-off-by: Binbin Xu --- lib/netdev-dpdk.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) mode change 100644 => 100755 lib/netdev-dpdk.c diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c old mode 100644 new mode 100755 index aaac0d1..95cf7c3 --- a/lib/netde

[ovs-dev] [CudaMailTagged] [PATCH] netdev-dpdk: unlink socket file when constructing vhostuser.

2016-08-04 Thread Binbin Xu
re of socket binding. Signed-off-by: Binbin Xu --- lib/netdev-dpdk.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) mode change 100644 => 100755 lib/netdev-dpdk.c diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c old mode 100644 new mode 100755 index aaac0d1..95cf7c3 --- a/lib/netde

[ovs-dev] [CudaMailTagged] [PATCH] netdev-dpdk: unlink socket file when constructing vhostuser.

2016-08-04 Thread Binbin Xu
re of socket binding. Signed-off-by: Binbin Xu --- lib/netdev-dpdk.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) mode change 100644 => 100755 lib/netdev-dpdk.c diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c old mode 100644 new mode 100755 index aaac0d1..95cf7c3 --- a/lib/netde

[ovs-dev] [PATCH 1/2] netdev-vport: remove unused function

2016-08-05 Thread Binbin Xu
The function netdev_vport_get_dpif_port_strdup is not used anymore. So we can remove it now. Signed-off-by: Binbin Xu --- lib/netdev-vport.c | 9 - lib/netdev-vport.h | 1 - 2 files changed, 10 deletions(-) mode change 100644 => 100755 lib/netdev-vport.c mode change 100644 =>

[ovs-dev] [CudaMailTagged] [PATCH 2/2] Tunnel: Fix the issue of tunnel port creation

2016-08-05 Thread Binbin Xu
vxlanvxlan_sys_4789vxlan_usr_4789 gre gre_sys gre_usr .. Signed-off-by: Binbin Xu --- lib/dpif-netdev.c | 3 ++- lib/dpif-netlink.c | 2 +- lib/netdev-vport.c | 26 +++--- lib/netdev-vport.h | 2 +- lib/netdev.c | 13 ++---

[ovs-dev] [CudaMailTagged] [PATCH 2/2] Tunnel: Fix the issue of tunnel port creation

2016-08-10 Thread Binbin Xu
vxlanvxlan_sys_4789vxlan_usr_4789 gre gre_sys gre_usr .. Signed-off-by: Binbin Xu --- lib/dpif-netdev.c | 3 ++- lib/dpif-netlink.c | 2 +- lib/netdev-vport.c | 26 +++--- lib/netdev-vport.h | 2 +- lib/netdev.c | 13 ++---

[ovs-dev] [PATCH 1/2] netdev-vport: remove unused function

2016-08-10 Thread Binbin Xu
The function netdev_vport_get_dpif_port_strdup is not used anymore. So we can remove it now. Signed-off-by: Binbin Xu --- lib/netdev-vport.c | 9 - lib/netdev-vport.h | 1 - 2 files changed, 10 deletions(-) mode change 100644 => 100755 lib/netdev-vport.c mode change 100644 =>

[ovs-dev] [PATCH] vlog: fix the crash caused by option syslog-method

2016-08-15 Thread Binbin Xu
in (argc=2, argv=0x7fff097e83b8) at utilities/ovs-appctl.c:53 Signed-off-by: Binbin Xu --- include/openvswitch/vlog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/openvswitch/vlog.h b/include/openvswitch/vlog.h index de64cbd..3a40421 100644 --- a/include/openvswi

[ovs-dev] [PATCH] vlog: fix the crash caused by option syslog-method

2016-08-19 Thread Binbin Xu
in (argc=2, argv=0x7fff097e83b8) at utilities/ovs-appctl.c:53 Signed-off-by: Binbin Xu --- include/openvswitch/vlog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/openvswitch/vlog.h b/include/openvswitch/vlog.h index de64cbd..3a40421 100644 --- a/include/openvswi

[ovs-dev] [CudaMailTagged] [PATCH] netdev-dpdk: in some case, needn't reconfigure pmd threads when changing MTU

2016-09-05 Thread Binbin Xu
en. Signed-off-by: Binbin Xu --- lib/netdev-dpdk.c | 31 ++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index 6d334db..86dd5df 100644 --- a/lib/netdev-dpdk.c +++ b/lib/netdev-dpdk.c @@ -1723,6 +1723,8 @@ netdev_dpd

[ovs-dev] [CudaMailTagged] [PATCH] bond: Fix the issue of negative number of "next rebalance"

2016-09-12 Thread Binbin Xu
The command "ovs-appctl bond/show" is used for display information of bond ports. When bond mode is "balance_slb" or "balance_tcp", we can find that the value followed behind "next rebalance" is negative somtimes. Signed-off-by: Binbin Xu --- ofp

[ovs-dev] [PATCH 2/2] ofp-actions: remove unused macro and function

2016-09-20 Thread Binbin Xu
The macro "OFPACT_FOR_EACH_TYPE" should be instead of macro "OFPACT_FOR_EACH_TYPE_FLATTENED". The macro and function with reference to "OFPACT_FOR_EACH_TYPE" can be removed now. Signed-off-by: Binbin Xu --- include/openvswitch/ofp-actions.h | 23 -

[ovs-dev] [PATCH 1/2] ofproto: fix the crash of process ovs-vswitchd

2016-09-20 Thread Binbin Xu
e_run__ () 7 0x7f65807e715d in bridge_run () 8 0x7f658065784d in main () Signed-off-by: Binbin Xu --- ofproto/ofproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 ofproto/ofproto.c diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c old mode 100644

[ovs-dev] [CudaMailTagged] [PATCH v2] netdev-dpdk: In some case, needn't reconfigure pmd threads when changing MTU

2016-10-10 Thread Binbin Xu
If the port is not an ethernet port, and the aligned size for the new MTU doesn't change, we needn't to reconfigure pmd thread. What we should do is that updating 'max_packet_len' atomic. Signed-off-by: Binbin Xu --- li

[ovs-dev] [CudaMailTagged] [PATCH v3] netdev-dpdk: In some case, needn't reconfigure pmd threads when changing MTU

2016-10-10 Thread Binbin Xu
If the port is not an ethernet port, and the aligned size for the new MTU doesn't change, we needn't to reconfigure pmd thread. What we should do is that updating 'max_packet_len' atomic. Signed-off-by: Binbin Xu --- lib/netdev-dpdk.c | 38 --

[ovs-dev] [PATCH] netdev-dpdk: Optimise the initialization of "port_conf"

2016-10-11 Thread Binbin Xu
The member "max_rx_pkt_len" of "port_conf" is only used if jumbo_frame enabled, so it can be initialized with value '0'. Signed-off-by: Binbin Xu --- lib/netdev-dpdk.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/netdev-dpdk.c b/l

[ovs-dev] [PATCH] netdev: Initialize netdev's features before getting them

2016-10-12 Thread Binbin Xu
When OVS&DPDK is used, DPDK doesn't support features 'advertised', 'supported' and 'peer'. If a physical port added to bridge, features descirbed above can't be assigned, and the values are random. Signed-off-by: Binbin Xu --- lib/netdev.c |

[ovs-dev] [PATCH] netdev-dpdk: Assign value '0' to unsupported netdev features

2016-10-12 Thread Binbin Xu
When OVS&DPDK is used, DPDK doesn't support features 'advertised', 'supported' and 'peer'. If a physical port added to bridge, features descirbed above can't be assigned, and the values are random. Signed-off-by: Binbin Xu --- lib/netdev-dpdk.c | 8