From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 21557A00C3; Tue, 14 Dec 2021 11:30:06 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A0C0340041; Tue, 14 Dec 2021 11:30:05 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 91DDC4003C for ; Tue, 14 Dec 2021 11:30:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639477804; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+JwHY4fn5ijRHbtNtVK7F4WhTX9XkINXpR27+9VAKxk=; b=c6RYfB7NjbM1N1hEgBDSLpzwGJSWZstp0KqGwcoFpiX1fb6pnCKPUJmZpmk8zPkbV4nPgY 1wO6+5VSQdpwPLBFQhdxB/mUWxtUab4AKFRfNqxzb7LHxA2hz0RYryXhGpDpKwjGwmLCB0 NP90geKqu9qQVJzdfRc5QnoznPDM608= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-505-g8IyWP_OND-9wf5Vddi9-Q-1; Tue, 14 Dec 2021 05:30:02 -0500 X-MC-Unique: g8IyWP_OND-9wf5Vddi9-Q-1 Received: by mail-wr1-f69.google.com with SMTP id y4-20020adfd084000000b00186b16950f3so4520280wrh.14 for ; Tue, 14 Dec 2021 02:30:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:cc:references:from:subject:in-reply-to :content-transfer-encoding; bh=+JwHY4fn5ijRHbtNtVK7F4WhTX9XkINXpR27+9VAKxk=; b=iICmW/7JiOPczhpyAcLNJuAWudnrxCcWqAxnR1JMFDNMICDF0LbjDYkuLjQFuieqkU ATa69cwdLAeLrW+OkCa855/+yZL9MbFTAiRXqjd6Rl4FHqSgjytvy17kGK9i3U3qZpJq Bcz60xijZYUsUV35SWLIPaY79xEns5eAO5+j3AmkaaLzBfi0Ae+PTCGMEEo1jvRvWUZp JM7LHqW2Z9I7lSA+PY693bgzCZh9FXnPa7fXlLoubpeq8xbJkF05xc876TrjrWy846pf vzUsyQW3rv/XFCRbZvslV6JeKbeuOF15t8R0GgW6pgYNPT2FWqSkb8XXH5EUtpOX7zVY vuFw== X-Gm-Message-State: AOAM532zIrJ7E60nHssUrZjcXIK8DgkW7nSWXHphHleUS+bySyLyM+eQ nko+2uXNzrQDcXoqmXPA8Q3c/T1sXzMsh6Z+G9CBuixrZftl10dtFM+wfgg6jIvPezlF/9MzzlV n/qE= X-Received: by 2002:a05:600c:4e45:: with SMTP id e5mr44867426wmq.43.1639477801802; Tue, 14 Dec 2021 02:30:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwBP1N9Yng1EdyvyCYDjOensl1SbqCARDvIDLulMxYHj/Yv4DnBafKlHxPvAjaVb+Zl37P0yw== X-Received: by 2002:a05:600c:4e45:: with SMTP id e5mr44867401wmq.43.1639477801572; Tue, 14 Dec 2021 02:30:01 -0800 (PST) Received: from [192.168.0.36] ([78.19.108.41]) by smtp.gmail.com with ESMTPSA id l5sm17169399wrs.59.2021.12.14.02.30.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Dec 2021 02:30:01 -0800 (PST) Message-ID: <7be191c7-298b-ebdf-2aeb-1080ff1eaae8@redhat.com> Date: Tue, 14 Dec 2021 10:30:00 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 To: pbhagavatula@marvell.com, jerinj@marvell.com, Jan Viktorin , Ruifeng Wang , Bruce Richardson Cc: dev@dpdk.org References: <20211213110615.4458-1-pbhagavatula@marvell.com> From: Kevin Traynor Subject: Re: [PATCH] config/cn10k: align mempool elements to 128 bytes In-Reply-To: <20211213110615.4458-1-pbhagavatula@marvell.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ktraynor@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 13/12/2021 11:06, pbhagavatula@marvell.com wrote: > From: Pavan Nikhilesh > > Mempool elements are by default aligned to CACHELINE_SIZE. > In CN10K cacheline size is 64B but the RoC requires buffers to be > aligned to 128B. It would be good to say what the implication is in the commit message. > Set RTE_MEMPOOL_ALIGN to 128 to force mempool buffers to be aligned > 128 bytes. > Fixes: 1b4c86a721c9 ("config/arm: add Marvell CN10K") This is for backport? If so please add stable@ tag > Signed-off-by: Pavan Nikhilesh > --- > config/arm/meson.build | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/config/arm/meson.build b/config/arm/meson.build > index 213324d262..33afe1a9ad 100644 > --- a/config/arm/meson.build > +++ b/config/arm/meson.build > @@ -276,7 +276,8 @@ soc_cn10k = { > 'implementer' : '0x41', > 'flags': [ > ['RTE_MAX_LCORE', 24], > - ['RTE_MAX_NUMA_NODES', 1] > + ['RTE_MAX_NUMA_NODES', 1], > + ['RTE_MEMPOOL_ALIGN', 128] > ], > 'part_number': '0xd49', > 'extra_march_features': ['crypto'], >