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 9E344A0C4B; Fri, 15 Oct 2021 10:26:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 38CFF40692; Fri, 15 Oct 2021 10:26:29 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 2409540041 for ; Fri, 15 Oct 2021 10:26:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634286386; 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: in-reply-to:in-reply-to:references:references; bh=SSdn+KnnOAwYfe0R5D2c01DcuzkaNBy5ooh8UQO0OHc=; b=UG2sXdbsMLVoMuLx7kzP1bDkA0rwSK79PrfmdlT+XVSIsG4TviJHy7voXRPUl2g8WgqeHC wWFeF0QZzeIOZiMLBK8XcZkZpQJ3zOpZwGzL582DPPG5fgBIA0DrZf0jPxmpNP0rIPEZu+ 2kW8/mc2kECiuSDrcAwItSPckae4iX8= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-268-fwlp2v2tMg2e5MESv-AdDA-1; Fri, 15 Oct 2021 04:26:25 -0400 X-MC-Unique: fwlp2v2tMg2e5MESv-AdDA-1 Received: by mail-lf1-f71.google.com with SMTP id k18-20020a05651210d200b003fd86616d39so1265175lfg.2 for ; Fri, 15 Oct 2021 01:26:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SSdn+KnnOAwYfe0R5D2c01DcuzkaNBy5ooh8UQO0OHc=; b=PSIXCLBe7HcoqCiMue7MRkVoqzs6sLlfZ35ntc4E0w1vOfniMgXggNtmiKEY5gHuKL wq9nrYaknT0Y6ZpwDT9uzZ9Hu9tCeDJU0S9T6P4V/RULrgWzHC8og70WDFOwYoS6xzh5 AFo7bSDCJ2B/WlBVJBrqLsyRRbm6TXpaz/ItLOnTq8NM59DZW2eVyGBirO/0mLQXcNar Vd8Cmunuu7nDJfdvSWr8re2h0OlPE+b6cxEJ2coAgbK/Tr4p3HDUZZl1GqgmM/pFHHnC jeRJkit0o9kyAtXJsqWXzPVgdzqnj1TGBrxlz27wjddMzta6lNEARjqj4igQXDQUofD6 BdpQ== X-Gm-Message-State: AOAM531qxn3vRKNlOXVDJ7JjT5XiPRXiMdfU9FQpgOXAwhR+T02BUiqz SX0glZhhSa89TeB5uqL3KY10YdrdPT82S+eOkygUMt1wA0KoewZUSPGpCQdjK0Ja48U3u8hI0MJ 9PE0Hs2wsUetdEyMTiA4= X-Received: by 2002:a05:6512:3f28:: with SMTP id y40mr10315379lfa.499.1634286383765; Fri, 15 Oct 2021 01:26:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtoMBx+S7RC+IIobb+1Pqesb4vAEM5yB9CbpzNF6g55qZrd9QkTGG740xNajF/PyIiW4VD6M+RP7w3xOJpMNU= X-Received: by 2002:a05:6512:3f28:: with SMTP id y40mr10315369lfa.499.1634286383583; Fri, 15 Oct 2021 01:26:23 -0700 (PDT) MIME-Version: 1.0 References: <20211012072848.17741-1-david.marchand@redhat.com> <20211014192916.15046-1-david.marchand@redhat.com> <20211014123742.44574572@hermes.local> <02df5a01-f698-e6d1-4c5c-1ffb4f9f7ef8@oktetlabs.ru> In-Reply-To: <02df5a01-f698-e6d1-4c5c-1ffb4f9f7ef8@oktetlabs.ru> From: David Marchand Date: Fri, 15 Oct 2021 10:26:12 +0200 Message-ID: To: David Marchand Cc: Andrew Rybchenko , Stephen Hemminger , dev , Dmitry Kozlyuk , Thomas Monjalon , Ray Kinsella , Olivier Matz Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2] mempool: enforce valid flags at creation 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 Sender: "dev" On Fri, Oct 15, 2021 at 9:02 AM Andrew Rybchenko wrote: > On 10/14/21 10:37 PM, Stephen Hemminger wrote: > > On Thu, 14 Oct 2021 21:29:16 +0200 > > David Marchand wrote: > > > >> If we do not enforce valid flags are passed by an application, this > >> application might face issues in the future when we add more flags. > >> > >> Signed-off-by: David Marchand > >> Reviewed-by: Andrew Rybchenko > >> Acked-by: Ray Kinsella > > Acked-by: Stephen Hemminger > Acked-by: Andrew Rybchenko Applied, thanks. -- David Marchand