From patchwork Tue Sep 4 11:00:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 145914 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3519337ljw; Tue, 4 Sep 2018 04:03:16 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZnIANrfHODAw8H+/F95E4w6O5opHtEKJI5gj41dvFn2hG4v/sMNo6zHVP7pMd30IKX6H92 X-Received: by 2002:a0c:d928:: with SMTP id p37-v6mr28155328qvj.237.1536058996601; Tue, 04 Sep 2018 04:03:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536058996; cv=none; d=google.com; s=arc-20160816; b=GOFqLbliPwsSeBG8S1iizMIqMFnTVGbPbp5/+fQ/iZ0asGzT8xnyPaNZ5hStleu6Bh fS05aNRLVQeV7i7m8eKGpN9CaRnuv63hWNKUpzx3VFoJAnn8BT0LhSLwqrWxvQ6l994Z 6AIFrYOmQ2hpk4xzS7yy/DOr0Pbr7FK4Xu1TAWJVBforVFK3LfYdDaZ/r71CkO2bL08J Xb+mtsnBk5PXnq4340rQCzEQqUNaV0joBLxmfFCS8DoIcestpxnGUGQZe3dmqb2B8xUm zV3mrBzUOKoMpaBY0AI4cLLtj2stqoL2i4UIf870aiPHwmpLANEZdDCbWP0xPZ8X7VFf 4JOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=eYnHuKXBoZ5QUI6vM0l9oM+zrxZUn9c0etkBU5Bo0Bk=; b=BjNPBQ2MvJlG2p82VvUmrL1asUoWiypWr/GqjHCHwnJyreGSectc1clz6fDBsY/lvx GPkIiOfczq5UUwtl585B2L2FBAd3wJNX6QApc0YQsn3fbl6W/GV1FxRM1FXiZMEPI324 bNeDungz1kFi/0haPKcyfthcnXxsc1J2mJIiprG82AxkFLQ/sBF1f4ZK56thJFuOtVwE IJf7nQ0HXP0UOKoW5fehVGUCj50UhS8wiKSezkgrC6ix7qKRuWvYIkj4klUmE6LD+h8G Tim6htLLyGzhEP6gCbEpA/VmorqbTE1VqnP+h7TsUi3sX3FciFmZulECt9eduD4cBrny CpEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id l68-v6si735557qkh.59.2018.09.04.04.03.16; Tue, 04 Sep 2018 04:03:16 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 46EE0685BD; Tue, 4 Sep 2018 11:03:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 02DB5685D5; Tue, 4 Sep 2018 11:00:54 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 0B536685EC; Tue, 4 Sep 2018 11:00:50 +0000 (UTC) Received: from forward103o.mail.yandex.net (forward103o.mail.yandex.net [37.140.190.177]) by lists.linaro.org (Postfix) with ESMTPS id 9D80161BF2 for ; Tue, 4 Sep 2018 11:00:21 +0000 (UTC) Received: from mxback3g.mail.yandex.net (mxback3g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:164]) by forward103o.mail.yandex.net (Yandex) with ESMTP id 396615884420 for ; Tue, 4 Sep 2018 14:00:20 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback3g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id i4fGFOIVkM-0KvGRGS1; Tue, 04 Sep 2018 14:00:20 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id PV82BiGNZe-0JqSf2Vm; Tue, 04 Sep 2018 14:00:19 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 4 Sep 2018 11:00:16 +0000 Message-Id: <1536058816-6995-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536058816-6995-1-git-send-email-odpbot@yandex.ru> References: <1536058816-6995-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 692 Subject: [lng-odp] [PATCH v2 3/3] linux-gen: fix pktio private size on 128-byte cache machines X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 692 (lumag:ppc64le-cache) ** https://github.com/Linaro/odp/pull/692 ** Patch: https://github.com/Linaro/odp/pull/692.patch ** Base sha: 0a5d67beda902557056d5b5146d8cbe86e5001b0 ** Merge commit sha: f8a74b1a2c166d0c4225802cfcce30538c375d69 **/ platform/linux-generic/include/odp_packet_io_internal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/linux-generic/include/odp_packet_io_internal.h b/platform/linux-generic/include/odp_packet_io_internal.h index 080850783..53db2c907 100644 --- a/platform/linux-generic/include/odp_packet_io_internal.h +++ b/platform/linux-generic/include/odp_packet_io_internal.h @@ -53,6 +53,8 @@ struct pktio_if_ops; #if defined(ODP_NETMAP) #define PKTIO_PRIVATE_SIZE 74752 +#elif defined(ODP_PKTIO_DPDK) && ODP_CACHE_LINE_SIZE == 128 +#define PKTIO_PRIVATE_SIZE 10240 #elif defined(ODP_PKTIO_DPDK) #define PKTIO_PRIVATE_SIZE 5632 #else