From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] igb: fix i350 VF RX issue Date: Fri, 01 Apr 2016 15:43:13 +0200 Message-ID: <2116713.aoN7M9nRpa@xps13> References: <1459476534-7624-1-git-send-email-wenzhuo.lu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, konstantin.ananyev@intel.com To: Wenzhuo Lu 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) In-Reply-To: <1459476534-7624-1-git-send-email-wenzhuo.lu@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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