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=-10.1 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 00894C43464 for ; Fri, 18 Sep 2020 17:29:57 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 912A621707 for ; Fri, 18 Sep 2020 17:29:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 912A621707 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 A75C61DB0A; Fri, 18 Sep 2020 19:29:55 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 616A41DB06; Fri, 18 Sep 2020 19:29:53 +0200 (CEST) IronPort-SDR: CvYnOne8uJh+qmUrRyh26+9hNWewagOMcf9v5xVAohQZ5ubbK/SFg9uEiETlbt5q2yKfbeby8N tJxwKETXy4Wg== X-IronPort-AV: E=McAfee;i="6000,8403,9748"; a="157390098" X-IronPort-AV: E=Sophos;i="5.77,274,1596524400"; d="scan'208";a="157390098" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2020 10:29:52 -0700 IronPort-SDR: yMu4CLPZ1HyVvx64QeWm059yexFgx91nIqsifaB4Y13LxzxcTjE7yxdsg/KO4tXieeFf/64hIg +UCyQ3xJxSFQ== X-IronPort-AV: E=Sophos;i="5.77,274,1596524400"; d="scan'208";a="484288666" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.227.248]) ([10.213.227.248]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2020 10:29:51 -0700 To: Ciara Loftus , dev@dpdk.org Cc: stable@dpdk.org References: <20200910090647.23789-1-ciara.loftus@intel.com> From: Ferruh Yigit Message-ID: Date: Fri, 18 Sep 2020 18:29:47 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.2.2 MIME-Version: 1.0 In-Reply-To: <20200910090647.23789-1-ciara.loftus@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] net/af_xdp: fix umem size 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 9/10/2020 10:06 AM, Ciara Loftus wrote: > The kernel expects the start address of the UMEM to be page size aligned. > Since the mempool is not guaranteed to have such alignment, we have been > aligning the address to the start of the page the mempool is on. However > when passing the 'size' of the UMEM during it's creation we did not take > this into account. This commit adds the amount by which the address was > aligned to the size of the UMEM. > > Bugzilla ID: 532 > Fixes: d8a210774e1d ("net/af_xdp: support unaligned umem chunks") > Cc: stable@dpdk.org > > Signed-off-by: Ciara Loftus Applied to dpdk-next-net/main, thanks.