From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] igb: fix i350 VF RX issue Date: Wed, 06 Apr 2016 12:33:08 +0200 Message-ID: <3181629.kkhiPurygg@xps13> References: <1459476534-7624-1-git-send-email-wenzhuo.lu@intel.com> <1459818600-27241-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 To: Wenzhuo Lu Return-path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id DCC872617 for ; Wed, 6 Apr 2016 12:34:46 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id n3so56760812wmn.0 for ; Wed, 06 Apr 2016 03:34:46 -0700 (PDT) In-Reply-To: <1459818600-27241-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" > 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. > > v2: > - Add missed signoff. > > Fixes: 4a41c17dba18 (igb: set default thresholds based on MAC type) > Signed-off-by: Wenzhuo Lu > Acked-by: Konstantin Ananyev Applied, thanks