From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f182.google.com (mail-io0-f182.google.com [209.85.223.182]) by dpdk.org (Postfix) with ESMTP id 341F819F5 for ; Tue, 23 Jan 2018 22:44:15 +0100 (CET) Received: by mail-io0-f182.google.com with SMTP id f34so2543201ioi.13 for ; Tue, 23 Jan 2018 13:44:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=urS+r5sHAiv4rIw0nvgSVMEde2m5tNN0ysoVYe2lW3M=; b=kdPc6PElCsblP/oFOn6zeEYRZnT2yQIjLD1Y2MOKPVnxEOHfR4URaaiw/tuon95dRg 1eg5it1IRTMV+15Qq5Pg7ie5NVbhVzc1v4I80O9XoRxos4YHyzEFDv+tDwXOftes+J0H zA1nT9qPZ/wR7iWHfmkFizHhjzEEiUbNVw0F/m0FiWD1AOhr926pXoEZaXUAjVB2ytUB ntwpvU03jG04BS7S5OpfTM64dG110C52a/yuFo/ixWFSmj1RpevgHMN9QobTzNjsLAyh qLEAwFsQyBD0/CdHZRXxNIW8mGx73/mkmyZ26AJweATHaUF50NB22b/9zOdlHOXZae9S tEJQ== 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 :content-transfer-encoding; bh=urS+r5sHAiv4rIw0nvgSVMEde2m5tNN0ysoVYe2lW3M=; b=sODGgNgAUrz1q6TpfDXq7oA3gBDUBCAtUcchYEdxXiBll8Yk82BURmLpW2RKehyu3w BAsWQWLYisyQ6A4DzlIsaxlkJke2ALwgF2H2RXpve4SSKPAH1EU0egwhvaWzO/hL3e8H i3cWOk+u40Py9YjpN5KK9rnxHxN9LY2mfgqjXOKMy1KAp4oqH0YECtt7Z31qM1SyO5cR qbxTfS5gxQd3sBLLa4ksKDT0dQz6skPC8996BxV20k10AtyjWhmgCklVbTKuBCPZgkO7 VQyo9FJFB8UpONLB65xcpXYh6A8JPltM1OyuweZMuH9Q2fv9AUZ9YQnFVyNahxu3vL2/ AZMg== X-Gm-Message-State: AKwxytfEWpGgU4g3+ICgsTTBJFl9TF8ujb4fzqr8muOSJ45zrzXfkBAT 9ycnIFDJEylGcHLdqyOQh0j7rX2H/F1oeEGWqnP34A== X-Google-Smtp-Source: AH8x227JRFYM3pld8F1nKceGjSruVidRZIhCaUC9ge6F3koUqBPShCUYVUPKT8NqG4t9BCw5vVLJXY0F0FcOSYPWaSk= X-Received: by 10.107.140.88 with SMTP id o85mr5601556iod.219.1516743854333; Tue, 23 Jan 2018 13:44:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.5.70 with HTTP; Tue, 23 Jan 2018 13:44:13 -0800 (PST) From: Alex Kiselev Date: Wed, 24 Jan 2018 00:44:13 +0300 Message-ID: To: users Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: [dpdk-users] xl710 NIC doesn't receive 1518 bytes packets X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jan 2018 21:44:15 -0000 Hi. It seems that xl710 NIC doesn't receive 1518 (maximum MTU size 1500 + dot1q ethernet header 18 bytes) bytes packets. And there is no such problem when I use x520 NIC. I am sending ipv4 ICMP ping packets and I am sure that packets go out from the port on the switch to which my application is connected. This is the tcpdump output from the mirror port: 00:17:52.644171 f8:32:e4:72:61:1b > 68:05:ca:30:61:80, ethertype 802.1Q (0x8100), length 1518: vlan 10, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 630, offset 0, flags [DF], proto ICMP (1), length 1500) 1.0.0.2 > 1.0.0.1: ICMP echo request, id 5386, seq 7, length 1480 And I if send 1514 bytes packets everything is also ok h7 ~ # ip netns exec bs1 ping -s 1468 1.0.0.1 PING 1.0.0.1 (1.0.0.1) 1468(1496) bytes of data. 1476 bytes from 1.0.0.1: icmp_seq=3D1 ttl=3D64 time=3D0.935 ms tcpdump on mirror switch port for 1514 bytes (ping 1468): 00:28:15.890543 f8:32:e4:72:61:1b > 68:05:ca:30:61:80, ethertype 802.1Q (0x8100), length 1514: vlan 10, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 22101, offset 0, flags [DF], proto ICMP (1), length 1496) 1.0.0.2 > 1.0.0.1: ICMP echo request, id 5389, seq 1, length 1476 00:28:15.890548 68:05:ca:30:61:80 > f8:32:e4:72:61:1b, ethertype 802.1Q (0x8100), length 1514: vlan 10, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 22101, offset 0, flags [DF], proto ICMP (1), length 1496) 1.0.0.1 > 1.0.0.2: ICMP echo reply, id 5389, seq 1, length 1476 I=E2=80=99ve tried to use rte_eth_dev_set_mtu() with different parameters but nothing has changed. Have I missed something to configure? Thanks. -- Alex Kiselev