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 E9FFFA0093; Wed, 9 Mar 2022 02:25:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 66DD940687; Wed, 9 Mar 2022 02:25:22 +0100 (CET) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mails.dpdk.org (Postfix) with ESMTP id E8CB140395 for ; Wed, 9 Mar 2022 02:25:20 +0100 (CET) Received: by mail-pl1-f172.google.com with SMTP id q13so629901plk.12 for ; Tue, 08 Mar 2022 17:25:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5+q//pXuB6JNrbwqSQnHGmeWZ7EsG/P62vLXy7Xz4u0=; b=Hno1s+Ib+3lzNOgDdTDFps1VPMzy+g9D7oX1TU7N2yY9MB54F5RQ2xGqoUnKVO4nN+ s9CHBYzG9jxWj0q/mLr+GqHhe/pqexiLG+8TLlh/Yo0jqWC9TV0Y1ttwpHuwlYqIQONu ynGYg/6F1LqfEirjmjW558s52LNWQKHm2emARFW+NouLUVyHJ8N5h49eLIHkseG6ymEW vuXwLPyVwQ2z0OSfixxU+8Z7DeCa7JA+frpxUK0XZkDABHxCp46IwBfKa4nDV0w8+ywP cPSHQsrvGXL23OA/pUFRhA7PmA1K3S2v1WGvzuoI3XbfT8DOGg8CQt+ikxRffwmSjled N7zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5+q//pXuB6JNrbwqSQnHGmeWZ7EsG/P62vLXy7Xz4u0=; b=0JvsSm9uOnFgSNNziGDfYIokvKeOb4jebj3sm2TCD1K4PTzPoenAvMPOi05M4zqzdR bAMxtyL1grC7YSIzN3hoJg0adYvkv3UtdoKnq9vswu5jIos7YaRQj/ieDYIpSAZdflxJ BhlZ5USKe2pqJY9eFYoj9qWtzE30TUEvTyOFaBhp1OxVyyA4TFplw9RdLOjPr56CcM1F O1YooQpaqqE5CbhlXl75IyfT0uBJMSYiPrv8n0l2ek5iKbBO74pk7riL9L1g5J1k9rv8 u5cx5qG2GRI1At/Wji5dnRNvMRceu456RaRj7F2CkQBHXH+nie1rZyLTF2wwEG3ahZ0K 6ZoQ== X-Gm-Message-State: AOAM533lAxtMhm9Koppv2sgeM07XbzcrpAwHxIy8yLWKzLKkuSCSWv95 64yNJRoy47LmSocUDIgFIUSw3w== X-Google-Smtp-Source: ABdhPJzoPTTwKGm/b/oXp1ZV/GUzIAdMcDAV5nx5hpmF4+6O1KPc7iQcV8j2Ns9/ExgNP71XHYJA0w== X-Received: by 2002:a17:902:d890:b0:151:6b8b:db0a with SMTP id b16-20020a170902d89000b001516b8bdb0amr20494841plz.15.1646789120044; Tue, 08 Mar 2022 17:25:20 -0800 (PST) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id b2-20020a056a000a8200b004e1414f0bb1sm340715pfl.135.2022.03.08.17.25.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 17:25:19 -0800 (PST) Date: Tue, 8 Mar 2022 17:25:17 -0800 From: Stephen Hemminger To: Gaoxiang Liu Cc: chas3@att.com, humin29@huawei.com, dev@dpdk.org, liugaoxiang@huawei.com Subject: Re: [PATCH v4] net/bonding: another fix to LACP mempool size Message-ID: <20220308172517.66ac5a8d@hermes.local> In-Reply-To: <20220308142402.2455-1-gaoxiangliu0@163.com> References: <20220305070922.308-1-gaoxiangliu0@163.com> <20220308142402.2455-1-gaoxiangliu0@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 Tue, 8 Mar 2022 22:24:02 +0800 Gaoxiang Liu wrote: > diff --git a/lib/mempool/rte_mempool.h b/lib/mempool/rte_mempool.h > index 1e7a3c1527..fa15ed710f 100644 > --- a/lib/mempool/rte_mempool.h > +++ b/lib/mempool/rte_mempool.h > @@ -56,6 +56,8 @@ > extern "C" { > #endif > > +#define RTE_MEMPOOL_CACHE_FLUSHTHRESH_MULTIPLIER 1.5 Why is a magic number from bonding ending up in the user API for mempool?