-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GRE over IPv4 traffic from VM to Contrail is not destributed #99
base: R3.2
Are you sure you want to change the base?
Commits on Feb 18, 2019
-
Implement fragment assembler properly on Windows
Implement per-CPU fragment queues. For now, the implementation is partially copied from Linux implementation. It will be refactored in followup PRs. Change-Id: Ib448d0515b99c9b64035222a23e0c048348526bd Partial-Jira-Bug: WIND-165
Configuration menu - View commit details
-
Copy full SHA for aced046 - Browse repository at this point
Copy the full SHA aced046View commit details
Commits on Feb 19, 2019
-
Fix atomic builtin functions on Windows
Atomic builtin functions should use 'volatile' for all pointers. Change-Id: I5949dfde57c6adfa720cb79fc6c8507884bb78ff Closes-Jira-Bug: WIND-177
Configuration menu - View commit details
-
Copy full SHA for 323cffd - Browse repository at this point
Copy the full SHA 323cffdView commit details -
Refactor: Move work item to separate file
Change-Id: Iabc976d1de4ce6e56957e2aec8aca36b653dbf17 Partial-Jira-Bug: WIND-165
Configuration menu - View commit details
-
Copy full SHA for 7665aef - Browse repository at this point
Copy the full SHA 7665aefView commit details -
Introduce and use system independent 'vr_sync_lock_test_and_set_p'
Change-Id: I2801c30cced7913a9ce6268a4a7e108f9200ec4f Partial-Jira-Bug: WIND-165
Configuration menu - View commit details
-
Copy full SHA for deab26d - Browse repository at this point
Copy the full SHA deab26dView commit details
Commits on Feb 20, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f440e34 - Browse repository at this point
Copy the full SHA f440e34View commit details -
Configuration menu - View commit details
-
Copy full SHA for c44f715 - Browse repository at this point
Copy the full SHA c44f715View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b5ec7a - Browse repository at this point
Copy the full SHA 6b5ec7aView commit details
Commits on Feb 21, 2019
-
Vrouter stops forwarding with iperf TCP test
closes-jira-bug: CEM-2807 Limitation in rte_port_ethdev_writer_tx_bulk in the pkts_mask field that we can transfer only 64 segments. The segmentation code can send a max of 128 segments, which was causing the mbuf leak. Fixed the code, by calling the tx_bulk function in a loop Change-Id: I81212f1ae32e47dd80c0938631e466db98242a3e
Jeya ganesh babu J committedFeb 21, 2019 Configuration menu - View commit details
-
Copy full SHA for 873ffec - Browse repository at this point
Copy the full SHA 873ffecView commit details -
dp-core: Expose functions to update offloaded flow and vrf stats
In scenarios where external implementations offload the full datapath to hardware, flow and vrf stats do not propogate to vrouter on the host. Add callbacks which enable such implementations to update these stats. Change-Id: I92ed304003284a0b69a0c27e37b579fe35d453b3 Partial-Bug: #1767107 Signed-off-by: Frik Botha <frederick.botha@netronome.com>
Configuration menu - View commit details
-
Copy full SHA for eeba94f - Browse repository at this point
Copy the full SHA eeba94fView commit details -
Multicast source inside contrail should not be dropped
With Smet routes, we only support sender outside contrail. However, we should continue using broadcast routes for sender inside contrail. Closes Jira Bug: JCB-219096 Change-Id: I2f46809beb1b04b48ed43b29ad982d08312b12a8
Configuration menu - View commit details
-
Copy full SHA for 03f743e - Browse repository at this point
Copy the full SHA 03f743eView commit details
Commits on Feb 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 62b0dc8 - Browse repository at this point
Copy the full SHA 62b0dc8View commit details
Commits on Feb 25, 2019
-
ISSU: kernel crash happens while migrating compute node from 4.1 to 5.0
This is a temporary commit to get more debug info for bug:JCB-160099 Suspecting hugepage request is not processed by vrouter code. Added debug prints in hugepage request to get more data about the crash. Partial Jira Bug: JCB-160099 Change-Id: I190265a9d0c687fe8a398b106d6a8d84266e89d3
Configuration menu - View commit details
-
Copy full SHA for 5e197e2 - Browse repository at this point
Copy the full SHA 5e197e2View commit details -
Link against the NFP PMD for vRouter-DPDK
vRouter-DPDK is unable to probe Netronome NICs, since the build system does not link to the NFP PMD. Change-Id: If5d9750a18348ae578cc413063a14cd75dd0ed3e Partial-Bug: #1774414 Signed-off-by: Frik Botha <frederick.botha@netronome.com>
Configuration menu - View commit details
-
Copy full SHA for a3ee12f - Browse repository at this point
Copy the full SHA a3ee12fView commit details -
Refactor: Prepare to remove code duplication in fragment assembler
Prepare to move vr_linux_fragment_assembler, VrFragmentAssembler and dpdk_fragment_assemble_queue to dp-core: 1. Introduce os-dependent vr_fragment_sync_assemble callback. 2. Rename vr_fragment_assembler to vr_fragment_assemble. 3. Fix formatting issues. Change-Id: Ia1cecaf06474df424d12fae8cca84fa9c8d8cc43 Partial-Jira-Bug: WIND-165
Configuration menu - View commit details
-
Copy full SHA for ac6348e - Browse repository at this point
Copy the full SHA ac6348eView commit details -
Refactor: Remove code duplication
Move duplicated code from fragment assembler on Windows, Linux and DPDK to dp-core. Change-Id: I99c4a3b2b4df13277c21bbbec5a2060b7ca3f93b Partial-Jira-Bug: WIND-165
Configuration menu - View commit details
-
Copy full SHA for 5086440 - Browse repository at this point
Copy the full SHA 5086440View commit details -
Configuration menu - View commit details
-
Copy full SHA for e33b86c - Browse repository at this point
Copy the full SHA e33b86cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 670d617 - Browse repository at this point
Copy the full SHA 670d617View commit details
Commits on Feb 27, 2019
-
Fix dpdk vrouter crash while doing vifdump
closes-jira-bug: CEM-2996 Added a null check for variable. Change-Id: I667f413a1d4604f7f2de8c7c04157c9b7317b2a0
Jeya ganesh babu J committedFeb 27, 2019 Configuration menu - View commit details
-
Copy full SHA for d2982e8 - Browse repository at this point
Copy the full SHA d2982e8View commit details
Commits on Feb 28, 2019
-
Use bcast mac if igmp disabled
If igmp is disabled, we should always use bcast mac for lookup. Partial Jira Bug: JCB-219141 Change-Id: Iad007832801a7c79b3d0897e877209815c53ebeb
Configuration menu - View commit details
-
Copy full SHA for d907374 - Browse repository at this point
Copy the full SHA d907374View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0d882a - Browse repository at this point
Copy the full SHA f0d882aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f150e1 - Browse repository at this point
Copy the full SHA 3f150e1View commit details
Commits on Mar 1, 2019
-
Configuration menu - View commit details
-
Copy full SHA for deead13 - Browse repository at this point
Copy the full SHA deead13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dfc59e - Browse repository at this point
Copy the full SHA 5dfc59eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8751ba7 - Browse repository at this point
Copy the full SHA 8751ba7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f30e028 - Browse repository at this point
Copy the full SHA f30e028View commit details -
Configuration menu - View commit details
-
Copy full SHA for 421f238 - Browse repository at this point
Copy the full SHA 421f238View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75abc30 - Browse repository at this point
Copy the full SHA 75abc30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fe6453 - Browse repository at this point
Copy the full SHA 1fe6453View commit details
Commits on Mar 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d3c8394 - Browse repository at this point
Copy the full SHA d3c8394View commit details -
Vrouter stops forwarding with iperf TCP test
closes-jira-bug: CEM-2807 tx_bulk can support upto burst of 64 packets. Change the send size to 64 instead of 32. Change-Id: Ifbf45e9fc23dd4d8e0f69fefc745730d3fbf2726 (cherry picked from commit 26f0926)
Jeya ganesh babu J committedMar 2, 2019 Configuration menu - View commit details
-
Copy full SHA for e01b9ad - Browse repository at this point
Copy the full SHA e01b9adView commit details
Commits on Mar 4, 2019
-
Include
windows\ksync
directory in release modeDuring refactoring of KSync module on Windows, `windows/ksync` directory was created. Currently, it is only included in the debug build. This change includes it to the release build. This change also removes redundant compilation options for vRouter in debug and release modes. Closes Jira Bug: WIND-198 Change-Id: I3582f7e4da5c44f5e3fa501bce0dfe3c1cd5e0fb
Dariusz Sosnowski committedMar 4, 2019 Configuration menu - View commit details
-
Copy full SHA for 88f651f - Browse repository at this point
Copy the full SHA 88f651fView commit details
Commits on Mar 7, 2019
-
Sending pckts on bare-metal doesn't break vrouter
Function ReallocateHeaders performs NBL copy for all packets - no matter if headers are in continuous memory segment or not. It means that if NIC driver is about to reuse original NBL in the future, it may safely assume that it is not modified. This change only affects Windows specific code. Change-Id: I5528c230db094857c7f489c7cd8a070a770fc626 Closes-JIRA-Bug: WIND-178
Jacek Iżykowski committedMar 7, 2019 Configuration menu - View commit details
-
Copy full SHA for 08722d3 - Browse repository at this point
Copy the full SHA 08722d3View commit details
Commits on Mar 12, 2019
-
Hw checksum not working in mainline
partial-jira-bug: CEM-3470 Disable hw checksum calculation to unblock QA tests Change-Id: I8ead412473c78d8eec55c92919bef81876c5b7f0
Jeya ganesh babu J committedMar 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 5e50b7b - Browse repository at this point
Copy the full SHA 5e50b7bView commit details
Commits on Mar 13, 2019
-
Drop ARP pkts with invalid plen and hwlen fields
Tested by sending invalid ARP pkts using scapy and checked that Invalid ARP counter is getting incremented. Change-Id: I2eaff1182651e4fad2da23e9d84a360c0faf1e08 closes-jira-bug: JCB-163451
Configuration menu - View commit details
-
Copy full SHA for d81a1ca - Browse repository at this point
Copy the full SHA d81a1caView commit details
Commits on Mar 14, 2019
-
multicast forwarding breakage fix for evpn multicast.
Corrected the checks and updated comments for the changes. Change-Id: I5413c59925372a6f677cb550562dcd97ae345290 partial-jira-bug: CEM-3439
Configuration menu - View commit details
-
Copy full SHA for 30915d0 - Browse repository at this point
Copy the full SHA 30915d0View commit details -
Hw checksum not working in mainline
closes-jira-bug: CEM-3470 The hw checksum seems to work with the old api mode. Reverting the workaround done to use sw checksum and use old api mode for now. Change-Id: I958f868c7bc3149c8e2b322ec4bd95a6dd279a6a
Jeya ganesh babu J committedMar 14, 2019 Configuration menu - View commit details
-
Copy full SHA for b07d2c6 - Browse repository at this point
Copy the full SHA b07d2c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 121d9b6 - Browse repository at this point
Copy the full SHA 121d9b6View commit details -
Stop Visual Studio from signing vrouter.sys
Signing with Visual Studio is flaky, so we'll sign the driver from SConscript. Closes Jira Bug: WIND-187 Change-Id: I2337119d06bb66c44baecdaede1d821375e53cfc
Configuration menu - View commit details
-
Copy full SHA for 05bd75b - Browse repository at this point
Copy the full SHA 05bd75bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30af898 - Browse repository at this point
Copy the full SHA 30af898View commit details -
Configuration menu - View commit details
-
Copy full SHA for efb1b53 - Browse repository at this point
Copy the full SHA efb1b53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48cfa6a - Browse repository at this point
Copy the full SHA 48cfa6aView commit details
Commits on Mar 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 287cccf - Browse repository at this point
Copy the full SHA 287cccfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94a41d3 - Browse repository at this point
Copy the full SHA 94a41d3View commit details -
Fix incorrect checksums in large TCP packets sent between vhosts
Add setting checksum to zero when LSO is enabled for packet. The checksum should be calculated by NIC in this case. According to MSDN: "Turning off Address Checksum Offloads when Large Send Offload (LSO) is enabled does not prevent the miniport driver from computing and inserting checksums in the packets generated by the LSO feature." Change-Id: Ibba695c69fa8e392e69fe472908ce66e69f90314 Closes-Jira-Bug: WIND-226
Configuration menu - View commit details
-
Copy full SHA for 56568a6 - Browse repository at this point
Copy the full SHA 56568a6View commit details
Commits on Mar 18, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 653c769 - Browse repository at this point
Copy the full SHA 653c769View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b23532 - Browse repository at this point
Copy the full SHA 7b23532View commit details
Commits on Mar 19, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 0c96b91 - Browse repository at this point
Copy the full SHA 0c96b91View commit details
Commits on Mar 21, 2019
-
Stop signing artifacts via signtool on Windows
The default signing is good enough. Closes Jira Bug: WIND-236 Change-Id: Ia5484c92247caf31686e7287b92d0ba193b703e4
Michal Clapinski committedMar 21, 2019 Configuration menu - View commit details
-
Copy full SHA for 37452cf - Browse repository at this point
Copy the full SHA 37452cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b7dfc4 - Browse repository at this point
Copy the full SHA 6b7dfc4View commit details
Commits on Mar 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 917fd34 - Browse repository at this point
Copy the full SHA 917fd34View commit details
Commits on Mar 23, 2019
-
Vrouter: Fix warning in typecasting
Due to this warning, the compilation of dkms used to fail Change-Id: Idf6b609e02762308601a62d17ac3ed506b44c509 Closes-Jira-Bug: CEM-4133
Configuration menu - View commit details
-
Copy full SHA for 8dc3c7f - Browse repository at this point
Copy the full SHA 8dc3c7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ccfeeae - Browse repository at this point
Copy the full SHA ccfeeaeView commit details
Commits on Mar 25, 2019
-
Fix dropping TCP packets when packet dumping is enabled
Reduce computational complexitiy of dumping packet bytes to string by removing usage of RtlStringCbCatA for every byte of the packet and by using simplified implementation of byte-to-hex conversion function. This will increase the performance of the whole packet-to-json converter. Change-Id: I24dec3b7bb7c7ab593c14afa1dc58a6668d76d20 Closes-Jira-Bug: WIND-238
Configuration menu - View commit details
-
Copy full SHA for bf2f558 - Browse repository at this point
Copy the full SHA bf2f558View commit details
Commits on Mar 26, 2019
-
vRouter: Fix for SCP not working
Fix the MTU calculation. In platform dependent code, the default MTU is taken from the linux netdevice which is 1500 bytes. But for VIF, the MTU is 1514 bytes (max size including ether hdr). As a result, the MSS calculation would cause the size to go beyond 1514byes and the NIC was dropping large size ethernet packets. Fixed by adjusting the MTU to take care of ethernet header size. Change-Id: I377446dd6430a62b35c0d80c2bd9554b72bf3ba4 Closes-Jira-Bug: CEM-4137
Configuration menu - View commit details
-
Copy full SHA for 074ccce - Browse repository at this point
Copy the full SHA 074ccceView commit details
Commits on Mar 27, 2019
-
Make vrouter work with newer cmocka versions
Added missing include. Closes Jira Bug: WIND-244 Change-Id: I2e7a89724ff0dc1c93b89b7436399ef421e5702a
Michal Clapinski committedMar 27, 2019 Configuration menu - View commit details
-
Copy full SHA for 534678c - Browse repository at this point
Copy the full SHA 534678cView commit details
Commits on Mar 28, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 98c79ea - Browse repository at this point
Copy the full SHA 98c79eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for da37882 - Browse repository at this point
Copy the full SHA da37882View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d92e2d - Browse repository at this point
Copy the full SHA 7d92e2dView commit details
Commits on Mar 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for edfcb83 - Browse repository at this point
Copy the full SHA edfcb83View commit details -
Build of vrouter.ko is broken on some 4.4.0 kernels (ubuntu 16.04)
As per linux kernel git log, the get_user_pages() was changed in 4.4.168 which also maps to Ubuntu 4.4.0-143. Fixed by checking kernel version 4.4.168. Verified by building vrouter.ko on CI VM with ubuntu 4.4.0-143 and regular centos setup. Change-Id: Ie759e567a6f5f82d1c4d1dd6ea0f21c23f7287ff closes-jira-bug: CEM-4223
Configuration menu - View commit details
-
Copy full SHA for c33e99f - Browse repository at this point
Copy the full SHA c33e99fView commit details -
Configuration menu - View commit details
-
Copy full SHA for af16173 - Browse repository at this point
Copy the full SHA af16173View commit details
Commits on Mar 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for e8816a8 - Browse repository at this point
Copy the full SHA e8816a8View commit details
Commits on Apr 3, 2019
-
vrouter debug enhancement: Clear dropstats counter for all cores duri…
…ng runtime. command: dropstats --clear Closes-Jira-Bug: CEM-3323 Change-Id: I91283226bcfb88d13c2f6bd3fadc13e1ab75fee6
Configuration menu - View commit details
-
Copy full SHA for c97fd01 - Browse repository at this point
Copy the full SHA c97fd01View commit details
Commits on Apr 4, 2019
-
Improve performance of checksum calculation on Windows
1. Handle 64-bit blocks at a time, then add remaining 32-bit, 16-bit and 8-bit blocks. 2. Add function for folding 64-bit checksums to 32 bits. Change-Id: I3526188b34708a74026cda4827280b3c961b5fd3 Closes-Jira-Bug: WIND-250
Configuration menu - View commit details
-
Copy full SHA for e775d5e - Browse repository at this point
Copy the full SHA e775d5eView commit details
Commits on Apr 5, 2019
-
Merge "vrouter debug enhancement: Clear dropstats counter for all cor…
…es during runtime. command: dropstats --clear Closes-Jira-Bug: CEM-3323"
Configuration menu - View commit details
-
Copy full SHA for 9733407 - Browse repository at this point
Copy the full SHA 9733407View commit details
Commits on Apr 8, 2019
-
DPDK: Jumb frames is getting dropped
partial-jira-bug: CEM-4579 Need to set the ignore_offload_bitfield field in the ethdev conf As well pass the same to the slave device from bond config Change-Id: I2e176246c2bbfcc4a54719303f7d269b74d12577
Jeya ganesh babu J committedApr 8, 2019 Configuration menu - View commit details
-
Copy full SHA for 6012f2b - Browse repository at this point
Copy the full SHA 6012f2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76d7a2b - Browse repository at this point
Copy the full SHA 76d7a2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf92741 - Browse repository at this point
Copy the full SHA bf92741View commit details
Commits on Apr 9, 2019
-
DPDK: Possible mbuf leak running iperf with MSS 536
closes-jira-bug: CEM-4659 Seems like the 18.05 dpdk has issue when sending 64 packets in burst. Reverting back to use VR_DPDK_TX_BURST_SZ Change-Id: I4d08be695a5a7968f6d07be2688bf1243b399f82
Jeya ganesh babu J committedApr 9, 2019 Configuration menu - View commit details
-
Copy full SHA for a61b3dc - Browse repository at this point
Copy the full SHA a61b3dcView commit details
Commits on Apr 10, 2019
-
Fix deadlock in vRouter unloading function on Windows
When the driver is unloaded, all NBLs should be freed before calling NdisFDeregisterFilterDriver. Part of the code responsible for freeing the pending NBLs was copied from FilterDetach to Driver unload function. Change-Id: I68feedc461669b67b6b0c06ad9035353815fb294 Closes-Jira-Bug: WIND-251
Configuration menu - View commit details
-
Copy full SHA for bc4bdf6 - Browse repository at this point
Copy the full SHA bc4bdf6View commit details
Commits on Apr 11, 2019
-
Duplicate entries in vrouter dropstats counters are removed.
Closes-Jira-Bug: CEM-4715 Change-Id: Ic1851f3d992f1373dc9984d8c4fbe41bbdb8516a
Configuration menu - View commit details
-
Copy full SHA for ce788ff - Browse repository at this point
Copy the full SHA ce788ffView commit details
Commits on Apr 12, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f127cba - Browse repository at this point
Copy the full SHA f127cbaView commit details
Commits on Apr 16, 2019
-
Handle calculating source ecmp index for multi level ECMP.
when flows are triggered by remote ECMP source, source validation (RPF check) is done by iterating through component NH list of source composite NH. If component NH (Tunnel NH ) sip matches with packet's outer source IP, then RPF is succeded. In Multi level ECMP case, component NH is again composite NH, it should recursively call validate function and propagate the source validation status to the outermost caller. This logic assumes ECMP symmetry for outer and inner ecmp. Change-Id: Ie48ee4967287a9e230723478d4c234991c4a5254 Closes-Jira-Bug: JCB-219439
Configuration menu - View commit details
-
Copy full SHA for e71894a - Browse repository at this point
Copy the full SHA e71894aView commit details -
Improve distribution of incoming packets among processors on Windows
Remove invalid implementation of jhash function on Windows and FreeBSD and use vr_hash instead. Usage of proper hash value results in generating different source UDP ports for packets which will spread the packets between multiple CPUs on the receiving side. This change will not affect Linux, where jhash and vr_hash are the same implementations. Change-Id: Iab1583aa379dadb994fb9969ef03fce6dae074f4 Closes-Jira-Bug: WIND-257
Configuration menu - View commit details
-
Copy full SHA for 9dafa00 - Browse repository at this point
Copy the full SHA 9dafa00View commit details
Commits on Apr 18, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f3817c8 - Browse repository at this point
Copy the full SHA f3817c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cccfd6 - Browse repository at this point
Copy the full SHA 7cccfd6View commit details -
Change-Id: I821e2974c4bf649770649baef835fed2c58b34de Partial-Bug: #1800894
Configuration menu - View commit details
-
Copy full SHA for 657ae7d - Browse repository at this point
Copy the full SHA 657ae7dView commit details
Commits on Apr 22, 2019
-
Fix for Invalid label programming in VXLAN routing
In case of VXLAN routing, for vxlan id's whose top 4 bits are non-zero, there was a truncation happening in mtrie. The reason was that the label was assumed to be MPLS label which is 20bits. But in case of VXLAN routing, mtrie lookup happends for VXLAN labels which are 24 bits. Fixing the mask to 24 bits. Testing The following commands are executed to program a VXLAN id (11158251) with the top 4 bits are non-zero nh --create 350 --vrf 2 --type 3 --oif 0 --smac 00:25:90:a5:39:af --dmac 00:25:90:a5:3a:fd --sip 8.0.0.2 --dip 8.0.0.3 --vxlan --sport 10000 --dport 10000 --l3_vxlan 00:25:90:a5:3a:fd rt -c -n 350 -p 10.1.1.6 -l 32 -t 11158251 -f 0 -v 2 -x 0x1 Before the fix, the label in incorrectly programmed - (vrouter-agent-dpdk)[root@a7s4-kiran /]$ rt --dump 2 --family inet |grep 10.1.1.6 10.1.1.6/32 32 L 672491 350 - After the fix, the label is properly programmed - (vrouter-agent-dpdk)[root@a7s4-kiran /]$ rt --dump 2 | grep "10\.1\.1\.6\>" 10.1.1.6/32 32 L 11158251 350 - Closes-Jira-Bug: CEM-4968 Change-Id: I033b07911c8d371b8447637c58d3cfc0eafaa1f0
Configuration menu - View commit details
-
Copy full SHA for 0bd94d4 - Browse repository at this point
Copy the full SHA 0bd94d4View commit details
Commits on Apr 23, 2019
-
AT&T Juniper Case 2019-0211-0762, HIGH -P2 , Contrail Networking, Con…
…trail Network Policy Mirror Action not working-DPA2a Issue fixed by creating a new memory buffer and chained to existing memory buffer. Backported DPDK checksum from latest release to support mbuf chaining. Closes-jira-bug: JCB-219327 Merged from commit: https://review.opencontrail.org/#/c/50219/ Change-Id: I0913d32c2315342eb0b5997f722b358d3482df0f
Configuration menu - View commit details
-
Copy full SHA for 94c402c - Browse repository at this point
Copy the full SHA 94c402cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 41eb69c - Browse repository at this point
Copy the full SHA 41eb69cView commit details
Commits on Apr 26, 2019
-
Merge "AT&T Juniper Case 2019-0211-0762, HIGH -P2 , Contrail Networki…
…ng, Contrail Network Policy Mirror Action not working-DPA2a Issue fixed by creating a new memory buffer and chained to existing memory buffer. Backported DPDK checksum from latest release to support mbuf chaining. Closes-jira-bug: JCB-219327 Merged from commit: https://review.opencontrail.org/#/c/50219/"
Configuration menu - View commit details
-
Copy full SHA for 698dc5c - Browse repository at this point
Copy the full SHA 698dc5cView commit details -
Enable offloading of checksums in outer IP packets on Windows
Checksum of outer IP packet may be offloaded, so we don't need to calculate it in software. Change-Id: I3c62f8aa4013d196d8adaac7e6adc8e8edc73c32 Closes-Jira-Bug: WIND-273
Configuration menu - View commit details
-
Copy full SHA for 14799f1 - Browse repository at this point
Copy the full SHA 14799f1View commit details
Commits on May 3, 2019
-
Branch mispredicution could cost performance loss. Add vr_likely and vr_unlikely support to assist compiler. Change-Id: I5a0a2210ea0d1f092f2543b52d0a145f38a33335 Partial-Bug: #1769570 Signed-off-by: Yipeng Wang <yipeng1.wang@intel.com>
Configuration menu - View commit details
-
Copy full SHA for aee12a3 - Browse repository at this point
Copy the full SHA aee12a3View commit details
Commits on May 7, 2019
-
Properly implement handling of TCP checksum offloading metadata
Change-Id: Ifbc5845a0e1e2ca1da888cfa5113273098ef70a4 Partial-Jira-Bug: WIND-277
Configuration menu - View commit details
-
Copy full SHA for e4fa8a0 - Browse repository at this point
Copy the full SHA e4fa8a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 601eb3e - Browse repository at this point
Copy the full SHA 601eb3eView commit details -
Enable optimization for speed in vRouter for Windows
Partial-Jira-Bug: WIND-278 Change-Id: I237ec594e8bd2987d5325333871c15c84490522e
Michal Clapinski committedMay 7, 2019 Configuration menu - View commit details
-
Copy full SHA for 1bc6a5a - Browse repository at this point
Copy the full SHA 1bc6a5aView commit details
Commits on May 8, 2019
-
pkt drop log - Long option command not working
Fix for displaying "dropstats --log <core number>" closes-jira-bug: CEM-5475 Change-Id: I0cc9e7ae06769c6692d6312ef59fbc8952b656b9
Configuration menu - View commit details
-
Copy full SHA for 8ba01f0 - Browse repository at this point
Copy the full SHA 8ba01f0View commit details -
Enable offloading of checksums in inner TCP packets on Windows
Checksum of inner TCP packet may be offloaded, so we don't need to calculate it in software. Change-Id: I7c10e3f7ff592c35331a7556cfb22601e0ee947c Closes-Jira-Bug: WIND-277
Configuration menu - View commit details
-
Copy full SHA for 28905f3 - Browse repository at this point
Copy the full SHA 28905f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60a2c50 - Browse repository at this point
Copy the full SHA 60a2c50View commit details
Commits on May 9, 2019
-
Fix calculation of offset to inner TCP packet in Windows segmentation…
… code Change-Id: Ibf449f9aa56a7c7a2cc21129e1b346586ed5f7fb Closes-Jira-Bug: WIND-287
Configuration menu - View commit details
-
Copy full SHA for 3fede8e - Browse repository at this point
Copy the full SHA 3fede8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf35c06 - Browse repository at this point
Copy the full SHA cf35c06View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc35493 - Browse repository at this point
Copy the full SHA dc35493View commit details
Commits on May 13, 2019
-
Add support to evict a stale TCP "Dead" flow
Change-Id: Id1285ce0e5f39d0810196864fdf9d9a890a2abf6 closes-jira-bug: CEM-5420
Configuration menu - View commit details
-
Copy full SHA for 3dd2e83 - Browse repository at this point
Copy the full SHA 3dd2e83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f3090d - Browse repository at this point
Copy the full SHA 8f3090dView commit details
Commits on May 14, 2019
-
Revert "Enable offloading of checksums in inner TCP packets on Windows"
This reverts commit 28905f3. Change-Id: If2a4257649915deaee8ec0402475b31e30050c78 Partial-Jira-Bug: WIND-291
Configuration menu - View commit details
-
Copy full SHA for 12dc895 - Browse repository at this point
Copy the full SHA 12dc895View commit details -
DPDK: Fix for hugepages not getting initialized
In Juju charms with ubuntu 18.04 container and ubuntu 18.04 host, the mount point for 1G hugepages is defined in a different format in /proc/mounts. Other distributions define it as "pagesize=1G", but in this case, it is defined as "pagesize=1024M" (vrouter-agent-dpdk)[root@dvplabor10n25 /]$ cat /proc/mounts |grep -i huge cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0 hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=1024M 0 0 hugetlbfs-kvm /run/hugepages/kvm hugetlbfs rw,relatime,gid=116,mode=775,pagesize=1024M 0 0 Change-Id: I6a5729f6027d09ec7ad62a30a403ae9842ff6233 Closes-Jira-Bug: CEM-4655 (cherry picked from commit 1cf32cb)
Configuration menu - View commit details
-
Copy full SHA for fa6857c - Browse repository at this point
Copy the full SHA fa6857cView commit details
Commits on May 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 51a720c - Browse repository at this point
Copy the full SHA 51a720cView commit details
Commits on May 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 70fb7d4 - Browse repository at this point
Copy the full SHA 70fb7d4View commit details
Commits on May 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a8028c7 - Browse repository at this point
Copy the full SHA a8028c7View commit details
Commits on Jun 6, 2019
-
Fix for flooding of packets in dpdk vrouter
closes-jira-bug: CEM-5251 Disabling promiscuous mode should be done based on the result of adding the unicast address. Drivers such as i40e doesnt support the apis to set multicast address. But the bond driver is made to enable all multicast for all the slave drives. So this shouldnt be an issue. Change-Id: Ie754fad59a215462b62da6e2ab309de13422d1fd
Jeya ganesh babu J committedJun 6, 2019 Configuration menu - View commit details
-
Copy full SHA for 91d2df5 - Browse repository at this point
Copy the full SHA 91d2df5View commit details
Commits on Jun 7, 2019
-
dpdk changes for getting correct value for table_path in Vr_flow_tabl…
…e_data please also see vrouter\ksync in agent. In ksync_flow_memory we set table_path_ to some default value. Then the value is set in ksyncsandeshcontext via set_table_path fn. Please see KSyncSandeshContext::FlowTableInfoHandler(vr_flow_table_data *r) This change is needed so we get the correct value here. The dpdk/vr_dpdk_table_mem.c had shm_file filled with the value but it was a local variable so gdb showed that the value was garbage. [Based on input/debugging with Jeya about this issue and Jeya's help with DPDK] Change-Id: Ibaad63a737aa7bd3c465815e7c7bcd37c54f7e66 partial-jira-bug: CEM-5300 partial-jira-bug: CEM-6242
U-JNPR\sagarc committedJun 7, 2019 Configuration menu - View commit details
-
Copy full SHA for 6e29771 - Browse repository at this point
Copy the full SHA 6e29771View commit details
Commits on Jun 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 0390171 - Browse repository at this point
Copy the full SHA 0390171View commit details -
Generate wixobj file in build directory
Change-Id: I829da74bd7926d0ead3b1fd0b4932ae0f6306435 Closes-JIRA-Bug: WIND-256
Jacek Iżykowski committedJun 11, 2019 Configuration menu - View commit details
-
Copy full SHA for c1cad48 - Browse repository at this point
Copy the full SHA c1cad48View commit details
Commits on Jun 13, 2019
-
Enhancement Request - vifdump script - stop command issues
Updated Defensive check to overcome this issue, If actual interface provided for "vifdump stop <Id>" an erro message would be displayed. closes-jira-bug: CEM-5980 Change-Id: I2e5ff28e7da15527c9ac4628ebff5aa1dee5f233
Configuration menu - View commit details
-
Copy full SHA for 28f2d17 - Browse repository at this point
Copy the full SHA 28f2d17View commit details
Commits on Jun 19, 2019
-
NTTC issue: CEM-4275 - One of the TCP dead flow doesn't get evicted
Root cause: =========== This is due a race condition between setting of the Evict Candidate flag and the Eviction of the flow. We have 2 threads here say Thread1 and Thread2. Thread1 is in the flow defer_callback function, while Thread2 is in the flow mark evict function. Now consider the following sequence (Time T0 to T4) which leads to the non eviction of the flow 100. T0 and T3 are executed in Thread1, while T1, T2 and T4 are executed as part of Thread 2. Lets assume the flow index for the flows as 100 and 200. Thread 1 Thread 2 ------------- ------------- Defer_cb_Func() Mark_Evict_Func() Time T0 - CheckEvictFlow(100) – No op, as Evict candidate flag is not set for flow 100 Time T1 – Set Evict Candidate for flow(100) Time T2 – Set Evict Candidate for flow(200) Time T3 – CheckEvictFlow(200) – Now flow 200 would get evicted since Evict Candidate flag is set. Time T4 – Schedule Defer_cb for flow(200) Now, since flow 200 already got evicted at Time T3, the callback would never be scheduled at time T4. And hence, the flow 100 would never get evicted. Was able to repro the problem by simulating the above order using instrumented code and scapy script. The problem is with Defer_cb_func() which should do the eviction only when the Evict Candidate flag is set for both flows. Fix: ==== The fix is to make sure the eviction is done only after both the flows evict candidate flags are set. Testing: ======== - Done UT for the code changes - QA has qualified the fix Change-Id: I07730ab190646260d08de6ca4fdf9bc1caf16d6e closes-jira-bug: CEM-4275 (cherry picked from commit e04c2b0)
Configuration menu - View commit details
-
Copy full SHA for c6afb86 - Browse repository at this point
Copy the full SHA c6afb86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12251e9 - Browse repository at this point
Copy the full SHA 12251e9View commit details
Commits on Jun 21, 2019
-
Support for Vrouter build with dpdk from upstream
changes to allow compilation of vrouter with pre-built dpdk libraries from dpdk releases (or upstream code) Closes-Jira-Bug: TFB-1446 Change-Id: I5ee44725b71c1472c0871c07df622b992cb318ce
Prabhjot Singh Sethi committedJun 21, 2019 Configuration menu - View commit details
-
Copy full SHA for ce5c0f1 - Browse repository at this point
Copy the full SHA ce5c0f1View commit details
Commits on Jun 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 46fa8c0 - Browse repository at this point
Copy the full SHA 46fa8c0View commit details
Commits on Jun 26, 2019
-
Debug Enhancements - Create Mock device for physical Interface in DPDK
Closes-Jira-Bug: CEM-6199 Change-Id: Iae8ee924fb76b0e72ce58c8ffe36a6bd0d391a3a
Configuration menu - View commit details
-
Copy full SHA for 05a44bb - Browse repository at this point
Copy the full SHA 05a44bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for b21559c - Browse repository at this point
Copy the full SHA b21559cView commit details
Commits on Jul 1, 2019
-
Merge "Debug Enhancements - Create Mock device for physical Interface…
… in DPDK Closes-Jira-Bug: CEM-6199"
Configuration menu - View commit details
-
Copy full SHA for 36e77d9 - Browse repository at this point
Copy the full SHA 36e77d9View commit details
Commits on Jul 3, 2019
-
Change-Id: I4478088464df7adc1e552c41e329ed8559b8f574 closes-jira-bug: CEM-6504
Configuration menu - View commit details
-
Copy full SHA for e7168c1 - Browse repository at this point
Copy the full SHA e7168c1View commit details
Commits on Jul 9, 2019
-
CEM-7103 vrouter.ko can't be build for ubuntu in build 786
These changes were planned to be committed as part of CEM-6195, but it seems it is required for the ubuntu aws builds. So raising a separate review for this to be committed first since they are standalone and can be committed independently. Change-Id: Ifb47719eeec372ca2866afb9981c901bc34cc2a5 closes-jira-bug: CEM-7103
Configuration menu - View commit details
-
Copy full SHA for aa5c849 - Browse repository at this point
Copy the full SHA aa5c849View commit details
Commits on Jul 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f7a9ace - Browse repository at this point
Copy the full SHA f7a9aceView commit details
Commits on Jul 16, 2019
-
Adding pkt_tracer & bpf_stackdump tool to the repository.
These are eBPF based tools that allow packet tracing and capturing stack traces in kernel vrouter module. Needs bcc-tools package to work. Change-Id: I68748bbd3cf1602adf2e1d8e45c9267165c4aa47 Closes-Jira-Bug: CEM-4318
Configuration menu - View commit details
-
Copy full SHA for e9c0146 - Browse repository at this point
Copy the full SHA e9c0146View commit details
Commits on Jul 18, 2019
-
CEM-6195 - Add new python based vrouter ut infra
This changeset contains changes to vtest as well the new python ut infra. A new scons target "scons vrouter-py-ut" will trigger the execution of testcases. See README.md under vtest_py directory for more details on this infra. closes-jira-bug: CEM-6195 Change-Id: I4171746062dc8e0c4f63943277dd79b676362f76
Configuration menu - View commit details
-
Copy full SHA for d20fecb - Browse repository at this point
Copy the full SHA d20fecbView commit details
Commits on Jul 19, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 556d619 - Browse repository at this point
Copy the full SHA 556d619View commit details
Commits on Jul 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 94c6e3b - Browse repository at this point
Copy the full SHA 94c6e3bView commit details
Commits on Jul 29, 2019
-
Fix for DNS packets to Link local causing kernel crash
The port number needs to be converted to proper endian before checking. Because of this, there was a code loop and caused stack overflow. As a defensive measure, added a ttl to drop such packets. Closes-Bug: CEM-7113 Change-Id: I7b80c25978b896f8d1b1bfb1fd34443fa1c3031f
Configuration menu - View commit details
-
Copy full SHA for 0a28339 - Browse repository at this point
Copy the full SHA 0a28339View commit details
Commits on Jul 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 480600d - Browse repository at this point
Copy the full SHA 480600dView commit details
Commits on Aug 2, 2019
-
- Fix custom vif_name not working in vtest - Add utility functions for MAC, IP etc. - Add support for running vrouter and vtest separately Partial-Jira-Bug: CEM-7351 Change-Id: Ia0f9681e986a39ed19b49804d0141bbfa4293ea7
Configuration menu - View commit details
-
Copy full SHA for 64b411e - Browse repository at this point
Copy the full SHA 64b411eView commit details
Commits on Aug 6, 2019
-
- Fix issue with return sandesh type for vr_flow_req - Add utility function for ipv6 address - Add more constants Partial-Jira-Bug: CEM-7351 Change-Id: I611fbd3c15c24a9da99661bdb6c21169b846b2b8
Configuration menu - View commit details
-
Copy full SHA for 8cdee23 - Browse repository at this point
Copy the full SHA 8cdee23View commit details
Commits on Aug 7, 2019
-
Testcase for CEM-4574 and merge code to master branch
Closes-Jira-Bug: CEM-6947 Change-Id: Ie19c2462f4d38d27f727ea6f519dd177b6d20fc5
Configuration menu - View commit details
-
Copy full SHA for 932c3c7 - Browse repository at this point
Copy the full SHA 932c3c7View commit details
Commits on Aug 13, 2019
-
- Add mock devices for agent and vhost0 - Add UT for CEM-7713 to test port 60185 which was causing vrouter crash - Add UT for packet from VMI to fabric with MPLSoUDP encap Closes-Jira-Bug: CEM-7719 Change-Id: Idc8a1324454a39c39b3f253046fd3df098a4b38c
Configuration menu - View commit details
-
Copy full SHA for d7ad054 - Browse repository at this point
Copy the full SHA d7ad054View commit details
Commits on Aug 20, 2019
-
Define classes for vif, nh, rt, flow in vtest_lib
- Defined the basic classes to create a higher level of abstraction. - basic test case file - CI related changes to fail the job if test execution fails closes-jira-bug: CEM-7351 Change-Id: I3f58bbd991e7cd1e1770ef9a0e491dae2113fc6f
Configuration menu - View commit details
-
Copy full SHA for 31e97a6 - Browse repository at this point
Copy the full SHA 31e97a6View commit details
Commits on Aug 21, 2019
-
vifdump not working on DPDK nodes vifdump error: no interface mon0
Fix the issue caused due to 626ef37 closes-jira-bug: CEM-8410 Change-Id: I87b9defde7a8a462d3ca99c9cbe69e018fe22034
Configuration menu - View commit details
-
Copy full SHA for 6f33592 - Browse repository at this point
Copy the full SHA 6f33592View commit details
Commits on Aug 23, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 860a4c9 - Browse repository at this point
Copy the full SHA 860a4c9View commit details
Commits on Aug 29, 2019
-
Fix for live Migration failing for VMs on DPDK vRouter compute nodes
QEMU was not getting response for set log base message. Another commit will address the actual implementation of VHOST_F_LOG_ALL closes-jira-bug:CEM-5848 Change-Id: I520883464e396b75ebb59f1b6e6cb19884b2d830
Configuration menu - View commit details
-
Copy full SHA for a43dbe6 - Browse repository at this point
Copy the full SHA a43dbe6View commit details -
Detected error using Address sanitizer for DPDK
Closes-jira-bug:CEM-8606 In this case, route prefix configired as 2.2.2.2, vtest for "vr_route_req" ignores only ':' not '.' Change-Id: Icef0a02408f6649b9240a9c05017ec73e3943743
Configuration menu - View commit details
-
Copy full SHA for 2a70d59 - Browse repository at this point
Copy the full SHA 2a70d59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32f6547 - Browse repository at this point
Copy the full SHA 32f6547View commit details
Commits on Aug 30, 2019
-
cleaned up sconscript and windows directory
partial-jira-bug: CEM-7843 Change-Id: I7b7dc2a760311a0783db68d73757d1672eaacdb7
sagarkchitnis committedAug 30, 2019 Configuration menu - View commit details
-
Copy full SHA for 0678c11 - Browse repository at this point
Copy the full SHA 0678c11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31543aa - Browse repository at this point
Copy the full SHA 31543aaView commit details
Commits on Sep 3, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c2f8944 - Browse repository at this point
Copy the full SHA c2f8944View commit details
Commits on Sep 6, 2019
-
Fix for memory leak in kmod vrouter
When vr_send_broadcast() is called during route add or delete, there will be a 2048 slab memory leak. This is because response->vr_message_buf is getting set to NULL and so vr_message_free() will not free response->vr_message_buf. response->vr_message_buf is only applicable to unicast netlink case and not for multicast netlink. Fix is to move it to unicast case only. Closes-Jira-bug: CEM-5343 Change-Id: Ia4d035e88765c55f65fedce1963000c0bced55c1
Configuration menu - View commit details
-
Copy full SHA for f1c3892 - Browse repository at this point
Copy the full SHA f1c3892View commit details
Commits on Sep 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a8fe5fd - Browse repository at this point
Copy the full SHA a8fe5fdView commit details
Commits on Sep 10, 2019
-
Merge "Detected error using Address sanitizer for DPDK Closes-jira-bu…
…g:CEM-8606 In this case, route prefix configired as 2.2.2.2, vtest for "vr_route_req" ignores only ':' not '.'"
Configuration menu - View commit details
-
Copy full SHA for c9aa971 - Browse repository at this point
Copy the full SHA c9aa971View commit details -
CEM-5596 - Monitoring of DPDK Bond members
Closes-jira-bug:CEM-5596 - Callback notifiacation for Master/Slave bond interface members has been implemented. - Notifying vrouter-agent about the state change - Display Bond interface member status in "vif --list" output. Updated patchset: - Included vlan info, Fwdcore to display as part of physical interface - Display NH id for all interfaces. - Sending vif interface id as part of netlink message to agent Blueprint: https://review.opencontrail.org/c/Juniper/contrail-specs/+/52710 Updated patchset: - Review comments updated. Change-Id: I5985c6c4b00d17a4320a860b66640d0990409d9c
Configuration menu - View commit details
-
Copy full SHA for 580007c - Browse repository at this point
Copy the full SHA 580007cView commit details
Commits on Sep 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4d483ab - Browse repository at this point
Copy the full SHA 4d483abView commit details
Commits on Sep 12, 2019
-
Revert "CEM-5596 - Monitoring of DPDK Bond members"
This reverts commit 580007c. Reason for revert: Check to see if this review is causing kernel panic Closes-Bug: CE-1686 Change-Id: I98cbe19e6de5afbb154ddadb1f8c14a47126b8d3
Configuration menu - View commit details
-
Copy full SHA for d4e4ec4 - Browse repository at this point
Copy the full SHA d4e4ec4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2057bd - Browse repository at this point
Copy the full SHA f2057bdView commit details
Commits on Sep 13, 2019
-
CEM-5596 - Monitoring of DPDK Bond members
Closes-jira-bug:CEM-8367 - Callback notifiacation for Master/Slave bond interface members has been implemented. - Notifying vrouter-agent about the state change - Display Bond interface member status in "vif --list" output. Updated patchset: - Included vlan info, Fwdcore to display as part of physical interface - Display NH id for all interfaces. - Sending vif interface id as part of netlink message to agent Blueprint: https://review.opencontrail.org/c/Juniper/contrail-specs/+/52710 Updated patchset: - Review comments updated. Change-Id: I8f0a7918faaa7bb083b0a13e5f8b06d6d22a262f
Configuration menu - View commit details
-
Copy full SHA for 08b6a18 - Browse repository at this point
Copy the full SHA 08b6a18View commit details
Commits on Sep 23, 2019
-
vRouter - Fix vest testcase failures in CI
Closes-jira-bug: CEM-9120 Change-Id: I8854896451b9dbba2599df7b2cbaf16266597990
Configuration menu - View commit details
-
Copy full SHA for 5580539 - Browse repository at this point
Copy the full SHA 5580539View commit details
Commits on Sep 25, 2019
-
DPDK bond monitoring feature - Master intf. update
For Bond Monitoring feature, Master interface update is not sent on few platforms, so forcing here to send master interface status before sending slave interface. Closes-jira-bug: CEM-9082 Change-Id: I29a6aea27a63a95f8a58f3859aca847961257816
Configuration menu - View commit details
-
Copy full SHA for 764dac2 - Browse repository at this point
Copy the full SHA 764dac2View commit details
Commits on Sep 26, 2019
-
Vrouter changes to increase NH limit
Change-Id: I824e2ec98f59d47bcda571432122a5fc23f85eb0 closes-jira-bug: CEM-7188
Configuration menu - View commit details
-
Copy full SHA for ada37ed - Browse repository at this point
Copy the full SHA ada37edView commit details
Commits on Sep 28, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1b6eae9 - Browse repository at this point
Copy the full SHA 1b6eae9View commit details
Commits on Oct 12, 2019
-
DPDK: Fix for SNAT not working
In bond monitoring, link state interrupt config was enabled for all devices. This does not hold good for af_packet devices which is created during SNAT. Fix is to disable lsc for these devices. Closes-Jira-Bug: CEM-9669 Change-Id: Ifc33e797f8f24e76bf9bf09d3abcc70322bb93d5
Configuration menu - View commit details
-
Copy full SHA for 82d54b2 - Browse repository at this point
Copy the full SHA 82d54b2View commit details
Commits on Oct 23, 2019
-
Support for Host Based Service feature
Spec: https://github.com/Juniper/contrail-specs/blob/master/hbf.md Summary of changes: 1) Support a new sandesh object (vrftable) to store info about HBS-left and HBS-right interfaces 2) Add new flags in VIF to indicate HBS-left and HBS-right interfaces 3) Add new flags in flow to indicate HBF-left and HBS-right flows 4) Changes in flow processing to steer the packets to HBS interfaces for HBS flows before flow action 5) Changes in flow processing to resume flow actions for packets exiting from HBS interfaces 6) Add new CLI - vrftable for displaying VRF info 7) Add UTs for important HBS cases - inter/intra compute, inter/intra VN, Default/L3 mode etc. Closes-Jira-Bug: CEM-7030 Change-Id: Ifd6e394f5a85bbd665a1e0c79acf6b14c9c353df Depends-On: I2fef0dc882219d55a9965ec9bec00df922287de3 Depends-On: If681857dc16ed25c388b57157e17a0858d63596c Depends-On: I2a8db9035ada4e6afc97c141b3ca7b8f0d9c8da7
Configuration menu - View commit details
-
Copy full SHA for e6c4d20 - Browse repository at this point
Copy the full SHA e6c4d20View commit details
Commits on Nov 5, 2019
-
There was a race condition between vr_get_ecmp_first_member_dev() and vrouter_put_nexthop() where the latter used to set nh->nh_component_nh[i].cnh as NULL and the former tries to access it. This would cause a crash. Fix is to add a NULL check Closes-Jira-Bug: CEM-10224 Change-Id: I5ae17a94b2f57814bc5c38582631abefdd8906b1
Configuration menu - View commit details
-
Copy full SHA for d7dc507 - Browse repository at this point
Copy the full SHA d7dc507View commit details
Commits on Nov 9, 2019
-
DPDK: Fix for FD leak when start/stop VM in loop
A spurious vr_uvh_cl_timer_setup() call was happening which was leaking fds Closes-Jira-Bug: CEM-9116 Change-Id: I1a02ba31b747469f8ebab79c603f80b8102238a4
Configuration menu - View commit details
-
Copy full SHA for 9b71bec - Browse repository at this point
Copy the full SHA 9b71becView commit details
Commits on Nov 20, 2019
-
Contrail Vrouter kernel module is not loading when ran on 256 logical…
… cores machine - Change VR_CPU_MASK to 0xFFFF to allow > 255 cores. closes-jira-bug: CEM-10622 Change-Id: I52b1b51d1615f8fa78e3883573594b4f084f2aac
Configuration menu - View commit details
-
Copy full SHA for bddd685 - Browse repository at this point
Copy the full SHA bddd685View commit details
Commits on Nov 21, 2019
-
Removed unused windows specific code
Partial-Jira-Bug: CEM-7843 Change-Id: Ic73501a99b2a640701306522cbef6ec10786478b
sagarkchitnis committedNov 21, 2019 Configuration menu - View commit details
-
Copy full SHA for 24d6b25 - Browse repository at this point
Copy the full SHA 24d6b25View commit details
Commits on Nov 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for e26a335 - Browse repository at this point
Copy the full SHA e26a335View commit details
Commits on Nov 28, 2019
-
Merge "Contrail Vrouter kernel module is not loading when ran on 256 …
…logical cores machine"
Configuration menu - View commit details
-
Copy full SHA for 0ebf3c9 - Browse repository at this point
Copy the full SHA 0ebf3c9View commit details
Commits on Dec 4, 2019
-
Fix for crash resulting from restarting dpdk vrouter
Crash resulting due to a race condition. In file DPDK/vr_dpdk_lcore.c: thread 1 is trying to access rx_queue->q_queue_h in dpdk_lcore_rxqs_vroute() thread 14 is at vr_dpdk_lcore_if_schedule() in which (*rx_queue_init_op)() is not done due to which rx_queue->q_queue_h is not initialised yet. Fixed by adding a null check in dpdk_lcore_rxqs_vroute() Closes-jira-bug: CEM-5837 Change-Id: I7dafc89e3eb97df1e8b4d24142c7b3ed5d054710
Configuration menu - View commit details
-
Copy full SHA for eb0a10c - Browse repository at this point
Copy the full SHA eb0a10cView commit details
Commits on Dec 5, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7bb4eb4 - Browse repository at this point
Copy the full SHA 7bb4eb4View commit details -
CI Make the vrouter UT as voting
Create dependency for vrouter-py-ut to execute "scons vrouter" first. Skip the failing UTs. They will be fixed as part of a separate ticket. Closes-jira-bug: CEM-9436 Depends-On: Id79eb261efec2b9ace54989d336dd8cbbf1ee6b9 Change-Id: If558055538c0a16e79f8a16a8b83bdc51a3e33e1
Configuration menu - View commit details
-
Copy full SHA for fec1462 - Browse repository at this point
Copy the full SHA fec1462View commit details
Commits on Dec 6, 2019
-
Removed minor (remaining) unneeded windows code
Partial-Jira-Bug: CEM-7843 Most windows specific code was already removed from this repo. Only this minor part was remaining. Change-Id: I2062952b733bf20e9c8f24591b893a0690990320
sagarkchitnis committedDec 6, 2019 Configuration menu - View commit details
-
Copy full SHA for 3d1e2d5 - Browse repository at this point
Copy the full SHA 3d1e2d5View commit details
Commits on Dec 11, 2019
-
Merge "CI Make the vrouter UT as voting Create dependency for vrouter…
…-py-ut to execute "scons vrouter" first. Skip the failing UTs. They will be fixed as part of a separate ticket."
Configuration menu - View commit details
-
Copy full SHA for 5b2e4ee - Browse repository at this point
Copy the full SHA 5b2e4eeView commit details
Commits on Dec 12, 2019
-
Vrouter UT: test_fd_leak.py testcase fixed by give some time interval before checking the fd count. closes-jira-bug: CEM-11243 Change-Id: I3ae463c1c638afcc58997e60b67a9fe7db0a41bc
Configuration menu - View commit details
-
Copy full SHA for 55c65da - Browse repository at this point
Copy the full SHA 55c65daView commit details
Commits on Dec 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 88fa927 - Browse repository at this point
Copy the full SHA 88fa927View commit details
Commits on Dec 16, 2019
-
The fix is exposing some more issues relating to vrouter agent. Reverting it for now. Closes-Jira-Bug: CEM-11181 Change-Id: I6f08bab45753ca12ca31aaaff9317c4c88eb2984 Depends-on: I4d21a6c7e3fc053252bc7cfdbc2b9574e69b2b86
Configuration menu - View commit details
-
Copy full SHA for d260334 - Browse repository at this point
Copy the full SHA d260334View commit details
Commits on Dec 17, 2019
-
cleanup of dead code. This was supposed to be part of
previous review submitted with Change-Id: I2062952b733bf20e9c8f24591b893a0690990320 Change-Id: I848a057ba12e23d2a103b2be996654a318939268
sagarkchitnis committedDec 17, 2019 Configuration menu - View commit details
-
Copy full SHA for 3e8d118 - Browse repository at this point
Copy the full SHA 3e8d118View commit details
Commits on Jan 9, 2020
-
vRouter Code coverage for vrouter-py-ut
Updated SConscript to trigger a shell script which runs steps required to produce vrouter code coverage report excluding XML based testcases. Implementation: scons vrouter-py-ut:coverage Closes-Jira-Bug: CEM-9980 Change-Id: I32bb1cf3e95e3f29d7fe98ac50a336f7f481e1f6
Configuration menu - View commit details
-
Copy full SHA for db0b173 - Browse repository at this point
Copy the full SHA db0b173View commit details -
Update README.md for building vrouter
This updates README.md for building vrouter.ko module and contrail-vrouter-dpdk binary. Closes-Jira-Bug: CEM-9798 Change-Id: I54ec5d329923a6586286256b62603d2d271e08d5
Configuration menu - View commit details
-
Copy full SHA for 27e68ef - Browse repository at this point
Copy the full SHA 27e68efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 706d928 - Browse repository at this point
Copy the full SHA 706d928View commit details
Commits on Jan 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c7b058c - Browse repository at this point
Copy the full SHA c7b058cView commit details
Commits on Jan 16, 2020
-
CEM-11421 - Orange ZRB Missing prefixes series of occurrences
Issue: Routes were missing for couple of prefixes in the vrouter routing table. Specifically 10.60.7.0/25 and 10.60.7.128/25 prefixes. Root cause: The routing table in vrouter is implemented as a mtrie data structure. The root cause of the issue was incorrect mtrie bucket deletion logic in mtrie code. The issue was reproduced with the following sequence of route adds and delete. addr = 10.60.7.0 plen = 25 vrf = 4 operation = ADD/CHANGE nh_idx = 38 label = 410760 addr = 10.60.0.0 plen = 23 vrf = 4 operation = ADD/CHANGE nh_idx = 38 label = 410760 addr = 10.60.7.128 plen = 25 vrf = 4 operation = ADD/CHANGE nh_idx = 38 label = 410760 addr = 10.60.0.0 plen = 20 vrf = 4 operation = ADD/CHANGE nh_idx = 63 label = 609700 addr = 10.60.0.0 plen = 20 vrf = 4 operation = DELETE nh_idx = 51 After executing this sequence, it was observed that the 10.60.7.0/25 and 10.60.7.128/25 routes were getting deleted as part of 10.60.0.0/20 delete operation. This was because as part of delete operation, we were deleting the mtrie bucket containing 10.60.7.0/25 and 10.60.7.128/25 routes wrongly due to incorrect logic/assumption in code. Fix: The mtrie bucket deletion logic is changed to delete the bkt using one of the entries in the bucket instead of deleting it using the values from the route delete request. This fixes the issue of bucket with non matching prefix length being deleted. Verification: The fix was verified by rerunning the same sequence again and checking if the 10.60.7.0/25 and 10.60.7.128/25 routes are present or not. A UT script has been added for the same. The fix also passed full vrouter regression in 3.2.3.x branch. Change-Id: If558d05bb666b48bb2ae48a34ec03692c57f74fb
Configuration menu - View commit details
-
Copy full SHA for a6fc31e - Browse repository at this point
Copy the full SHA a6fc31eView commit details
Commits on Jan 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a5917d0 - Browse repository at this point
Copy the full SHA a5917d0View commit details
Commits on Jan 31, 2020
-
Remove Cloned Original counter from dropstats
Removed cloned original counter from dropstats output and created new option "dropstats --debug" to display cloned original output. Closes-jira-bug: CEM-11520 Change-Id: Ibb2daf86b6e7a632f33214e24d64b2110491e99d
Configuration menu - View commit details
-
Copy full SHA for bd163a5 - Browse repository at this point
Copy the full SHA bd163a5View commit details
Commits on Feb 3, 2020
-
New python framework to vrouter
1. Convert run_test.sh to python script 2. Move tests directory to $SB/vrouter/tests 3. Move vtest_py vtest specific libraries to $SB/vrouter/utils/pylib 4. Implement business logic for classes mentioned in skeletal implementation CEM-11303 5. Move UTs' test_basic, test_basic1, test_basic2, test_vrf_table to new infra 6. Added pep8 check in SConscript Blueprint: https://github.com/Juniper/contrail-specs/blob/master/vtest_py.md Closes-Jira-Bug: CEM-8197 Change-Id: Ia369f2c46e0e040b6c5f7f9670a88608fd915f60
Configuration menu - View commit details
-
Copy full SHA for 6b0919f - Browse repository at this point
Copy the full SHA 6b0919fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d045f8 - Browse repository at this point
Copy the full SHA 7d045f8View commit details
Commits on Feb 7, 2020
-
Disable warnings in vrouter compilation
Closes-Jira-Bug: CEM-10978 Change-Id: Ieccb3de7bb3d7aea63c2711da09827ad7acaf91d
Configuration menu - View commit details
-
Copy full SHA for 497f8da - Browse repository at this point
Copy the full SHA 497f8daView commit details
Commits on Feb 10, 2020
-
vRouter vtest(UT) build to include additional command line arguments
Closes-jira-bug: CEM-12596 Change-Id: Ia96779ebab14f8abf868ba93ec0cbf8b6881af0a
Configuration menu - View commit details
-
Copy full SHA for 5acbd3f - Browse repository at this point
Copy the full SHA 5acbd3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f570f61 - Browse repository at this point
Copy the full SHA f570f61View commit details -
Merge "vRouter vtest(UT) build to include additional command line arg…
…uments Closes-jira-bug: CEM-12596"
Configuration menu - View commit details
-
Copy full SHA for 6f5d9e6 - Browse repository at this point
Copy the full SHA 6f5d9e6View commit details
Commits on Feb 11, 2020
-
Refactor gen_build_info.sh so it works both on dash and bash
Closes-Jira-Bug: TFB-1556 Change-Id: I9e706213ce9e35f848e9dbd167bae7f036442262
Configuration menu - View commit details
-
Copy full SHA for 5b6d672 - Browse repository at this point
Copy the full SHA 5b6d672View commit details
Commits on Feb 12, 2020
-
scons built-in header scanner detects mistakenly a dependency from
vt_gen_message_modules.h. then it complains about a dependency cycle when one attempts to depent the header from its generator built from the source file. use the workaround to fool the scanner and break the loop. partial-jira-bug: TFB-1557 Change-Id: I694a52161fac22ba28d93af25f94dd2b32f2cbcd
Configuration menu - View commit details
-
Copy full SHA for 4f22be0 - Browse repository at this point
Copy the full SHA 4f22be0View commit details
Commits on Feb 14, 2020
-
DPDK: Support for full CPU partitioning (isolcpus)
Add these DPDK performance tuning CLIs to support full CPU isolation: 1) yield 2) lcore queue length (tx) 3) lcore queue length (rx) 4) mask for service cores 5) mask for DPDK control threads Refer https://contrail-jws.atlassian.net/browse/CEM-10093 for details. Closes-Jira-Bug: CEM-12161 Change-Id: I99ec6274e23f138d6344b23ba7e6b89113ec9d6b
Configuration menu - View commit details
-
Copy full SHA for 79a5430 - Browse repository at this point
Copy the full SHA 79a5430View commit details
Commits on Feb 18, 2020
-
Adding flag in Makefile to treat compilation warnings as errors
Closes-Jira-Bug: CEM-10978 Change-Id: I15be5ebece7c85ae1758b1e65a2df6a8b56ff1e6
Configuration menu - View commit details
-
Copy full SHA for 47ae8ac - Browse repository at this point
Copy the full SHA 47ae8acView commit details -
Add RX queue error and TX port error statistics
Closes-Jira-Bug: CEM-11409 Change-Id: Id251228cd8012851f5860f82fc6acc3a04b5abcc
Configuration menu - View commit details
-
Copy full SHA for f6860d7 - Browse repository at this point
Copy the full SHA f6860d7View commit details
Commits on Feb 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 78f5e82 - Browse repository at this point
Copy the full SHA 78f5e82View commit details
Commits on Feb 22, 2020
-
Merge "scons built-in header scanner detects mistakenly a dependency …
…from vt_gen_message_modules.h. then it complains about a dependency cycle when one attempts to depent the header from its generator built from the source file. use the workaround to fool the scanner and break the loop."
Configuration menu - View commit details
-
Copy full SHA for f718d8f - Browse repository at this point
Copy the full SHA f718d8fView commit details -
Remove chdirs' because scons cannot perform them correctly
When running in the concurrent mode, replace with shell actions. Depend explicitly on sandesh_gen generated artifacts to establish correct requirements from vtest. closes-jira-bug: TFB-1557 Change-Id: Idfa98cc284a1241153a2b1dc1ee3e0bdd765ae87
Configuration menu - View commit details
-
Copy full SHA for f54c078 - Browse repository at this point
Copy the full SHA f54c078View commit details
Commits on Feb 25, 2020
-
Fix to support HBS with service chaining
With the agent changes to support HBS with service chaining, packets can now enter HBS-Left from fabric. In this case, stamp the dmac with the flow id before sending to hbf-l. When the packets exit from hbf-r, search both dmac and smac for flow id using the magic number. Then reconstruct the mac using the actual mac after flow lookup. Closes-Jira-Bug: CEM-12574 Change-Id: Iaab3b99c7de83005ebbb55d69cb58e24c5c758a5
Configuration menu - View commit details
-
Copy full SHA for e5ee07d - Browse repository at this point
Copy the full SHA e5ee07dView commit details
Commits on Feb 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9277749 - Browse repository at this point
Copy the full SHA 9277749View commit details
Commits on Feb 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for efc198c - Browse repository at this point
Copy the full SHA efc198cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f519209 - Browse repository at this point
Copy the full SHA f519209View commit details
Commits on Mar 4, 2020
-
CI not failing if the tests fail
run_tests.py should exit with 1 if there is any failure while running tests which would fail CI. Hence fixed the script to exit with 1 on failure of any test. Closes-Jira-Bug: CEM-13022 Change-Id: I0c5e3b2f0119695808f9b6b695794150affd44a0
Configuration menu - View commit details
-
Copy full SHA for 8f15208 - Browse repository at this point
Copy the full SHA 8f15208View commit details
Commits on Mar 10, 2020
-
Socket leak when VM stop/start In loop
When VIF is added but not connected, vru_cl->vruc_fd is not added to the fd list even though it is created. This can happen when VM is stopped. In this case, vr_uvhost_del_fds_by_arg() would not close the fd. This leads to socket leak, so added fcntl() call in vr_uvhost_del_client() to check if vruc_fd is closed or not. Closes-jira-bug: CEM-9285 Change-Id: Ia55e44b8830b96e8313691dc77873bfd133e1469
Configuration menu - View commit details
-
Copy full SHA for ad8706a - Browse repository at this point
Copy the full SHA ad8706aView commit details -
Fix for vRouter UT failure in CI-Jenkins
UNIX_PATH_MAX is set as 108 bytes(/usr/include/linux/un.h), but vtest absolute path overflows(crossing 108 bytes). For vtest, vr_socket_dir moved to '$sb_path/.../var/run/vrouter' to '$sb_path/.../sock' and enabled few checks. closes-jira-bug: CEM-13395 Change-Id: I5cdc8638ef46f878b6ff66e98ec184f18ba8c320
Configuration menu - View commit details
-
Copy full SHA for 43727c3 - Browse repository at this point
Copy the full SHA 43727c3View commit details
Commits on Mar 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4d24e3f - Browse repository at this point
Copy the full SHA 4d24e3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86386a2 - Browse repository at this point
Copy the full SHA 86386a2View commit details
Commits on Mar 13, 2020
-
Move remaining UTs to new framework
1. Add mirror support to the infra. 2. Merge HBS UTs to existing UTs. Closes-Jira-Bug: CEM-11749 Blueprint: https://github.com/Juniper/contrail-specs/blob/master/vtest_py.md Change-Id: Ib12c4b01afb3610fc75f383dd2a86ac55d618588
Configuration menu - View commit details
-
Copy full SHA for 36d56f9 - Browse repository at this point
Copy the full SHA 36d56f9View commit details
Commits on Mar 18, 2020
-
Port XML test cases to new infrastructure
1. Have added vxlan.py 2. Changed usage of python list to python dictionary in object_base.py 3. Have added implementation of new packets to packet.py for new test cases 4. Have added basic test cases for the implementation of mirror and mpls classes Closes-Jira-Bug: CEM-11749 Blueprint: https://github.com/Juniper/contrail-specs/blob/master/vtest_py.md Depends-On: Ib12c4b01afb3610fc75f383dd2a86ac55d618588 Change-Id: I61ba8bdc7a27ab385f8e3f7718d57fa00aa53ca7
Configuration menu - View commit details
-
Copy full SHA for 539d46d - Browse repository at this point
Copy the full SHA 539d46dView commit details
Commits on Mar 19, 2020
-
Cleanup old infra tests, lib and run_tests.sh
Removing tests, lib and run_tests.sh as we are using new python based infra. Change-Id: Ic08c5fcfcc0d5779f0d59ef71801eae8dd7e38e8 Closes-Jira-Bug: CEM-13770
Configuration menu - View commit details
-
Copy full SHA for 5ac0126 - Browse repository at this point
Copy the full SHA 5ac0126View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62cc708 - Browse repository at this point
Copy the full SHA 62cc708View commit details
Commits on Mar 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5549093 - Browse repository at this point
Copy the full SHA 5549093View commit details -
Closes-Jira-Bug: CEM-11749 Blueprint: https://github.com/Juniper/contrail-specs/blob/master/vtest_py.md Change-Id: Id39926b6e84e210589969db5658319c7958c10cb
Configuration menu - View commit details
-
Copy full SHA for 0c98d13 - Browse repository at this point
Copy the full SHA 0c98d13View commit details
Commits on Mar 24, 2020
-
Revert "Adding flag in Makefile to treat compilation warnings as errors"
This reverts commit 47ae8ac. Reason for revert: Temporarily reverting this to unblock ubuntu kernel builds for 4.15.0-91 kernel Partial-Jira-Bug: CEM-13877 Change-Id: I9bc2d3c582503c03d63e21a7a965ce7dc31467fb
Configuration menu - View commit details
-
Copy full SHA for 3962aa6 - Browse repository at this point
Copy the full SHA 3962aa6View commit details
Commits on Mar 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 61eebf8 - Browse repository at this point
Copy the full SHA 61eebf8View commit details
Commits on Mar 30, 2020
-
ZIU: Reload vRouter w/o requiring reboot - Vrouter changes
Add support for 2MB and 1GB huge pages for vrouter kernel module The bridge and flow table are allocated by kernel vrouter using the huge pages configured by provisioning. For more details, please refer to Blueprint - https://github.com/Juniper/contrail-specs/blob/master/ziu_vrouter_huge_pages_support.md Vrouter changes - Sandesh changes for agent to pass the hugepage memory allocated for the tables - Change to return flow table and bridge table size properly during init (even before they are initialized) - Handling huge page config received from agent and pinning the pages properly. To ensure contiguous memory, using vmap for all the pages returned by kernel in case multiple hugepages are involved (NOTE: the kernel doesn’t gaurantee contiguous memory across huge pages) Unit testing - Tested with VN, VM creation - Tested with flow traffic (including verfication of flow table and bridge table) - Tested with agent restart - Tested with default and 4M flow table size - Tested all the above with 2MB and 1GB huge page sizes - Tested flow traffic without any huge page allocation (sanity) Partial-Jira-Bug: CEM-11529 Change-Id: I6d6e16feab3e888cea14ce19a37fbec2ebe45c95
Configuration menu - View commit details
-
Copy full SHA for 883bde3 - Browse repository at this point
Copy the full SHA 883bde3View commit details
Commits on Mar 31, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d4cbe3f - Browse repository at this point
Copy the full SHA d4cbe3fView commit details
Commits on Apr 9, 2020
-
Implementation of GDB macros to dump vRouter core files
1. Create new gdb macros to dump flow details from vrouter core file. 2. Address comments and changes suggested in nexthop, vif, btable and flow files. 3. Add a readme file. Partial-Jira-Bug: CEM-8854 Change-Id: I4879cd52619d7f65517d24caefa07af6aeb4c88c
Configuration menu - View commit details
-
Copy full SHA for 2ce3b65 - Browse repository at this point
Copy the full SHA 2ce3b65View commit details
Commits on Apr 10, 2020
-
Fix for first packet loss of a flow in HBS
The first packet fmd was not having the Dest VRF set. This is because the packet was enqueued and sent to agent. Once agent responds, the packet is re-injected. In this path, the VRF was not set. As a result, the first packet would be dropped. Closes-Jira-Bug: CEM-11144 Change-Id: I350f46ec9f9b558c4c04d1246f130ec4a891b7c8
Configuration menu - View commit details
-
Copy full SHA for c437b3c - Browse repository at this point
Copy the full SHA c437b3cView commit details -
When vrouter is run without taskset, the default is not taking effect
Fix is to reset the default to zero Closes-Jira-Bug: CEM-14618 Change-Id: Ib14f14d9743c3c53af78c314a6322ca1c538836e
Configuration menu - View commit details
-
Copy full SHA for 6587835 - Browse repository at this point
Copy the full SHA 6587835View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3918c4a - Browse repository at this point
Copy the full SHA 3918c4aView commit details
Commits on Apr 13, 2020
-
scons vrouter-py-ut:test failing
scons vrouter-py-ut:test failing because of virtualenv using python3 in some sandboxes. We need to use python2 with virtualenv as the tests are not python3 compatible. Also removing test from SConscript as test folder is not present now. Setting correct socket path in run_test.py Closes-Jira-Bug: CEM-14626 Change-Id: I208c32bab142dc84d17166a6df405dfafcdb99da
Configuration menu - View commit details
-
Copy full SHA for 190ab6b - Browse repository at this point
Copy the full SHA 190ab6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0ed617 - Browse repository at this point
Copy the full SHA e0ed617View commit details -
Configuration menu - View commit details
-
Copy full SHA for a759f69 - Browse repository at this point
Copy the full SHA a759f69View commit details
Commits on Apr 15, 2020
-
pin all packages in requirements.txt for vrouter
Need to pin all packages in requirements.txt to guard against future failures when upstream packages get upgraded. closes-jira-bug: CEM-14661 Change-Id: I3a4e669bf765d4ae74c5cf355de9ad0ee3d121a6
Configuration menu - View commit details
-
Copy full SHA for 1fe68d8 - Browse repository at this point
Copy the full SHA 1fe68d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06fb295 - Browse repository at this point
Copy the full SHA 06fb295View commit details -
pin all packages in requirements.txt for vrouter(part-2)
Need to pin all packages in requirements.txt to guard against future failures when upstream packages get upgraded. closes-jira-bug: CEM-14661 Change-Id: Ibd935ac6583c0c9e8527d4b181ad91487483b016
Configuration menu - View commit details
-
Copy full SHA for 0ad68a9 - Browse repository at this point
Copy the full SHA 0ad68a9View commit details
Commits on Apr 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 068477c - Browse repository at this point
Copy the full SHA 068477cView commit details
Commits on Apr 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 79fe958 - Browse repository at this point
Copy the full SHA 79fe958View commit details -
vtest enhancements and UT bugfixes
1. Add support in run_test.py to execute a single TC Eg: ./run_test.py -t test_vm_to_fabric_intra_vn.py:: TestVmToFabricIntraVn::test_vm_to_fabric_intra_vn 2. Add support in ICMP to create custom size packets 3. Add support to get a packet generated by vtest app in python 4. Add validation in UTs to validate received packet 5. Fix bugs in UTs Closes-Jira-Bug: CEM-14859 Change-Id: Ibb92a4dcc552dbe8e5e52d0653330ed81e4e249e
Configuration menu - View commit details
-
Copy full SHA for 1d43e17 - Browse repository at this point
Copy the full SHA 1d43e17View commit details -
CEM-14660 - Avoid using /dev/vr_bridge and /dev/flow devices in agent
when kernel is using hugepages On newer ubuntu kernels, a traceback related to bad PTE entries is seen when agent is exiting. The same is also seen when flow and rt commands are used. The traceback is seen when unmap for /dev/vr_bridge and /dev/flow is being done. It is not clear what is causing this. The same is not seen on older kernels used by RHEL and Centos. To avoid this issue, agent/flow/rt need not use /dev/vr_bridge and flow devices since in kernel with hugepages mapped, agent/flow/rt can directly use the mmaped /dev/hugepages/bridge and /dev/hugepages/flow files. Vrouter changes: 1. Get the hugepage file path sent by agent and store it in the internal hugepage cfg struct along with other hugepage information. 2. Given the stored hugepage file path to flow and rt command so that they can mmap the tables properly. Testing: 1. Tested with kernel mode without hugepages enabled 2. Tested with kernel (RHEL/Centos and Ubuntu) with hugepages enabled 3. Tested with DPDK compute partial-jira-bug: CEM-14660 Change-Id: I2a916c23088221d8a2ee236bac3a4bde78384142
Configuration menu - View commit details
-
Copy full SHA for 3e9f590 - Browse repository at this point
Copy the full SHA 3e9f590View commit details
Commits on Apr 21, 2020
-
Merge "CEM-14660 - Avoid using /dev/vr_bridge and /dev/flow devices i…
…n agent when kernel is using hugepages"
Configuration menu - View commit details
-
Copy full SHA for e76a387 - Browse repository at this point
Copy the full SHA e76a387View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77efed4 - Browse repository at this point
Copy the full SHA 77efed4View commit details
Commits on Apr 23, 2020
-
Fix for vRouter UT failure in k8s pod
vr_socket_dir path length should be within UNIX_PATH_MAX(108) bytes for vRouter and vtest. With below fix, if vr_socket_dir overflows, log warning message and set vr_socket_dir to "/tmp/sock" in run_test.py script Closes-Jira-Bug: CEM-14797 Change-Id: I0c15e474d474c88ed516ec25938cff0dc7bde0e3
Configuration menu - View commit details
-
Copy full SHA for 532fa87 - Browse repository at this point
Copy the full SHA 532fa87View commit details
Commits on Apr 24, 2020
-
They have changed the fault callback signature in RHEL 8.2 kernel. Update it and use a suitable return code in case of the single failure path in the implementation. partial-jira-bug: CEM-7396 partial-jira-bug: CEM-11348 Change-Id: I63637d8127ebcc18bdfc0b2b4e512c5db0fe447c
Configuration menu - View commit details
-
Copy full SHA for e13722d - Browse repository at this point
Copy the full SHA e13722dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cfeba02 - Browse repository at this point
Copy the full SHA cfeba02View commit details
Commits on Apr 26, 2020
-
VrInfo: Display internal state of DPDK/Kernel vRouter
Devloped vr_info framework to process multiple CLI requests. - Have created CLI for DPDK(dpdkinfo) and for kernel(vrinfo) - Handles CLI request in parallel. - Supported for multiple platforms(Kernel/DPDK etc.) - For DPDK, Displaying the bond master & slave information. - For Kernel, Have written a sample code to display vRouter version. - Register callback function in vr_info.h(VR_INFO_REG macro) and based on CLI request, vr_info would call those callbacks and dispaly contents in CLI. - Added (--buffsz <value>) support to set output buffer size from CLI. Closes-jira-bug: CEM-7025 Change-Id: Ic20da8f8c3e4f56acd0423c974ac060573774c20 Depends-On: Ie4733cc4cc9838bee0230b0668baa1d9ba191eb5
Configuration menu - View commit details
-
Copy full SHA for bb9017b - Browse repository at this point
Copy the full SHA bb9017bView commit details
Commits on Apr 27, 2020
-
vtest: Add basic topology base classes
- Reorganize code to add basic topologies as base classes. This allows re-usability of these classes. - Move all the HBS related UTs to a separate file. Closes-Jira-Bug: CEM-14859 Change-Id: Ie0b363f0c7c823702b2422865192769d87d25dfd
Configuration menu - View commit details
-
Copy full SHA for bf3110b - Browse repository at this point
Copy the full SHA bf3110bView commit details
Commits on Apr 29, 2020
-
Implementation of GDB macros to dump vRouter core files
1. Create new GDB macros to dump rt and bridge details from vrouter core file. 2. Minor changes to vr_vif.gdb file. 3. Source inclusions for new files in vrouter.gdb file. 4. Address comments wrt vr_bridge.gdb and vr_rtable.gdb files. Partial-Jira-Bug: CEM-8854 Change-Id: Ib317a01ba2c33973b12d1917ef5d5119ed27bcdd
Configuration menu - View commit details
-
Copy full SHA for 1210437 - Browse repository at this point
Copy the full SHA 1210437View commit details
Commits on Apr 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 861f981 - Browse repository at this point
Copy the full SHA 861f981View commit details -
Configuration menu - View commit details
-
Copy full SHA for 581b503 - Browse repository at this point
Copy the full SHA 581b503View commit details
Commits on May 5, 2020
-
CEM-13716: Remote ECMP NH doesn't work With Fabricforwarding
Root cause: In case of local ECMP processing, as in fip is on one VM on local compute and another VM on remote compute, when the pkt is chosen to be sent to remote compute (by agent selecting the remote ecmp idx), the fabric vif rewrite (L2 rewrite) was not happening due to some special checks in the code. Fix: Changed the check condition to also check for dst mac of the pkt. If dmac of the pkt is equal to vhost0 mac, then the pkt is being routed through vrouter and we need to honor the NH found during route lookup. In such cases, we need to do the L2 rewrite using NH information. closes-jira-bug: CEM-13716 Change-Id: I90dc16b5e48aba6156eddfef7b1486b6faf10741
Configuration menu - View commit details
-
Copy full SHA for 5c34521 - Browse repository at this point
Copy the full SHA 5c34521View commit details -
Generate vRouter Code Coverage after new pytest infra changes
SIGKILL is being sent to kill vrouter instance at the end every UT. Due to SIGKILL .gcda files required for code coverage report are not being generated. Changed the kill signal SIGTERM instead. Closes-Jira-Bug: CEM-15230 Change-Id: I415f285bda991ecae49e7dfbd33d075b8018736d
Configuration menu - View commit details
-
Copy full SHA for df26b77 - Browse repository at this point
Copy the full SHA df26b77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90ccb96 - Browse repository at this point
Copy the full SHA 90ccb96View commit details
Commits on May 7, 2020
-
The DPDK rte_flow API is not thread safe. Using default configuration, multiple dataplane threads are trying to insert or remove flows on the same port, which is not supported. Introduce one spinlock per ethdev port using DPDK implementation. The spinlock is used when managing flows for this port. Closes-Bug: TFB-1578 Signed-off-by: Gaetan Rivet <grive@u256.net> Change-Id: I24e99bef331d0a15cf749ad3c5fa4552ead1b009
Gaetan Rivet committedMay 7, 2020 Configuration menu - View commit details
-
Copy full SHA for 01f78af - Browse repository at this point
Copy the full SHA 01f78afView commit details
Commits on May 9, 2020
-
Support for mirroring + fragmentation in ECMP with packet mode
The following cases would be supported with this commit - 1) Packet mode + Fragmentation + Dst ECMP 2) Packet mode + Fragmentation + Dst ECMP + Mirror dst with ECMP 3) Packet mode + Fragmentation + Dst ECMP + Mirror dst without ECMP Changes done: 1) Handle fragmentation in case of ECMP with packet mode 2) Pass packets through the fragment assembler in this case 3) Add a custom field in the hash key of the fragment assembler 4) For mirror packets, mark the custom field as 1 5) Delete frag_calc logic and in all cases, remove the fragment entry from the table when the last fragment is received 4) Handle cases where fragment addition in fragment hash table return error 5) Make the fragment hash table and assembler table scanning more aggressive 6) Move all the #defines of fragmentation in one place 7) Add more comments to important fragmentation functions 8) Add UT suite for fragmentation 9) Some fixes in UT infrastructure Closes-Jira-Bug: CEM-13355 Change-Id: I305efd007e7b3b6899f4bac356dc2d1bd44d2f1e
Configuration menu - View commit details
-
Copy full SHA for c0918cd - Browse repository at this point
Copy the full SHA c0918cdView commit details
Commits on May 12, 2020
-
Fix for fd_leak testcase failure in vRouter UT
Fix is to calculate the number of fd's after deleting the interface. Closes-jira-bug: CEM-15560 Change-Id: Ia9a7d7dd2b4fc31d5888584a44f3eb7045d7a380
Configuration menu - View commit details
-
Copy full SHA for c233049 - Browse repository at this point
Copy the full SHA c233049View commit details
Commits on May 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5c32722 - Browse repository at this point
Copy the full SHA 5c32722View commit details -
Vrouter design to handle flows
Add a flag vr_close_flow_on_tcp_rst to enable/disable disconnection of TCP flow on receiving TCP RST packet. Closes-Jira-Bug: CEM-10847 Change-Id: I828d1e1797dfdca9022fe74f9217e1e905be27e2
Configuration menu - View commit details
-
Copy full SHA for 516ef72 - Browse repository at this point
Copy the full SHA 516ef72View commit details
Commits on May 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7459584 - Browse repository at this point
Copy the full SHA 7459584View commit details
Commits on May 18, 2020
-
Setting coredump_filter for vrouter dpdk
1. Adding code snippet in the main() to set coredump_filter for vrouter dpdk. 2. Addressing comments and making changes. Closes-Jira-Bug: CEM-14017 Change-Id: Idd6be41350728150088e8ed046a8433f7baeeb93
Configuration menu - View commit details
-
Copy full SHA for ac0d387 - Browse repository at this point
Copy the full SHA ac0d387View commit details -
DPDK: Fix for crash in rte_exit()
When vRouter was stopped, rte_exit() calls log write function. But, the log file pointer is closed by an earlier call of dpdk_exit() Hence there was a crash. Fix is to close the log file after rte_exit() Closes-Jira-Bug: CEM-15695 Change-Id: I46a42aadb44f6e08dfd0c0272fe9259e73b82f1c
Configuration menu - View commit details
-
Copy full SHA for 66e8203 - Browse repository at this point
Copy the full SHA 66e8203View commit details
Commits on May 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d53b76d - Browse repository at this point
Copy the full SHA d53b76dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a9137b - Browse repository at this point
Copy the full SHA 9a9137bView commit details
Commits on May 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c16ab5a - Browse repository at this point
Copy the full SHA c16ab5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc7aa09 - Browse repository at this point
Copy the full SHA cc7aa09View commit details
Commits on May 29, 2020
-
Dpdkinfo - Add support to display bond, lacp, Nic, mempool, core, app…
… information Below commands are supported for Dpdkinfo: 1. Bond: --bond (Display the bond master and slave information) 2. Lacp: --lacp all (Display all information related to lacp) --lacp conf (Display config information) 3. Mempool: --mempool all (Show summary of used/avail mbuf for all mempools) --mempool <mempool-name> (Display information about the specified mempool) 4. Nic info: --stats eth --xstats (Display non zero values for Master and slaves) --xstats=all (Display all values for Master and slaves) --xstats=<interface-id> (Display non zero values for given interface-id, =0 (Master), =1 (Slave(0)), =2 (Slave(1))) 5. Lcore: --lcore (Display lcore information) Closes-Jira-Bug: CEM-15000 Change-Id: I2c94eb8a44df19915ca0d23d10e2824a6462dbd7
Configuration menu - View commit details
-
Copy full SHA for 3cac41d - Browse repository at this point
Copy the full SHA 3cac41dView commit details -
Merge "Dpdkinfo - Add support to display bond, lacp, Nic, mempool, co…
…re, app information"
Configuration menu - View commit details
-
Copy full SHA for 2ac9bb3 - Browse repository at this point
Copy the full SHA 2ac9bb3View commit details
Commits on Jun 1, 2020
-
Packets from fabric with nh pointing to fabric redirected by compute
Fix: When vRouter acts as gateway, Allow traffic between fabric-fabric, otherwise drop it. Closes-jira-bug: CEM-13067 Change-Id: I05e390fcbf8ce9391ea0713706a582aa93c97a4a
Configuration menu - View commit details
-
Copy full SHA for 076e460 - Browse repository at this point
Copy the full SHA 076e460View commit details
Commits on Jun 3, 2020
-
Sandump - Sniffer tool for messages between agent and vrouter
1. Added Wireshark plugin files that parses through the buffer 2. Added 22 sandesh object scripts that are used to parse the objects' buffers 3. Added Sandump tool (formats and converts sniffed bytes to pcapng) Closes-Jira-Bug: CEM-9260 Change-Id: Idf9a842021a0d8f5e1188d4e869f0111d64d3f41
Configuration menu - View commit details
-
Copy full SHA for 70b64d1 - Browse repository at this point
Copy the full SHA 70b64d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 055af27 - Browse repository at this point
Copy the full SHA 055af27View commit details
Commits on Jun 5, 2020
-
CEM-15353 - UT automation for CEM-13716
Adding an automated UT test case for the bug. closes-jira-bug: CEM-13716 Change-Id: I25556a5a17d371a6319da28958540d3dd0308e18
Configuration menu - View commit details
-
Copy full SHA for 6199c47 - Browse repository at this point
Copy the full SHA 6199c47View commit details
Commits on Jun 9, 2020
-
Disable warnings and add flag to treat vrouter compilation
warnings as errors. Closes-Jira-Bug: CEM-10978 Change-Id: Icbd33700185fd93f5e9962ef78cbf3f178883e6a
Configuration menu - View commit details
-
Copy full SHA for a5a14b9 - Browse repository at this point
Copy the full SHA a5a14b9View commit details
Commits on Jun 10, 2020
-
Merge "Disable warnings and add flag to treat vrouter compilation war…
…nings as errors."
Configuration menu - View commit details
-
Copy full SHA for d965e97 - Browse repository at this point
Copy the full SHA d965e97View commit details -
[Migration/Juniper/contrail-vrouter] Remove content and add readme ab…
…out migration. Automated change Depends-On: I76b24276f0f9f7dbd4361d06ec9a2bad07f1349e Depends-On: Ia502f7994fe5c3935838fb31a5210e5389fa943b Depends-On: Ia92e5a026af7ebbd1b479e372e8b4b447a8e9b67 Depends-On: Ib28e845dd30bb42034ff6dbeecc2dd7cb7e85c64 Depends-On: Ib52824a4677be5745b265f3a2b9c3fac58a9b0a0 Depends-On: If2956c78c81d8a62dfdf9ad610b04e0c41a3565d Change-Id: I6fc67f02ea6e9ba1f82b23063c976fba9a779f89
Configuration menu - View commit details
-
Copy full SHA for 886eefc - Browse repository at this point
Copy the full SHA 886eefcView commit details