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 E70E2A0C4B; Fri, 15 Oct 2021 10:28:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D015740692; Fri, 15 Oct 2021 10:28:40 +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 8A40B40041 for ; Fri, 15 Oct 2021 10:28:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634286519; 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=agjpT7RRwMX7o5zORw0s3czs2OyFXpmK+RJBb9FXkuo=; b=EeNUPhGhxgI2VEGN263eNEm18UsDrdkyEal0Sr1SMmEM2e0VS12thpUXKhTpzzcnUpNlVQ kuiTWoBQg1xFVqhwhN0/C07rrvo6ge2dzD1AWg+xt/BGDkX82iic3d9D2jGeGjkNI4qiie W88z5marxh2phclGqGBpbJgXitL4uyc= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-126-S3Z1tMM5P4WyLlWzyfd0eQ-1; Fri, 15 Oct 2021 04:28:37 -0400 X-MC-Unique: S3Z1tMM5P4WyLlWzyfd0eQ-1 Received: by mail-lf1-f69.google.com with SMTP id b29-20020a0565120b9d00b003fdc9b2546dso1113389lfv.14 for ; Fri, 15 Oct 2021 01:28:37 -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=agjpT7RRwMX7o5zORw0s3czs2OyFXpmK+RJBb9FXkuo=; b=z4nnfqpN6kpqVakEM7FhIfasjgrLFLPgkYu0MhnorNlpzt+PWbKejc7tO1NMUS/ja2 5nS1M8504gAelMxE615h0ycNCaCsF568g0RZVMubmvqeQHDqYpu+JZ9Y/Q6TLVFuEgc4 uJP2r5z1mcmlNf/qce7fRJhxLNX0idaE9QTLIDDm7tVyvcfKHH65TO/QXiv9lKDDr3tq +yH6qi0lj9koJqfWQZATUX7C9dy79H/RYPXDzSzLAoRR2Y5nCLtc0u4FRy7yyqK7bi86 Ho7HamhEbqLUzICINxd9rURO0I+uuJ+H3P/5lixL065HhJYjVHQHf/kRUqlTsv+NwJk1 pHLA== X-Gm-Message-State: AOAM532K065ADWv2gqlNgarzF75mIFo9OQ/So8l3bwR4GY2dA5P636ek UVV+cMy9ErSAl5fZx9z4WyfqD3BkGqwojt/bSSpz9LjjvbWPtagwxqfcbf4CYtKHh8Vgiwq9cJm zQFzTBCwuMi7FCZgwkh8= X-Received: by 2002:a2e:b6cc:: with SMTP id m12mr10836581ljo.297.1634286516356; Fri, 15 Oct 2021 01:28:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGfv4TEGnuVuO9SZG1mXhdkEpQPXtQWoJv4awBuYdrqmlp06aUE8LhlqgIyToUPSLCdnspi+wTMr2fITO1a8Q= X-Received: by 2002:a2e:b6cc:: with SMTP id m12mr10836558ljo.297.1634286516140; Fri, 15 Oct 2021 01:28:36 -0700 (PDT) MIME-Version: 1.0 References: <20211012193957.21972-1-david.marchand@redhat.com> <20211012131456.1cae3b35@hermes.local> <6503ad46-fca3-f3c8-6023-2eab27f8e7b8@oktetlabs.ru> In-Reply-To: <6503ad46-fca3-f3c8-6023-2eab27f8e7b8@oktetlabs.ru> From: David Marchand Date: Fri, 15 Oct 2021 10:28:24 +0200 Message-ID: To: David Marchand Cc: Andrew Rybchenko , Stephen Hemminger , dev , Ray Kinsella , Thomas Monjalon , Olivier Matz , Konstantin Ananyev 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] mbuf: enforce no option for dynamic fields and flags 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 Wed, Oct 13, 2021 at 9:06 AM Andrew Rybchenko wrote: > On 10/12/21 11:14 PM, Stephen Hemminger wrote: > > On Tue, 12 Oct 2021 21:39:57 +0200 > > David Marchand wrote: > > > >> As stated in the API, dynamic field and flags should be created with no > >> additional flag (simply in the API for future changes). > >> > >> Fix the dynamic flag register helper which was not enforcing it and add > >> unit tests. > >> > >> Fixes: 4958ca3a443a ("mbuf: support dynamic fields and flags") > >> > >> Signed-off-by: David Marchand > > Acked-by: Stephen Hemminger > Acked-by: Andrew Rybchenko Acked-by: Ray Kinsella Applied, thanks. -- David Marchand