From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id AA15811A2 for ; Fri, 1 Apr 2016 15:45:08 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id 20so23767197wmh.1 for ; Fri, 01 Apr 2016 06:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=gfm5Kok7ryZn8BnTvdI4D6eq5q25OP+C1DpxHMMc6dk=; b=UM3zeldF0XcMg/JG8FoL+2ZTAMjQSmAUznzQOYh3IZ6ecPT9oSfw9o5xUAGOr/AGjE G3N0OZpqIOHnYg3ANs839rgZVB6Ms/3wNhmHWFyU91+wSVOo4MH/8fa4dSl98a84Ofut LxTTT49U1cSgSxRnUA5yLZkg1l1PZfi62mIvigS8LCHgIslYHjcd4LIouwp9kbn7dSGF roHH0/nBPkStybpof0l3W85817lOY4R5Iq+9alNJt5p8jyRSHqU7Fk+BXCqrft6XvcsK +9NLEuhxSir74vMxWG9nO8d0F0DPKzPAFbFc+KOgGMakbrK+fVIVcHYg8c3CM8c5mq0l U5uA== 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; bh=gfm5Kok7ryZn8BnTvdI4D6eq5q25OP+C1DpxHMMc6dk=; b=CcSem0fD1TiEtAxkjtyhxcPxV+xBAJI17MBXXn6FhSlA+NiOFOUJS/kp5tfCjbCMlp UmJilQEewYCe1o9g4M4psEYb6M9ZNha9R9UxZ+uwLyKK+irmLXLfajEv4BOGDNX1LUvp ea16Y7VatAk3pEjZDtCORhKn7DpcLK6f9OznlOXyaCByAARn9t0TCZK9uJ1Lfgjwh3c2 FqNhL93aJwPBS/B42PMkexJR5kyzEDZE3fhmz5SxediQsTD2hFvfbSpyeyfNb8SmvVK7 boOrR1aFg7Cl5AoQCIEl4CwsgiPTX8hnTL19TFT6+/rmoYLWlLS4hZTUnfLw+zP7iy// Scuw== X-Gm-Message-State: AD7BkJKmyEBRodNPhXDPxVcyYXVk3GJxIAE2zuVpvkTAcgKkmS/OmXOJatDcHuaB2UzW3SnL X-Received: by 10.194.222.234 with SMTP id qp10mr97682wjc.138.1459518308507; Fri, 01 Apr 2016 06:45:08 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id u145sm2057305wmu.17.2016.04.01.06.45.07 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Apr 2016 06:45:07 -0700 (PDT) From: Thomas Monjalon To: Wenzhuo Lu Cc: dev@dpdk.org, konstantin.ananyev@intel.com Date: Fri, 01 Apr 2016 15:43:13 +0200 Message-ID: <2116713.aoN7M9nRpa@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1459476534-7624-1-git-send-email-wenzhuo.lu@intel.com> References: <1459476534-7624-1-git-send-email-wenzhuo.lu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] igb: fix i350 VF RX issue 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: Fri, 01 Apr 2016 13:45:08 -0000 2016-04-01 10:08, Wenzhuo Lu: > A problem is found on i350 VF. We found TX will happen once > per 4 packets. If only 1~3 packets are received, they will > not be forwarded. But the real problem is on RX side. The > reason is the default RX write-back threshold is changed to > 4, so every first 3 packets may be hung there. > > This patch checks the RX wthresh when setting up the RX > queue, and forces it to be 1, so every packet can be handled > immediately. > > Fixes: 4a41c17dba18 (igb: set default thresholds based on MAC type) > --- > drivers/net/e1000/igb_rxtx.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Missing Signed-off-by