Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1DC58C55178 for ; Fri, 23 Oct 2020 19:15:06 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 7AB4E20E65 for ; Fri, 23 Oct 2020 19:15:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7AB4E20E65 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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.