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 1111AA0C4C; Tue, 12 Oct 2021 22:15:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EEEE541124; Tue, 12 Oct 2021 22:15:01 +0200 (CEST) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by mails.dpdk.org (Postfix) with ESMTP id D27B8410F2 for ; Tue, 12 Oct 2021 22:14:59 +0200 (CEST) Received: by mail-pj1-f45.google.com with SMTP id oa12-20020a17090b1bcc00b0019f715462a8so522106pjb.3 for ; Tue, 12 Oct 2021 13:14:59 -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=W7p7cpyuY9uCVNQizRCTg20v5gekROzuzjM5HlEwEm4=; b=21ezX2tkBFwwkM73+p3o/GJKlMugeicokLTpTcqYqrap9Igsnl9O6d0CAEzKQfJatZ EfglyYUcQp3XHRkMysabO5ha9OUj1PkqkO3L3NsroqH9iSlhZx7m1rESHw5NCipg/9/r Aiin3Fe6WtLwJAQNjXOPmF19QkG5aQt+7TGdiwf/Q7KK8tw0FGQsLoXqs+7Uad9IQZSg c6Keb9ZIpbnvMC4lMibXiMh46G+oQEzlBZWasB4HoQu243y8ojSHNxPmB7Vy9GS6hgUy mdb9Rm9tToMhjH6vJSxanFOW4RvmnClr1xgJ5piNhUgY/rHdYRCZ1+zh1JyTISNRVAuY Y9jA== 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=W7p7cpyuY9uCVNQizRCTg20v5gekROzuzjM5HlEwEm4=; b=RNa87h/kr/ZXGiEbWaC9q+DAK8FsilNBv2Xt+Ady97jF3TvnEl9UU3OLgeVoy9j4iL mULRqFpSlOuaIR1FSePABRgdgsJlP1HiQkbeXcchus3uvfUL0zt62YpkHPlWv4QW4Lku TMfdOBgQDq8LCuJwHRScOx5tFx6ySFH6nsFPEiy5Sq6rc161y72pioi+dZP2gbe5btBh 0dfJa9azAPPl6x04BUBek3Krc4I+8yCbGBXTpDLqpbWx/Fg9tj7mfvbauzHh5+FfO988 VFl5g3S96Js/38bcL7TU8Hlfyt0OAnBZv2BpYN2Up1FQ60pTsSJDJrZnxDvHFoIQsDYe uXNA== X-Gm-Message-State: AOAM530v02PWVBeOiaRy10fyNBisDZsrLKQhMbwBpViVH6zmWhv1CDj0 HZfUwBNxH/xMCAEsMkHRCX2qHQ== X-Google-Smtp-Source: ABdhPJxrbPQTX2YNIOiZdHT4iaoaoUWVVzJEg+GBgU3y/WDPG+VeZSlhabLgjGA3vrCzA202YI4YBA== X-Received: by 2002:a17:90a:d24d:: with SMTP id o13mr8520086pjw.59.1634069699069; Tue, 12 Oct 2021 13:14:59 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id t3sm12324800pgo.51.2021.10.12.13.14.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Oct 2021 13:14:58 -0700 (PDT) Date: Tue, 12 Oct 2021 13:14:56 -0700 From: Stephen Hemminger To: David Marchand Cc: dev@dpdk.org, mdr@ashroe.eu, thomas@monjalon.net, Olivier Matz , Konstantin Ananyev Message-ID: <20211012131456.1cae3b35@hermes.local> In-Reply-To: <20211012193957.21972-1-david.marchand@redhat.com> References: <20211012193957.21972-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] 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 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