aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2020-03-09mpls: adjust mpls-frag size to account for mpls headerJohn Lo1-1/+1
2020-03-04tap: misc fixesMohsin Kazmi4-49/+64
2020-02-29dpdk: TSO does not work for Cisco VICSteven Luong1-0/+11
2020-02-27avf: Handle chain buffer in TX properlySteven Luong2-7/+140
2020-02-18mactime: remove unnecessary function declarationNeale Ranns1-2/+0
2020-02-18papi: harden socket handlingVratko Polak2-19/+24
2020-02-18papi: introduce read_blockingVratko Polak1-3/+29
2020-02-18api: comment, simplify and fix api socket readVratko Polak1-48/+80
2020-02-13classify: fix "show classify filter" debug CLIDave Barach1-3/+1
2020-02-13ikev2: correct byte order in api handlersAleksander Djuric1-10/+21
2020-02-12classify: "classify filter ..." debug CLI cleanupDave Barach2-7/+195
2020-02-12classify: vpp packet tracer supportDave Barach6-33/+261
2020-02-06vppinfra: fix typo in tw_timer_template.cDave Barach1-1/+1
2020-02-06vppinfra: preserve total_cpu_time across clock freq adjustmentDave Barach2-4/+17
2020-02-06pmalloc: always lock pagesDamjan Marion2-25/+16
2020-02-06lb: lb_add_del_vip and lb_add_del_as doesn't work.Hongjun Ni2-4/+14
2020-02-06vlib: autogenerate <node> before <last-in-arc> constraintsDave Barach4-1/+25
2020-02-06ikev2: fix memory leak in child SAFilip Tehlar1-16/+15
2020-02-06api: configurable binary api client rx pthread fcnDave Barach2-19/+39
2020-02-06session: extra checks in session validationSrikanth Akula3-15/+29
2020-02-06virtio: feature arc have higher priority than redirectDamjan Marion2-6/+8
2020-02-06tcp: improve lost rxt heuristicFlorin Coras3-34/+55
2020-02-06session: re-set tx fifo event if out of buffersFlorin Coras1-1/+2
2020-02-06lacp: add actor steady state check prior to skip processing lacp pduSteven Luong4-51/+48
2020-01-29fib: refresh adj pointer after fib_walk_sync due to possible reallocSteven Luong2-0/+20
2020-01-29devices: vhost: fix data offset on inputBenoît Ganne1-11/+1
2020-01-29bfd: reset peer discriminator on timeoutKlement Sekera2-0/+24
2020-01-28bonding: Add GSO supportSteven Luong2-2/+21
2020-01-28bonding: process lacp when bond is admin downMatthew Smith1-1/+0
2020-01-28fib: Reload the adj after possible realloc (VPP-1822)Neale Ranns1-0/+1
2020-01-23api: mark api_trace_command_fn thread-safeDave Barach1-1/+20
2020-01-22fib: Adjacency realloc during rewrite update walk (VPP-1822)Neale Ranns1-4/+4
2020-01-20fib: FIB crash removing labelled route (VPP-1818)Neale Ranns1-7/+12
2020-01-08l2: fix MAC learn counter update on adding MAC entryJohn Lo1-1/+1
2020-01-04bonding: drop traffic on backup interface for active-backup modeSteven Luong1-1/+12
2020-01-02gso: fix the number of buffers required for segmentationMohsin Kazmi1-1/+2
2020-01-01fib: Adjacency walk fix for IPv6Neale Ranns1-1/+1
2019-12-21vxlan: reuse inner packet flow hash for tunnel outer header load balanceShawn Ji4-0/+31
2019-12-20api: fix dead client scan heap issueNathan Skrzypczak1-0/+4
2019-12-05vxlan: fix vxlan hw offload issueChenmin Sun1-1/+3
2019-12-03tcp: fix ip check in lookup validationFlorin Coras1-11/+17
2019-12-02ip: IP address and prefix types (moved from LISP)Neale Ranns21-483/+545
2019-12-02classify: debug cli %v not %sDave Barach1-2/+2
2019-12-01vcl: if the ldp user send buf with 0 len, it will assert failed.jiangxiaoming1-1/+1
2019-12-01dpdk: fix non-NULL terminated stringBenoît Ganne1-1/+1
2019-12-01virtio: fix use-after-freeBenoît Ganne1-1/+1
2019-11-28vlib: pci: fix non-NULL terminated C-stringBenoît Ganne1-2/+2
2019-11-28tcp: close session on retransmit failureFlorin Coras1-0/+1
2019-11-28tests: Add UT to test incomplete MPLS adjacencies send ARP requestsNeale Ranns1-3/+42
2019-11-28interface: send proper link/admin status in eventAlexander Chernavin1-4/+5
an class="o">, dataBefore); throw new WriteFailedException.DeleteFailedException(id, e); } } private void l2FibAddDel(@Nonnull final InstanceIdentifier<L2FibEntry> id, @Nonnull final L2FibEntry entry, final WriteContext writeContext, boolean isAdd) throws VppBaseCallException { final String bdName = id.firstKeyOf(BridgeDomain.class).getName(); final int bdId = bdContext.getIndex(bdName, writeContext.getMappingContext()); int swIfIndex = -1; final String swIfName = entry.getOutgoingInterface(); if (swIfName != null) { swIfIndex = interfaceContext.getIndex(swIfName, writeContext.getMappingContext()); } final L2FibAddDel l2FibRequest = createL2FibRequest(entry, bdId, swIfIndex, isAdd); LOG.debug("Sending l2FibAddDel request: {}", ReflectionToStringBuilder.toString(l2FibRequest)); final CompletionStage<L2FibAddDelReply> l2FibAddDelReplyCompletionStage = getFutureJVpp().l2FibAddDel(l2FibRequest); TranslateUtils.getReply(l2FibAddDelReplyCompletionStage.toCompletableFuture()); } private L2FibAddDel createL2FibRequest(final L2FibEntry entry, final int bdId, final int swIfIndex, boolean isAdd) { final L2FibAddDel request = new L2FibAddDel(); request.mac = macToLong(entry.getPhysAddress().getValue()); request.bdId = bdId; request.swIfIndex = swIfIndex; request.isAdd = booleanToByte(isAdd); if (isAdd) { request.staticMac = booleanToByte(entry.isStaticConfig()); request.filterMac = booleanToByte(L2FibFilter.class == entry.getAction()); } return request; } // mac address is string of the form: 11:22:33:44:55:66 // but VPP expects long value in the format 11:22:33:44:55:66:XX:XX private static long macToLong(final String macAddress) { final byte[] mac = parseMac(macAddress); return Longs.fromBytes(mac[0], mac[1], mac[2], mac[3], mac[4], mac[5], (byte) 0, (byte) 0); } }