From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 3E2765A0A for ; Fri, 12 Aug 2016 19:32:27 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id i5so48025355wmg.0 for ; Fri, 12 Aug 2016 10:32:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=qn0GXciH/es9fCX4e7JLyR0TwA8GS4rGPMZZnlJIWLc=; b=qkjEvNuwqwF6BejtHAh+KKOYdOicH6EQCh2TTDsqzWsgtennkq6fwmDczEMhB/WDk7 wMbeGh9wM2zS7N6vKj0+5XeFcLJAz8rr4qayak7OYKEMGGNp6dND/7qS2PucnbKUzNzI 03F6v09UGdRyjeAnqKO1k3qvPkPXg+c8h6IvHQ8pGPoYDxFaaHKF9RmiBnItrlq5XBPF Nfg+sIxCk6TanI/uK6ACMgN4boItPJjoHGOJ+9TrryPcDvJDglvEiu/up1gW13XcOsry KmEMQsaTWul2H6bSldtbNjYQztkQsT9PFKQTDuyEFARMC29vNNfmJPxGlrAVVzfmmnhp UIBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=qn0GXciH/es9fCX4e7JLyR0TwA8GS4rGPMZZnlJIWLc=; b=eN7L+grBauPvK3jWilhK42muG4zaJYVu9jd4bOCyaf7ofMluojoPBPDHBsUdh6b0sN kNrN47qz3d7/htO2bRgMZHX7K/ABICxdpJuFqEKoA4c+iRx367Y+TiEuIoOD93w/aI7C 4H0ibFlogo5A7Y0BDqSBl7mBgmHAj9yaZGMnc5nbnISW+MZ/Bsfluf5a1lJ6CUL6iS61 Hw66OCD+9l/3M8ChouCFYyfFJ6/Daw91W0Mw0I/cL4UpFoQA3y2ISqXvt3MeMyapU+Xl mLNQtNHaAN+3kPF1N7YyYYOmgIT2Jgyw7xuRhx9T3p5d+bieIJJz+ZiQ0bJt65mHbzxe FxBw== X-Gm-Message-State: AEkooutU7WHF2wLJHUcGnmHOkqom/TD/Gfxi2ED6mhHl6KXcHNZq4+xw3tE5TvBJi6BngHa/AjcAnpEDkANM9Q== X-Received: by 10.28.206.8 with SMTP id e8mr4202850wmg.57.1471023146588; Fri, 12 Aug 2016 10:32:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.72.11 with HTTP; Fri, 12 Aug 2016 10:32:26 -0700 (PDT) From: =?UTF-8?B?0JDQu9C10LrRgdCw0L3QtNGAINCa0LjRgdC10LvQtdCy?= Date: Fri, 12 Aug 2016 20:32:26 +0300 Message-ID: To: users Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] ipv4 fragmentation X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2016 17:32:27 -0000 Hi! I am trying to use rte_ipv4_fragment_packet() function, but so far all attemps has been unsuccessful. Fragment function gets a packet, successfuly splits it to the two packets, then I add an L2 header to the each of resulting fragments and send the fragments using rte_eth_tx_burst() to the wire. All steps of the above process are succesfully completed without any error, but I don't see the fragments on the wire and PMD stat function also reports that no packets were transmitted. I've rechecked many times that L2 header of each fragments is correct, that values of l2_len and l3_len rte_mbuf members are correct, that the rte_eth_tx_burst() result is correct (2 packets). The sizes of fragments are also correct. What did I miss? I am using DPDK 2.2.0 and ixgbe PMD driver. This is some log data of a test run. == == The original packet that has to be fragmented (including L2 header data) dump mbuf at 0x0x7f7d103870c0, phys=215787140, buf_len=2176 pkt_len=2546, ol_flags=40000000000003, nb_segs=2, in_port=0 segment at 0x0x7f7d103870c0, data=0x0x7f7d103871c0, data_len=1518 Dump data at [0x7f7d103871c0], len=50 00000000: 00 1B 21 3C 69 45 90 E2 BA 00 3C CC 81 00 00 86 | ..!