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 57518A0C47; Thu, 14 Oct 2021 21:37:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 156F240041; Thu, 14 Oct 2021 21:37:51 +0200 (CEST) Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by mails.dpdk.org (Postfix) with ESMTP id 58ECD4003C for ; Thu, 14 Oct 2021 21:37:49 +0200 (CEST) Received: by mail-pj1-f49.google.com with SMTP id nn3-20020a17090b38c300b001a03bb6c4ebso5554287pjb.1 for ; Thu, 14 Oct 2021 12:37:49 -0700 (PDT) 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=c+cFL+dxLo11dZrBCXPQTQSMSmV5NpR/ur/VqSkkA/U=; b=idwjxpEsmlQa7I0I2uRyAx9g12FfsyDGggkYX4uiy9ixtqzwm7BQe368rzscAcEneJ Mkjnjmji86CJ5qubfp3iPrQiW3IGFA0IqBFlv1Y7mBKH63akZGa/W4X+QS4HAsIoP/y3 EF2oWFroD0nAWUy0dyTVK4UlQfwNSa1tXXZcqVaZDISkdDSmnvbJTox4Q3+kQln8gJec oOtKc+JG8jazZ8Q51qQLewVAKoj+k103edOpCbhzOsiEwHTrR+Ql04DBKAaxwLzBZjd1 IziqOxKbwc6NiOcwxpJuFi7WHTAn5nk9muG5b3h+5+8RWz6pYiVcBy5PXA9UNbnLxQVC mYag== 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=c+cFL+dxLo11dZrBCXPQTQSMSmV5NpR/ur/VqSkkA/U=; b=deEX7s9t5Hkxjqzf0BK+0twaLNM34RS5eLyKsih8dcQB3JiFice9HX5RLnd/m0KzE8 ZTO525QwY2W6shVD0xx+jPET1x0PgQERirgtnWeju3OuVCnkxSMMJlznZ1tdpMKlKaRM YB43MK70fYkUYVNZdAOZXOIG6s4SNhTyvFJCNubsZjiwEnvBwUlvifGWDEw2YDN9XISZ XPCY4ej59rhgMiOhhWaL26w3amVoGXwI2nU1a/UeQ2zQeD66BNNXdBzbF8e4WrHcCXn1 MGHKIWu4dxEX3EFtfugNjcmi13cvpYC4JqTLGAUE3qz/zaJ78SMhPZ6A2nc45hvFBGKn yObQ== X-Gm-Message-State: AOAM533HLEblO5PY4n3YZsjq3/6LVDcGzI0+S5Je2CkgQCGWOixOph+o mJaXM1y0saUeMu8551E1XrQBbwkhmTVigw== X-Google-Smtp-Source: ABdhPJz47w9HbiDzdV64g+Sfw1S3PQ7JS3f1e57pwhLQc+IGGxsYUwpuhSRf23VQHaWp+5XdsG+yiA== X-Received: by 2002:a17:90b:2248:: with SMTP id hk8mr8265546pjb.102.1634240268440; Thu, 14 Oct 2021 12:37:48 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id m22sm3231454pfo.176.2021.10.14.12.37.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 12:37:48 -0700 (PDT) Date: Thu, 14 Oct 2021 12:37:42 -0700 From: Stephen Hemminger To: David Marchand Cc: dev@dpdk.org, dkozlyuk@oss.nvidia.com, thomas@monjalon.net, Andrew Rybchenko , Ray Kinsella , Olivier Matz Message-ID: <20211014123742.44574572@hermes.local> In-Reply-To: <20211014192916.15046-1-david.marchand@redhat.com> References: <20211012072848.17741-1-david.marchand@redhat.com> <20211014192916.15046-1-david.marchand@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 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 > --- > Changes since v1: > - fixed checkpatch warning, > - moved flags to validate them in the same order than parameters, Acked-by: Stephen Hemminger