From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f47.google.com (mail-it0-f47.google.com [209.85.214.47]) by dpdk.org (Postfix) with ESMTP id 959631B1B6 for ; Fri, 26 Jan 2018 14:52:01 +0100 (CET) Received: by mail-it0-f47.google.com with SMTP id p139so618463itb.1 for ; Fri, 26 Jan 2018 05:52:01 -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; bh=f6uZCGBG2IxkSvgwTfJM8CCGojbCcIGs9WVOzi9mcM0=; b=hAht3gerYDJzxODQTRn8LYHr0WaCvNK9F2gaz/H7wl/TuezI8l/GOrYtnal6nPNjhD vvwRbUjPWDB+u+Tqz+JwV9gvQ7ecBH0I8NMky+MNztJ3c06GdVepEBBiB72Lab7tfF93 egyg/v0uPI95JGYbquWaSX2iglSwuf+cJqb5bN32MeSBgrF2e5i1qQXMBwovNQ0vfQeK St+YrkcPFSOfdKMyTDvbJIuysBZLAkUx8OL4kiOdxl4WR7Ts3mpigpu2g0LCdM7Duvxr m3+rY9z67w6+RP0W/HbMZUUd7ZT6sjNOJ7sk21Q6THsZ7qOPXcJJU45YRkP1gbIXhZtR N00Q== 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; bh=f6uZCGBG2IxkSvgwTfJM8CCGojbCcIGs9WVOzi9mcM0=; b=Z7GOj0LKvbP4eDcgGKXjl7gTVAUkOqQgNdSEoQ5dfF55Mt6bJH3G0w1hyfaJnnSgwT +B+pdOFiDVk/+jBh8XPhuMMsqp5P++FVIH2J9vrAzKZU/92iKxYjtBLAo2++pwmNpn2x GsC8AcAbLoLgGKSMb1wbrOfd7HIKeV1oaHWUOBLImteBwI6GnlA8j4coaLpFvFeY+vhu MRYS69pvmUN8XTQA5kT0KfFAktuq1qRcg3R13BJKLKK2IPTs6Po7zgapeJpqXfjkiK+6 QRJ7zKD3pXGZn1iLcBu9UdMdbT/puBFB0kpsEOzQKRpPUTg2y86v5336XvFBgz7tBy5B aZow== X-Gm-Message-State: AKwxyteb5WfNqIQzFtAT3iB9LrBFRdJfdi+Ol+9iOp5Sj0XCLzRTcIBB 3A6Sp35IjsaQlAF6aGxmPXnBdwknNXTCOt1bj4s= X-Google-Smtp-Source: AH8x225GEprMAhFCDeYwhbwnN5hCpMZhpvxSFZaudiOOvAuigZ/ALXdgPH4PBX/RP+zIZ2VCbmcrxopORLVqsHU0LaI= X-Received: by 10.36.151.65 with SMTP id k62mr16671057ite.87.1516974720992; Fri, 26 Jan 2018 05:52:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.5.70 with HTTP; Fri, 26 Jan 2018 05:52:00 -0800 (PST) In-Reply-To: References: From: Alex Kiselev Date: Fri, 26 Jan 2018 16:52:00 +0300 Message-ID: To: Kyle Larose Cc: users Content-Type: text/plain; charset="UTF-8" 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: Fri, 26 Jan 2018 13:52:01 -0000 Hi Kyle. 2018-01-26 16:47 GMT+03:00 Kyle Larose : > I meant to suggest that, sorry. :( > > That said, I think a patch was submitted recently to set the mtu of slave ports when the bond's mtu is set. > > http://dpdk.org/browse/dpdk/commit/drivers/net/bonding/rte_eth_bond_pmd.c?id=55b58a7374554cd1c86f4a13a0e2f54e9ba6fe4d > > Are you running with that patch? No. I wasn't aware of this patch. I'll try it. Thanks. > >> -----Original Message----- >> From: Alex Kiselev [mailto:kiselev99@gmail.com] >> Sent: Friday, January 26, 2018 8:44 AM >> To: Kyle Larose >> Cc: users >> Subject: Re: [dpdk-users] xl710 NIC doesn't receive 1518 bytes packets >> >> 2018-01-24 17:14 GMT+03:00 Alex Kiselev : >> > 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. >> >> I don't see any special API functions for setting MTU of a bonding port >> neither in 17.08.1 that I am currently using nor in the latest DPDK branch. >> >> So, I use regular MTU setting function rte_eth_dev_set_mtu() for my bond >> port created via command line arguments. >> And It doesn't work. 1518 bytes packets are being filtered. >> >> I tried to hardcode setting MTU for each slave port and it solved the >> problem. So, it looks like the problem is the rte_eth_dev_set_mtu() call >> that doesn't change MTU of slave ports when it is called for a bonding port. >> >> The described problem exists at least with i40e driver and doesn't show up >> when I use x520 NICS. >> >> -- >> Alex Kiselev -- -- Kiselev Alexander