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 1E7B61B016 for ; Wed, 24 Jan 2018 14:50:36 +0100 (CET) Received: by mail-it0-f44.google.com with SMTP id c102so18407681itd.0 for ; Wed, 24 Jan 2018 05:50:36 -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 :content-transfer-encoding; bh=+IkfRC2I0pl88l4mStYAOboW5Rx14hSQ/CDR/yG/qOs=; b=hLqTIAvL5FTvuPLuJbQnODJwn8SUxsllqn8v3cXEmKNRm5+rq4Ly3GQTRGxRITNXfP EfdwkRHEoPQtOivDY5ObwgUAfw3E1j4ArHtXXqDcJRkF0DTZtWQ41T+CuIztJp3/GyJ9 IIIRgaF7tHVP20Q26yuR1SK2SFphq2CtHvrBbx1Ku9WpTP6nB4dPaXxClq1RWlqkOfV2 Y31RWd+qY7Ie554BsKvgGAxE1qP7ucuChEzaL2Oum8ZYFAtzI6PvpiCzva8q48paNfWt TnMpIS4Yh+Lmw/yF9SthWhlH0N42S8NvYKPHnr7UhOoipN/0vgav2zUYJSzb80aRofEy +8vw== 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:content-transfer-encoding; bh=+IkfRC2I0pl88l4mStYAOboW5Rx14hSQ/CDR/yG/qOs=; b=Z8owPw+AdKWs+VupN3R017MGkdVGYAMd3eHQ7ye3tcde9+CdAy/ovGOUI+6+LO+IyR sVY0F9OaBla2iomauqDjZFoG7Gz4VLKPL72FBcl/KoD46Yurl8SWqmQTLkvplzgSx3VG GW/KqrsT5kQIPt9KTublB6XjSILuv/ad8r/P6LXgpOFe+ChrGP0eA3Z6I1E3pzHsuJ0w 3N/06DrWIrU0OEua/73J1HgCz2VpUC7StrkrQ9NXdBYJ1d35GhV4q6zYxbE6EWcp96H7 wRfxGUzC7KmBVPsMmOSXhwpORibpvfw2xg7djKtQzY8hgkcK4aO9eTVYSGnZkP3ivsd5 8UlQ== X-Gm-Message-State: AKwxytdxuQmuDh1qWP9tCwymR6jpKi4dJOYShVCyfiM3djMpIME1rrG+ gQfv+UWdcMpgzQ/T4oFQD6JA9uJdYbaMDg1t55Ycnw== X-Google-Smtp-Source: AH8x224Lg6Dc8RnW8/RH0G3hE/7qmNLT7a6UObzGKfFSWkrJikiwSM/DVVUWtb039EK7bEnMUWS/g6dLRYAePqvYbhQ= X-Received: by 10.36.110.85 with SMTP id w82mr8858107itc.118.1516801835320; Wed, 24 Jan 2018 05:50:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.5.70 with HTTP; Wed, 24 Jan 2018 05:50:34 -0800 (PST) In-Reply-To: References: From: Alex Kiselev Date: Wed, 24 Jan 2018 16:50:34 +0300 Message-ID: To: 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 13:50:36 -0000 The issue with receiving 1518 byte packets is half resolved. It was an MTU 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 parameters > but nothing has changed. > > Have I missed something to configure? > > Thanks. > > -- > Alex Kiselev --=20 -- Kiselev Alexander