Re: [ovs-dev] [PATCH v2] ofproto-dpif-xlate: Fix segmentation fault caused by tun_table

2018-05-03 Thread Ben Pfaff
On Thu, May 03, 2018 at 09:49:50AM -0700, Yi-Hung Wei wrote: > Currently, the revalidator thread may hit segmentation fault when geneve > TLV map is updated. It is because we may store the old TLV map (struct > tun_table) in the frozen state for recirculation, and we may access the > already

[ovs-dev] [PATCH] ovn.at: fix timing in test case /32 router IP address

2018-05-03 Thread Han Zhou
After mac binding is populated in SB, before sending a packet, we should ensure HVs processed this SB change. This patch ensures it by: ovn-nbctl --wait=hv sync. Signed-off-by: Han Zhou --- tests/ovn.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[ovs-dev] [PATCH] ovn-controller: handle multicast group for local datapath only

2018-05-03 Thread Han Zhou
Most mc related flows are added only if the mc is related to local datapath, but there is a flow added before the local datapath check, out of the function consider_mc_group(). This patch fixes it. Signed-off-by: Han Zhou --- ovn/controller/physical.c | 31

[ovs-dev] soirée découverte

2018-05-03 Thread Invitation
SOIRÉES DÉCOUVERTE - ouvertes à tous Cette nouvelle façon de soulager et rétablir l’harmonie des personnes en passant par l’inconscient, intéresse les professionnels qui l’utilisent désormais au quotidien dans les établissements de soins mais

Re: [ovs-dev] [PATCH v1 1/2] gitignore: Ignore system-dpdk-testsuite

2018-05-03 Thread Lam, Tiago
On 03/05/2018 19:25, Stokes, Ian wrote: Commit a7e4849 ("tests: Add system-dpdk-testsuite") introduced a new testsuite for OvS-DPDK. This generates a system-dpdk-testsuite script at build time which, as it happens for other testsuites, should not be part of the repo. Add the generated script to

[ovs-dev] We need a representative

2018-05-03 Thread Nathaniel Cheong
Contract Opportunity Commission-5% Job type-Contract Duration:12months Time Required:3-5 hours per week. Role- Account Receivable Agent. Hello Sir/Madam We are currently recruiting companies/individuals on behalf of a large steel company located in china {China South Industries Group

[ovs-dev] [PATCH 2/2] dpdk: reflect status and version in the database

2018-05-03 Thread Aaron Conole
The normal way of retrieving the running DPDK status involves parsing log files and issuing various incantations of ovs-vsctl and ovs-appctl commands to determine whether the rte_eal_init successfully started. This commit adds two new records to reflect the dpdk version, and the dpdk

[ovs-dev] [PATCH 0/2] dpdk: refactor the initialization step

2018-05-03 Thread Aaron Conole
Sometimes, DPDK initialization can fail, but ovs-vswitchd will abort in that case. When that occurs, ovs-vswitchd will be restarted by the monitor and immediately abort. This is rather unfriendly to users, who would prefer to possibly correct the issue or at least, not have lots of processes

[ovs-dev] [PATCH 1/2] dpdk: allow init to fail

2018-05-03 Thread Aaron Conole
It's possible for dpdk initialization to fail either due to an internal error or an invalid configuration. When that happens, it's rather impolite to immediately abort without any details. With this change, a failed dpdk initialization attempt will continue to trigger a SIGABRT. However, the

Re: [ovs-dev] [PATCH v1 1/2] gitignore: Ignore system-dpdk-testsuite

2018-05-03 Thread Stokes, Ian
> Commit a7e4849 ("tests: Add system-dpdk-testsuite") introduced a new > testsuite for OvS-DPDK. This generates a system-dpdk-testsuite script at > build time which, as it happens for other testsuites, should not be part > of the repo. > > Add the generated script to tests/.gitignore to reflect

Re: [ovs-dev] [PATCH] ofproto-dpif-xlate: Fix segmentation fault caused by tun_table

2018-05-03 Thread Yi-Hung Wei
> If the TLV map changed, then won't replacing 'tab' by the new one cause > the packet to be misinterpreted? If so, then it would be better to > detect the change and abort translating the packet. I don't think we > currently have a way to tell whether the TLV map changed, so we'd need > to add

[ovs-dev] [PATCH v2] ofproto-dpif-xlate: Fix segmentation fault caused by tun_table

2018-05-03 Thread Yi-Hung Wei
Currently, the revalidator thread may hit segmentation fault when geneve TLV map is updated. It is because we may store the old TLV map (struct tun_table) in the frozen state for recirculation, and we may access the already freed old tun_table in xlate_actions(). This patch update the logic of

[ovs-dev] [PATCH v1 1/2] gitignore: Ignore system-dpdk-testsuite

2018-05-03 Thread Tiago Lam
Commit a7e4849 ("tests: Add system-dpdk-testsuite") introduced a new testsuite for OvS-DPDK. This generates a system-dpdk-testsuite script at build time which, as it happens for other testsuites, should not be part of the repo. Add the generated script to tests/.gitignore to reflect the above.

[ovs-dev] [PATCH v1 2/2] dpdk-testsuite: Filter 1G HugePages WARN log.

2018-05-03 Thread Tiago Lam
Currently, DPDK prints a WARN log if one doesn't have 1GB HugePages available. Since OVS_SWITCHD_STOP considers any WARN a failure, the newly added DPDK testsuite tests fail if one doesn't have 1GB Hugepages configured, even though it is still possible to run OvS-DPDK over 2MB HugePages. This

Re: [ovs-dev] [ PATCH v2] dpdk: Use DPDK 17.11.2 release.

2018-05-03 Thread Stokes, Ian
> On 05/02/2018 11:16 AM, Maxime Coquelin wrote: > > Hi Ian, > > > > On 05/02/2018 11:42 AM, Stokes, Ian wrote: > >>> On 04/25/2018 10:17 AM, Stokes, Ian wrote: > > Modify travis linux build script to use the latest DPDK stable > > release 17.11.2. Update docs for latest DPDK stable

[ovs-dev] [PATCH net] openvswitch: Don't swap table in nlattr_set() after OVS_ATTR_NESTED is found

2018-05-03 Thread Stefano Brivio
If an OVS_ATTR_NESTED attribute type is found while walking through netlink attributes, we call nlattr_set() recursively passing the length table for the following nested attributes, if different from the current one. However, once we're done with those sub-nested attributes, we should continue

[ovs-dev] [PATCH v1] netdev-dpdk: Handle ENOTSUP for rte_eth_dev_set_mtu.

2018-05-03 Thread Ian Stokes
The function rte_eth_dev_set_mtu is not supported for all DPDK drivers. Currently if it is not supported we return an error in dpdk_eth_dev_queue_setup. There are two issues with this. (i) A device can still function even if rte_eth_dev_set_mtu is not supported albeit with the default max rx

[ovs-dev] [PATCH v1] netdev-dpdk: Enable HW_CRC_STRIP for virtual functions.

2018-05-03 Thread Ian Stokes
From: Michal Weglicki Virtual functions such as igb_vf and i40e_vf require HW_CRC_STRIP to be explicitly enabled before configuration, otherwise device configuration will fail. This commit achieves this by adding NETDEV_RX_HW_CRC_STRIP to dpdk_hw_ol_features. When a

[ovs-dev] [PATCH] vswitch.xml: Add details for mac option.

2018-05-03 Thread Tonghao Zhang
Signed-off-by: Tonghao Zhang --- vswitchd/vswitch.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml index f899a19..e73fdca 100644 --- a/vswitchd/vswitch.xml +++ b/vswitchd/vswitch.xml @@ -2100,7 +2100,8

[ovs-dev] VLAN with Network emulation

2018-05-03 Thread rakesh kumar
Dear Team, Give some idea's on how VLAN works with Network emulation, How to configure VLAN stuffs ? Regards Rakesh kumar ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH] ofproto-dpif-xlate: Fix segmentation fault caused by tun_table

2018-05-03 Thread Ben Pfaff
On Tue, May 01, 2018 at 05:20:31PM -0700, Yi-Hung Wei wrote: > Currently, the revalidator thread may hit segmentation fault when geneve > TLV map is updated. It is because we may store the old TLV map (struct > tun_table) in the frozen state for recirculation, and we may access the > already

[ovs-dev] Cannot open /dev/vfio/noiommu-0: Permission denied

2018-05-03 Thread Leon Goldberg
Hi list, I'm trying to integrate ovs-dpdk into oVirt. For testing purposes, I'm writing a test that looks to run a VM on top of a dpdk port. The testing environment consists of nested virtualization: Physical machine -> Jenkins CI VM -> Target VM The test merely looks to see that the various