From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=p20IUb5kf9Cj5uaLj48lg42YqdERYtOcZt5efzz2m8k=; b=XHuYpkSh7+jkJSEegsGY+iz8cveRRz2+Ox3Cjea+PSFmzf3WYpj+WkLrECLSKrD7B1 1I9LGpldp65X4kXhds1L9ha4ZO6IgjExHc6lxllPAY2+jq2SYYHaGXgbkOw1MNceKSjL zhiImA73ECblVh55g7KR/aFqlXUT5R6S4uouSWgvsw7W5oYEyTuvncx5R2CJ/+LvtV7g kks72bOwxLMIQThNstGiq9P7rSLvTIX9B67LLLmZ0siEyWyawdfJvEcGEFpZWvnS9aZO U8FXXS0iSwftVYE45cAY9ub/55GGNm1rmK7wcB37nRW8TsLhb9M7IkU07bV1Po4RcKZd pi9w== 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=p20IUb5kf9Cj5uaLj48lg42YqdERYtOcZt5efzz2m8k=; b=RREhu2SLXdBwHmLbnAxqWfx/QkHNnqdn1gkXaySH6MFJqpn+DgkbQFqnXTNvfUPXbZ 16i27ZNCT+7tOJ/qiC0dVMhZZlZRgGbSjfW9TeQQLULNOkDXMoeg03CVIOzyV00juVE5 PsH5lO35LS6657Acn3dcANMdoYH5EK0S9KoOJ19Bo8WAsUzH60A1ucRPuPHoQnSbDhxu atcn2NC+2oa53Ix6PgxMD19Nay7po8Gm6nB50bwf7i0uJJb5EH7amKJHEhj/zd5IFkLM 6+qE31nPR9ee3WJKg8VxkhKnKsOT+VhgdfSprZjN2Bh51v9l57eI1qEQ+psEjTsnynEl iSwA== X-Gm-Message-State: AD7BkJLj+f123Bt02AhEKrtww4k3q1rnfDkRxN3Kr5mj19w/A9o6Hdjie5fCfS4O27xe9hu0 X-Received: by 10.194.236.170 with SMTP id uv10mr30742028wjc.32.1459938886770; Wed, 06 Apr 2016 03:34:46 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id b1sm2572468wjy.0.2016.04.06.03.34.45 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 06 Apr 2016 03:34:46 -0700 (PDT) From: Thomas Monjalon To: Wenzhuo Lu Cc: dev@dpdk.org Date: Wed, 06 Apr 2016 12:33:08 +0200 Message-ID: <3181629.kkhiPurygg@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1459818600-27241-1-git-send-email-wenzhuo.lu@intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] 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: Wed, 06 Apr 2016 10:34:47 -0000 > 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