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 <xu.binb...@zte.com.cn>
---
Documentation/faq/configuration.rst | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff
'dpdk' port naming")
Signed-off-by: Binbin Xu <xu.binb...@zte.com.cn>
---
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
@@
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 <xu.binb...@zte.com.cn>
---
lib/netdev-dpdk.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
When OVS 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 <xu.binb...@zte.com.cn>
---
lib/netdev-dpdk.c | 8 +---
1 file chan
When OVS 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 <xu.binb...@zte.com.cn>
---
lib/netdev.c | 6 +++---
1 file chan
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 <xu.binb...@zte.com.cn>
---
lib/netdev-dpdk.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lib/
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 <xu.binb...@zte.com.cn>
---
lib/netdev-dpdk.
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 <xu.binb...@zte.com.cn>
---
lib/netdev-dpdk.
e_run__ ()
7 0x7f65807e715d in bridge_run ()
8 0x7f658065784d in main ()
Signed-off-by: Binbin Xu <xu.binb...@zte.com.cn>
---
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/ofpro
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 <xu.binb...@zte.com.cn>
---
include/openvswitch/ofp-actio
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 <xu.binb...@z
-by: Binbin Xu <xu.binb...@zte.com.cn>
---
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 +
in (argc=2, argv=0x7fff097e83b8) at utilities/ovs-appctl.c:53
Signed-off-by: Binbin Xu <xu.binb...@zte.com.cn>
---
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
in (argc=2, argv=0x7fff097e83b8) at utilities/ovs-appctl.c:53
Signed-off-by: Binbin Xu <xu.binb...@zte.com.cn>
---
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
The function netdev_vport_get_dpif_port_strdup is not
used anymore. So we can remove it now.
Signed-off-by: Binbin Xu <xu.binb...@zte.com.cn>
---
lib/netdev-vport.c | 9 -
lib/netdev-vport.h | 1 -
2 files changed, 10 deletions(-)
mode change 100644 => 100755 lib/netdev-vpor
vxlan_sys_4789vxlan_usr_4789
gre gre_sys gre_usr
..
Signed-off-by: Binbin Xu <xu.binb...@zte.com.cn>
---
lib/dpif-netdev.c | 3 ++-
lib/dpif-netlink.c | 2 +-
lib/netdev-vport.c | 26 +++---
lib/netdev-vport.h | 2 +-
lib/ne
vxlan_sys_4789vxlan_usr_4789
gre gre_sys gre_usr
..
Signed-off-by: Binbin Xu <xu.binb...@zte.com.cn>
---
lib/dpif-netdev.c | 3 ++-
lib/dpif-netlink.c | 2 +-
lib/netdev-vport.c | 26 +++---
lib/netdev-vport.h | 2 +-
lib/ne
The function netdev_vport_get_dpif_port_strdup is not
used anymore. So we can remove it now.
Signed-off-by: Binbin Xu <xu.binb...@zte.com.cn>
---
lib/netdev-vport.c | 9 -
lib/netdev-vport.h | 1 -
2 files changed, 10 deletions(-)
mode change 100644 => 100755 lib/netdev-vpor
of socket binding.
Signed-off-by: Binbin Xu <xu.binb...@zte.com.cn>
---
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
of socket binding.
Signed-off-by: Binbin Xu <xu.binb...@zte.com.cn>
---
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
of socket binding.
Signed-off-by: Binbin Xu <xu.binb...@zte.com.cn>
---
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
21 matches
Mail list logo