From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id B464358DD for ; Tue, 27 May 2014 16:53:16 +0200 (CEST) Received: by mail-wg0-f52.google.com with SMTP id l18so9738252wgh.35 for ; Tue, 27 May 2014 07:53:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=UbUSUtFDVSJ5fUXQmsdPvk5oGjWDmOaMeRJ/TpOkRks=; b=JSVgobArdD7tfGKDA0bWVLe1IKfVWVMHGYDuPWP3sxUTzZbA0gAfiJM1vTV6IEW4+G qDaPeMn/8HDZYpjw0n3KWTfCpdZp6+ONXLRuahIhnTOFJbtxNvCtOS1/y6oh3IzEZnqX wLqRuMsHTSom50HzA1Sj2fVBECw+29s5XG4YsxR4dYs5RoMcWNChVvXwq9c9B+Xs8dhh AMZ4Jp5HJKw60czg4D1Of+yTOvZnAslYHwU1J5FWcL1GTiLcHFHo4WkPjpZbXzdLhpR3 5aloMC8wkOcTkzvbwTq34FGNYetM1tekDvCDocfrSPY1j0/I+AfNPsfgNOE+qGTULJxf SUBQ== X-Gm-Message-State: ALoCoQkS1AajtOEwmqjxha2aClSNwqoaMwlyYEBCChwTBjjqdKPKmoBnHVuwTmRChP39Dx987sJk X-Received: by 10.180.228.7 with SMTP id se7mr38218630wic.2.1401202407232; Tue, 27 May 2014 07:53:27 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id m2sm35573310wjw.3.2014.05.27.07.53.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 May 2014 07:53:26 -0700 (PDT) From: Thomas Monjalon To: Konstantin Ananyev Date: Tue, 27 May 2014 16:53:22 +0200 Message-ID: <7982092.0LOTupiQtt@xps13> Organization: 6WIND User-Agent: KMail/4.13 (Linux/3.14.4-1-ARCH; KDE/4.13.0; x86_64; ; ) In-Reply-To: <536A307C.7050304@6wind.com> References: <1399386672-10480-1-git-send-email-konstantin.ananyev@intel.com> <536A307C.7050304@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] fix for jumbo frame issue with DPDK VF X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2014 14:53:17 -0000 > > When latest Linux ixgbe PF is used, and DPDK VF is used in DPDK > > application, jumbo frames are not received. > > Also - if Linux ixgbe PF has MTU set to 1500 (default), > > then normal sized packets can be received by DPDK VF. > > However, if Linux PF has MTU > 1500, then DPDK VF receives no packets > > (normal or jumbo). > > With ixgbe_mbox_api_10 ixgbe simply didn't allow set VF MTU > 1514 for > > 82599. With ixgbe_mbox_ajpi_11 it does, though now, if PF uses jumbo > > frames, it simply disables RX for all VFs. > > So to work with PF ithat using jumbo frames, at startup each VF has to: > > 1. negotiate with PF mbox_api_11. > > 2. Send to PF SET_LPE message with desired MTU. > > Note, that if PF already uses MTU bigger then asked by the VF, > > then PF wouldn't take any action. > > > > Signed-off-by: Konstantin Ananyev > > Acked-by: Ivan Boule Applied for version 1.7.0. Thanks -- Thomas