From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f44.google.com (mail-it0-f44.google.com [209.85.214.44]) by dpdk.org (Postfix) with ESMTP id 56508A499 for ; Wed, 24 Jan 2018 15:14:28 +0100 (CET) Received: by mail-it0-f44.google.com with SMTP id c102so18468387itd.0 for ; Wed, 24 Jan 2018 06:14:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=iEYAzotrJBnA/SexkYWxrkuCLcEjfQ70h5SVa2GFi48=; b=KPtX8pYFZtO6mElWG+0uNj9TXwCx7W8FSeu9OOU9BSacReBHFbi0FOx52M+BlHhR/Q oWO0vruymFpYoQdN60vqA2E8j0W24jAOqTzXdoUJTE+gTJonyv2aDok0jKSw9mJZUu6f BUz6kiBwptngPMGZ0nKSxsb4WNrXdkXv/FvrqHP2ySjOvGD7T4+jZiaF8cujuZh6loGN PUqCw0aLYkmGGqebu85qQ/PfyCBSS5bAXNAZhPFTUui/OXXrKT8mStBArKXzTTaZpL/V T+Ui1b7bcoMdNylrnkp9OF2Q3WLSDqoyy9aJIXTOSlv99u7q4imPKHRWe03onJOw/iMX 3yjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=iEYAzotrJBnA/SexkYWxrkuCLcEjfQ70h5SVa2GFi48=; b=U9YPhHds/bZs0qGBXrLg+ThK4tq59iJ0LrSi2vLxjnMFoTzS9hgXQQNYgQn8zfkS7G e1aucNfXdZitI20ZjP11jD8R5iJSOaX8JyYTmiB+ecJr5rxTtK2jUcAwTdPtBa/WEhNQ LBZZSix+qJZwPhYIaLti1gBWCFVLoznh3/JpdAfhOwAc8DsydannKrB10JKK6QQ7vM2C d9LI2SVW6Dh3sJ2uRzFm1FaJPq5cBPBj1hmH+xaZBMkxtx5FlBE+4FeMhriWvY4328vQ YHGq/0oqpBbpYJu85SDbSc+f1VtSlwU4iZ44kw5x0Xd0EEvDaxCaC+EBOtLyU7nFCPvg /XCg== X-Gm-Message-State: AKwxytdEm0uXG/ti6KN0h9w8WaSxHSIEvKkiHCUY6syRJtB2yODij7PZ WFMCXXqBsTYKrgH9naWtV4LUwjtIPyewZaApuX4= X-Google-Smtp-Source: AH8x224mEXnSb5yXg8NefbZ84KPx7KZip1APPxmyOUL7FSOc9I3nG+Eal3Wb4njQp/m10Fy62Zvt5MafnU/0Tba+m8M= X-Received: by 10.36.2.16 with SMTP id 16mr8763188itu.81.1516803267685; Wed, 24 Jan 2018 06:14:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.5.70 with HTTP; Wed, 24 Jan 2018 06:14:27 -0800 (PST) In-Reply-To: References: From: Alex Kiselev Date: Wed, 24 Jan 2018 17:14:27 +0300 Message-ID: To: Kyle Larose Cc: users Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [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: Wed, 24 Jan 2018 14:14:28 -0000 Hi Kyle. 2018-01-24 17:01 GMT+03:00 Kyle Larose : > Did you set the mtu on the bond port? It has separate configuration IIRC. Yes, I did. I create bond ports via command line parameters and work with them the same way as with usual ports (except few things regarding the requirement to send LACP packets every N m= s) > >> -----Original Message----- >> From: users [mailto:users-bounces@dpdk.org] On Behalf Of Alex Kiselev >> Sent: Wednesday, January 24, 2018 8:51 AM >> To: users >> Subject: Re: [dpdk-users] xl710 NIC doesn't receive 1518 bytes packets >> >> The issue with receiving 1518 byte packets is half resolved. It was an M= TU >> problem. I moved rte_eth_dev_set_mtu() before the rte_dev_dev_start and = it >> helped. Thanks to Alex _ . >> So, 1518 packets now are successfully sent and received. >> >> But, now I've got the same problem with the bonding driver. I created a = bond >> port with four i40e slave ports and place it in the LACP mode. >> And the bond port doesn't receive 1518 bytes packets. >> >> Please, help me to resolve the issue. >> >> 2018-01-24 0:44 GMT+03:00 Alex Kiselev : >> > 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 paramet= ers but >> > nothing has changed. >> > >> > Have I missed something to configure? >> > >> > Thanks. >> > >> > -- >> > Alex Kiselev >> >> >> >> -- >> -- >> Kiselev Alexander --=20 -- Kiselev Alexander