From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-f43.google.com (mail-io1-f43.google.com [209.85.166.43]) by dpdk.org (Postfix) with ESMTP id 0B8E95F1A for ; Thu, 20 Sep 2018 22:46:14 +0200 (CEST) Received: by mail-io1-f43.google.com with SMTP id q4-v6so9655634iob.8 for ; Thu, 20 Sep 2018 13:46:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=MAgVWZ3sDvffEWqExoGkikesS/OlkoK+5YgdvtCWFVU=; b=QBlK5vsjgdEfevtME5LYOYQbmna6qoElYBQRxt616laUg9J0mXj7EcmBdVq+9JzNhp rIPQ90ZGbuWs8OpQG50VMtMrgNdo8NTLZONX4YWAuHMX/gRarFTniVL8WhAgbpC5kmdS VIwBPLu3kwyDYgNQ7UB1DWJacuqF3LbSwBG9uy7FWVoAGOiwAY9/LH+A9xY+igPXlsie VKJOsrYFRTVX1QZ0fKngf3JmJCuB9QhCe3T1H3mBYrrbS2vsTqbI/nZtjPqnFnrBhiZc C/TKLMWQzuG2zPW5coAdY4NvRw23MF9Lxo+um9wlLAekMj/n2RMYIqd0ArxL+c39K/mj v5MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=MAgVWZ3sDvffEWqExoGkikesS/OlkoK+5YgdvtCWFVU=; b=tUo93fDNNAWyNogzqSLSuP99J5RCXQgmSXeeOf1zzs2Y7Yce4VC+Db24oA68O5yEux 4SuVN60ffUPuy/qJO6MTO7xuP6g3M38fowmj+S/zcGNQ2YS5TvAKI6wCSVQMqz9DNyn6 420NORNZyXhTJH3XXMGs6gzZyx/TRmu/jPqgaNrOabx7l4Dr8HLol8lVYpOm/bIAhLC7 hOZiqJuBER/7kdsDvkqi3gXfcaDdL4NvkCcG4CIM4vz8ljX9GxFR+qtOr3q4WogmqMbP 6o4jUdy7s5We16Qq408dm6xd1Rla1LjFq98c2OBJn0cWH68eutX9ML15j/Dpeg2g56xY fpug== X-Gm-Message-State: ABuFfojYhmOHHsSxWWjYabnHUavWrLgPYYbe4CFIElClLlECytFRWFKg ElHz7hDPdiyMI21Ipw982/8V/euVFVCupS/dpg/1rvjR X-Google-Smtp-Source: ACcGV62CftR3ARVSlUcRIsGlQ/K5Z7T5NLdtOqQGZ5arxQI0P8V/JSzcBSPjmqETeK+7YAjlBUmBdkHxUGN1aNGCY94= X-Received: by 2002:a6b:6401:: with SMTP id t1-v6mr2673182iog.111.1537476372947; Thu, 20 Sep 2018 13:46:12 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:4594:0:0:0:0:0 with HTTP; Thu, 20 Sep 2018 13:46:12 -0700 (PDT) From: Sungho Hong Date: Thu, 20 Sep 2018 13:46:12 -0700 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] ipv4-frag support for DPDK? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Sep 2018 20:46:14 -0000 Hello DPDK dev, I was struggling with the packet fragmentation, since the dpdk application(l3fwd, ip-fragmentation, ip-assemble) did not recognized the received packet as the ipv4 header. At first, I have crafted my own packets when sending ipv4 headers so I assumed that I was crafting the packets in a wrong way. So I have used DPDK-pktgen but dpdk-application (l3fwd, ip-fragmentation, ip-assemble) did not recognized the ipv4 header. As the last resort, I have tested the dpdk-testpmd, and found out this in the status info. ------------------------------------------------------------ -------------------- ********************* Infos for port 1 ********************* MAC address: E4:1D:2D:D9:CB:81 Driver name: net_mlx4 Connect to socket: 1 memory allocation on the socket: 1 Link status: up Link speed: 10000 Mbps Link duplex: full-duplex MTU: 1500 Promiscuous mode: enabled Allmulticast mode: disabled Maximum number of MAC addresses: 127 Maximum number of MAC addresses of hash filtering: 0 VLAN offload: strip on filter on qinq(extend) off No flow type is supported. Max possible RX queues: 65408 Max possible number of RXDs per queue: 65535 Min possible number of RXDs per queue: 0 RXDs number alignment: 1 Max possible TX queues: 65408 Max possible number of TXDs per queue: 65535 Min possible number of TXDs per queue: 0 TXDs number alignment: 1 testpmd> show port ------------------------------------------------------------ -------------------- I have also tried out the Intel NIC driver that I have. ------------------------------------------------------------ -------------------- ********************* Infos for port 1 ********************* MAC address: 00:1B:21:A6:D4:D6 Driver name: net_e1000_igb Connect to socket: 0 memory allocation on the socket: 0 Link status: up Link speed: 100 Mbps Link duplex: full-duplex MTU: 1500 Promiscuous mode: enabled Allmulticast mode: disabled Maximum number of MAC addresses: 24 Maximum number of MAC addresses of hash filtering: 0 VLAN offload: strip on filter on qinq(extend) off Hash key size in bytes: 40 Redirection table size: 128 Supported flow types: ipv4 ipv4-tcp ipv4-udp ipv6 ipv6-tcp ipv6-udp unknown unknown unknown Max possible RX queues: 8 Max possible number of RXDs per queue: 4096 Min possible number of RXDs per queue: 32 RXDs number alignment: 8 Max possible TX queues: 8 Max possible number of TXDs per queue: 4096 Min possible number of TXDs per queue: 32 TXDs number alignment: 8 ------------------------------------------------------------ -------------------- According to DPDK documentation. in the flow type of the info status of port 1 should show, but mine shows that no flow type is supported. ------------------------------------------------------------ -------------------- Supported flow types: ipv4-frag ipv4-tcp ipv4-udp ipv4-sctp ipv4-other ipv6-frag ipv6-tcp ipv6-udp ipv6-sctp ipv6-other l2_payload port vxlan geneve nvgre ------------------------------------------------------------ --------------------- So Is my NIC, Mellanox Connect X-3 does not support IP fragmentation? Or is there additional configuration that needs to be done?