aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/tcp
AgeCommit message (Expand)AuthorFilesLines
2017-10-12tcp: do not format sb if not established (VPP-1018)Florin Coras1-2/+3
2017-10-10session: add support for application namespacingFlorin Coras8-146/+199
2017-10-04[aarch64] Fixes CLI crashes on dpaa2 platform.Christophe Fontaine3-3/+3
2017-10-03tcp: updates to connection closing procedure (VPP-996)Florin Coras4-17/+63
2017-10-03Repair vlib API socket serverDave Barach1-1/+0
2017-09-27Various fixes for issues found by Coverity (VPP-972)Chris Luke1-1/+2
2017-09-26tcp: update snd_nxt after congestion recoveryFlorin Coras2-9/+7
2017-09-25tcp: do not sample rtt for retransmitted segmentsFlorin Coras3-81/+100
2017-09-20session: store tep port in net orderFlorin Coras1-2/+2
2017-09-20TCP: fix "tcp src-address" command with IPv6Yoann Desmouceaux1-1/+1
2017-09-20tcp: add option to punt trafficPierre Pfister4-6/+57
2017-09-19session/tcp: improve preallocated segment handlingFlorin Coras6-70/+129
2017-09-15dpdk: cli to check for buffer leakageFlorin Coras1-4/+6
2017-09-12tcp: horizontal scaling improvmentsFlorin Coras7-193/+313
2017-09-06Improve "show segment-manager segments"Dave Barach3-20/+26
2017-09-01Add fixed-size, preallocated pool supportDave Barach2-26/+40
2017-08-30tcp: re-enable persist timer if no data available to sendFlorin Coras2-4/+19
2017-08-29session: segment manager improvementsFlorin Coras1-1/+5
2017-08-25TCP horizontal scalingDave Barach3-3/+30
2017-08-25tcp: retransmit and multi-buffer segment fixes and improvementsFlorin Coras4-142/+211
2017-08-25Fix crash when TCP client using VPP host stack connects firsttjanciga1-0/+6
2017-08-18session: fix multi-buffer segmentsFlorin Coras2-15/+18
2017-08-17TCP source address automationDave Barach4-13/+386
2017-08-16tcp: fix v6 sessionsroot3-21/+18
2017-08-16tcp: improve builtin http serverFlorin Coras2-186/+96
2017-08-15tcp: state machine improvementsFlorin Coras3-14/+32
2017-08-14TCP: Update time_now once per burstFlorin Coras4-3/+15
2017-08-14TCP: update builtin server/client cli helpFlorin Coras2-5/+19
2017-08-11Fix tcp multi buffer segments retransmissionFlorin Coras4-132/+263
2017-08-10Improve the svm fifo allocatorDave Barach1-0/+14
2017-08-10TCP proxy prototypeDave Barach4-187/+703
2017-08-02Fix ip checksum offload, move badly-placed ASSERTDave Barach1-2/+2
2017-08-02Fix tcp tx buffer allocationFlorin Coras5-90/+203
2017-08-02Make ip csum configurable in vlib buffer functionsFlorin Coras1-6/+7
2017-07-30Make tcp active open data structures thread safeFlorin Coras8-168/+251
2017-07-25Cleanup/refactor session layer codeFlorin Coras2-72/+55
2017-07-21Improvements to tcp rx path and debuggingFlorin Coras8-169/+482
2017-07-18TCP/UDP checksum offload APIDave Barach1-3/+13
2017-07-15Fixes and improved tcp/session debuggingFlorin Coras6-42/+631
2017-07-14vnet_buffer_t flags cleanupDamjan Marion1-4/+4
2017-07-11Horizontal (nSessions) scaling draftDave Barach11-127/+480
2017-06-22Improve svm fifo and tcp tx path performance (VPP-846)Florin Coras4-16/+126
2017-06-19Overall tcp performance improvements (VPP-846)Florin Coras10-413/+630
2017-06-09Implement sack based tcp loss recovery (RFC 6675)Florin Coras9-372/+904
2017-06-01Improve fifo allocator performanceDave Barach4-137/+216
2017-05-20Improve session debuggingFlorin Coras6-68/+141
2017-05-18Improve sack bytes accounting and testingFlorin Coras5-37/+140
2017-05-17VPP-846: tcp perf / scale / hardeningDave Barach2-9/+5
2017-05-16Fixes to tcp active opens and receptionDave Barach1-0/+5
2017-05-15Fix builtin tcp clientDave Barach2-37/+73
span class="sd"> p4_reply.show2() self.validate(reass_pkt, p4_reply) """ # Reset MTU self.vapi.sw_interface_set_mtu(self.pg1.sw_if_index, [current_mtu, 0, 0, 0]) def test_ip6_mtu(self): """IP6 MTU test""" current_mtu = self.get_mtu(self.pg1.sw_if_index) p_ether = Ether(src=self.pg0.remote_mac, dst=self.pg0.local_mac) p_ip6 = IPv6(src=self.pg0.remote_ip6, dst=self.pg1.remote_ip6) p_payload = UDP(sport=1234, dport=1234) / self.payload(current_mtu - 40 - 8) p6 = p_ether / p_ip6 / p_payload p6_reply = p_ip6 / p_payload p6_reply.hlim -= 1 rx = self.send_and_expect(self.pg0, p6 * 9, self.pg1) for p in rx: self.validate(p[1], p6_reply) # MTU (only checked on encap) self.vapi.sw_interface_set_mtu(self.pg1.sw_if_index, [1280, 0, 0, 0]) self.assertEqual(1280, self.get_mtu(self.pg1.sw_if_index)) # Should fail. Too large MTU p_icmp6 = ICMPv6PacketTooBig(mtu=1280, cksum=0x4C7A) icmp6_reply = ( IPv6(src=self.pg0.local_ip6, dst=self.pg0.remote_ip6, hlim=255, plen=1240) / p_icmp6 / p_ip6 / p_payload ) icmp6_reply[2].hlim -= 1 n = icmp6_reply.__class__(icmp6_reply) s = bytes(icmp6_reply) icmp6_reply_str = s[0:1280] rx = self.send_and_expect_some(self.pg0, p6 * 9, self.pg0) for p in rx: self.validate_bytes(bytes(p[1]), icmp6_reply_str) self.assert_error_counter_equal("/err/ip6-input/mtu_exceeded", 9) # Reset MTU self.vapi.sw_interface_set_mtu(self.pg1.sw_if_index, [current_mtu, 0, 0, 0]) if __name__ == "__main__": unittest.main(testRunner=VppTestRunner)