summaryrefslogtreecommitdiffstats
path: root/build-data/platforms
AgeCommit message (Expand)AuthorFilesLines
2019-11-08build: use cmake build typesDamjan Marion1-26/+5
2019-06-07build: add -Wall and -fno-common, fix reported issuesBenoƮt Ganne1-14/+20
2019-05-06gcov / test framework: sigterm not sigkillDave Barach1-3/+2
2019-02-19VPP-1504: Remove JVPPMichal Cmarada2-2/+2
2019-02-01Remove -z now from LDFLAGSDamjan Marion1-1/+1
2018-09-09cmake: Move VOM to cmakeMohsin Kazmi1-0/+1
2018-09-07post move-to-cmake cleanupDamjan Marion1-24/+0
2018-09-02Switch to cmakeDamjan Marion1-3/+0
2018-08-17CMake as an alternative to autotools (experimental)Damjan Marion1-0/+3
2018-08-01Move java api to extras/Damjan Marion1-1/+1
2018-07-18Add config option to use dlmalloc instead of mheapDave Barach1-1/+3
2018-06-04Enable Position Independent Executable for production VPPNeale Ranns1-1/+1
2018-05-28VPP-1284: Fix for TLS corruption on ARM platformsSachin Saxena1-2/+2
2018-05-16Fix broken compilation for non-numa aware platformsSachin Saxena2-1/+2
2018-05-12dpdk: Add build related keywords for failsafe PMDRui Cai1-0/+1
2018-05-04build-data: Common makefile for NXP DPAA1/DPAA2 platformsSachin Saxena2-66/+87
2018-04-27Move VOM to extras/vomDamjan Marion1-5/+1
2018-03-12License text cleanupDave Barach1-0/+13
2018-01-10makefile set CXXFLAGS so they are propageted to sub-buildsNeale Ranns1-0/+3
2017-11-11Handle CPU flags from autotools projectDamjan Marion1-31/+13
2017-11-06Add --disable-vom config optionDave Barach1-1/+7
2017-08-14dpdk: cleanup unused build option *_uses_dpdk_cryptodev_swSergio Gonzalez Monroy1-1/+0
2017-07-17Fix unlinking of /dev/shm files.Dave Wallace1-1/+1
2017-05-09Fix remaining 32-bit compile issuesDamjan Marion1-0/+5
2017-04-25Add support for 32-bit x86 compilation in MakefilesDamjan Marion1-2/+5
2017-03-10Retire vpp_liteDamjan Marion2-55/+0
2017-02-07Multiple platofrm support for dpdk/Makefile, fix optimizationsDamjan Marion2-39/+0
2017-01-31Prep work for Coverity upload processing via JenkinsDave Barach1-0/+6
2017-01-27dpdk: rework cryptodev ipsec build and setupSergio Gonzalez Monroy1-1/+1
2017-01-16Add --without-libssl configure parameterDamjan Marion4-10/+10
2017-01-10Added a sub-case to take into Thunderx platformMarco1-0/+7
2017-01-01Move java,lua api and remaining plugins to src/Damjan Marion2-4/+2
2016-12-28Reorganize source tree to use single autotools instanceDamjan Marion2-5/+2
2016-12-26dpdk: Add support for Mellanox ConnectX-4 devicesDamjan Marion1-0/+1
2016-12-09Add make test code coverage reporting using gcovJuraj Sloboda1-0/+5
2016-11-28dpdk: add ipsec cryptodev supportSergio Gonzalez Monroy1-0/+1
2016-11-12Add clang to 'make verify'Damjan Marion1-0/+5
2016-08-29VPP-310 Mapping algorithm compute wrong ea-bitsOle Troan1-0/+3
2016-08-12VPP: NXP dpaa2 platform porting to dpdk-16.07Sachin1-7/+7
2016-07-21VPP-123: remove japi (the old Java API)Marek Gradzki1-1/+1
2016-07-13Add plugins debian packagingDamjan Marion1-1/+1
2016-07-08Multiple changes in the plugin build infraDamjan Marion1-3/+1
2016-07-06Retire PLATFORM=virlDamjan Marion1-42/+0
2016-07-01Simple ip4 NAT pluginDave Barach1-0/+4
2016-06-28Fix native build on non x86_64 systemsDamjan Marion2-0/+11
2016-06-27Plugins: Clean up the plugin directory so that each plugin has its ownOle Troan5-10/+10
2016-06-19Improving cross_ldflags arguments for dpaa2 platformSachin1-1/+2
2016-06-17NXP DPAA2 Poll Mode Driver Support in DPDKSachin1-4/+6
2016-06-10NXP dpaa2 platform initial supportSachin Saxena1-0/+63
2016-05-19Add support for multiple microarchitectures in single binaryDamjan Marion2-4/+9
an>pg0.sw_if_index) self.assertEqual(str(inner), str(self.info.data[IPver])) def checkCapture(self, gre4, isv4): self.pg0.assert_nothing_captured() out = self.pg1.get_capture(len(self.packets)) load = [0] * len(self.ass) self.info = None for p in out: try: asid = 0 gre = None if gre4: ip = p[IP] asid = int(ip.dst.split(".")[3]) self.assertEqual(ip.version, 4) self.assertEqual(ip.flags, 0) self.assertEqual(ip.src, "39.40.41.42") self.assertEqual(ip.dst, "10.0.0.%u" % asid) self.assertEqual(ip.proto, 47) self.assertEqual(len(ip.options), 0) self.assertGreaterEqual(ip.ttl, 64) gre = p[GRE] else: ip = p[IPv6] asid = ip.dst.split(":") asid = asid[len(asid) - 1] asid = 0 if asid == "" else int(asid) self.assertEqual(ip.version, 6) self.assertEqual(ip.tc, 0) self.assertEqual(ip.fl, 0) self.assertEqual(ip.src, "2004::1") self.assertEqual( socket.inet_pton(socket.AF_INET6, ip.dst), socket.inet_pton(socket.AF_INET6, "2002::%u" % asid) ) self.assertEqual(ip.nh, 47) self.assertGreaterEqual(ip.hlim, 64) # self.assertEqual(len(ip.options), 0) gre = GRE(str(p[IPv6].payload)) self.checkInner(gre, isv4) load[asid] += 1 except: self.logger.error(ppp("Unexpected or invalid packet:", p)) raise # This is just to roughly check that the balancing algorithm # is not completly biased. for asid in self.ass: if load[asid] < len(self.packets) / (len(self.ass) * 2): self.logger.error( "ASS is not balanced: load[%d] = %d" % (asid, load[asid])) raise Exception("Load Balancer algorithm is biased") def test_lb_ip4_gre4(self): """ Load Balancer IP4 GRE4 """ try: self.vapi.cli("lb vip 90.0.0.0/8 encap gre4") for asid in self.ass: self.vapi.cli("lb as 90.0.0.0/8 10.0.0.%u" % (asid)) self.pg0.add_stream(self.generatePackets(self.pg0, isv4=True)) self.pg_enable_capture(self.pg_interfaces) self.pg_start() self.checkCapture(gre4=True, isv4=True) finally: for asid in self.ass: self.vapi.cli("lb as 90.0.0.0/8 10.0.0.%u del" % (asid)) self.vapi.cli("lb vip 90.0.0.0/8 encap gre4 del") self.vapi.cli("test lb flowtable flush") def test_lb_ip6_gre4(self): """ Load Balancer IP6 GRE4 """ try: self.vapi.cli("lb vip 2001::/16 encap gre4") for asid in self.ass: self.vapi.cli("lb as 2001::/16 10.0.0.%u" % (asid)) self.pg0.add_stream(self.generatePackets(self.pg0, isv4=False)) self.pg_enable_capture(self.pg_interfaces) self.pg_start() self.checkCapture(gre4=True, isv4=False) finally: for asid in self.ass: self.vapi.cli("lb as 2001::/16 10.0.0.%u del" % (asid)) self.vapi.cli("lb vip 2001::/16 encap gre4 del") self.vapi.cli("test lb flowtable flush") def test_lb_ip4_gre6(self): """ Load Balancer IP4 GRE6 """ try: self.vapi.cli("lb vip 90.0.0.0/8 encap gre6") for asid in self.ass: self.vapi.cli("lb as 90.0.0.0/8 2002::%u" % (asid)) self.pg0.add_stream(self.generatePackets(self.pg0, isv4=True)) self.pg_enable_capture(self.pg_interfaces) self.pg_start() self.checkCapture(gre4=False, isv4=True) finally: for asid in self.ass: self.vapi.cli("lb as 90.0.0.0/8 2002::%u del" % (asid)) self.vapi.cli("lb vip 90.0.0.0/8 encap gre6 del") self.vapi.cli("test lb flowtable flush") def test_lb_ip6_gre6(self): """ Load Balancer IP6 GRE6 """ try: self.vapi.cli("lb vip 2001::/16 encap gre6") for asid in self.ass: self.vapi.cli("lb as 2001::/16 2002::%u" % (asid)) self.pg0.add_stream(self.generatePackets(self.pg0, isv4=False)) self.pg_enable_capture(self.pg_interfaces) self.pg_start() self.checkCapture(gre4=False, isv4=False) finally: for asid in self.ass: self.vapi.cli("lb as 2001::/16 2002::%u del" % (asid)) self.vapi.cli("lb vip 2001::/16 encap gre6 del") self.vapi.cli("test lb flowtable flush")