From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A61F5A04DD; Fri, 23 Oct 2020 21:15:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 31BB75A5A; Fri, 23 Oct 2020 21:15:03 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 696905A59 for ; Fri, 23 Oct 2020 21:15:01 +0200 (CEST) IronPort-SDR: sCSIKCa+O6QGqEJJHAoM2f2Oq/10VVeHREhozR5YdJWBDRHDCmaYI2bZOcwa6rfB7oyJNl8UgD PG5HIN4bEfeA== X-IronPort-AV: E=McAfee;i="6000,8403,9783"; a="252418606" X-IronPort-AV: E=Sophos;i="5.77,409,1596524400"; d="scan'208";a="252418606" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2020 12:14:59 -0700 IronPort-SDR: k0q7zCUTgHwJo4vqAFzFcq5fjYG+V6PjLK5l0KI6lRG0sfIb08eYTyD9iOKod5Fv21ZNm4rhAk EYU+ExsOR/wg== X-IronPort-AV: E=Sophos;i="5.77,409,1596524400"; d="scan'208";a="534511881" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.224.253]) ([10.213.224.253]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2020 12:14:58 -0700 To: Long Li , Stephen Hemminger Cc: dev@dpdk.org, Long Li References: <1603326367-20395-1-git-send-email-longli@linuxonhyperv.com> From: Ferruh Yigit Message-ID: <6caf568a-15a0-44d5-b16e-ebbb6fe5ed73@intel.com> Date: Fri, 23 Oct 2020 20:14:54 +0100 MIME-Version: 1.0 In-Reply-To: <1603326367-20395-1-git-send-email-longli@linuxonhyperv.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] net/netvsc: use memzone to allocate contiguous physical mem for rndis X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 10/22/2020 1:26 AM, Long Li wrote: > From: Long Li > > When sending data, netvsc assumes the tx_rndis buffer is contiguous and > calculates physical addresses based on this assumption. > > Use memzone to allocate tx_rndis so it's guaranteed that this buffer is > physically contiguous. > > Cc:stable@dpdk.org > Signed-off-by: Long Li Applied to dpdk-next-net/main, thanks.