From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 8D2451B53 for ; Mon, 28 Aug 2017 15:03:22 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Aug 2017 06:03:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,441,1498546800"; d="scan'208";a="145311736" Received: from dpdk-test32.sh.intel.com (HELO [10.67.119.120]) ([10.67.119.120]) by fmsmga006.fm.intel.com with ESMTP; 28 Aug 2017 06:03:19 -0700 Message-ID: <59A48F44.2090808@intel.com> Date: Tue, 29 Aug 2017 05:46:44 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Fangfang Wei , dts@dpdk.org References: <1503893309-94670-1-git-send-email-fangfangx.wei@intel.com> In-Reply-To: <1503893309-94670-1-git-send-email-fangfangx.wei@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH V2] tests/sriov_kvm: fix can't receive packets failure X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 13:03:23 -0000 Thanks, fangfang. Applied in with some modification in commit log. Word "host" was replaced with "PF device" to make commit log more clear. On 08/28/2017 12:08 PM, Fangfang Wei wrote: > Fix DPDK-3276: reopen set port 0 vf rxmode BAM on failed > > When reopen set port 0 vf rxmode BAM on, vm can't receive packets, because > RX buffer is full on host when host receives too many packets if host only > run testpmd without "start" command. > > RX buffer will be cleaned just when start forward packets. > If we not run "start", rx buffer will be full, and can't receive new packets. > In this case, we don't want pf forwarding packets, so we set fwd rxonly, and > start forwarding on host. > > Signed-off-by: Fangfang Wei