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 CE02DA0543; Mon, 13 Jun 2022 21:48:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7ECE340223; Mon, 13 Jun 2022 21:48:34 +0200 (CEST) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mails.dpdk.org (Postfix) with ESMTP id C115D40222 for ; Mon, 13 Jun 2022 21:48:32 +0200 (CEST) Received: by mail-pf1-f177.google.com with SMTP id x4so6632957pfj.10 for ; Mon, 13 Jun 2022 12:48:32 -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=V02rTeRgXuBxXvlANUzAfFrT2shwlo6Kc1lcdBK5LG8=; b=P4EsUUa76bg8+c4TkGyDWoDa3YZzIgq3dhBa0apUzZcfOTqMxsi7Z0QZ/mKevOPFYa 7F+fbjACSDreOWXV3DnhqerKbtoRq3GVfdDz87HTnvraZu+nM++pMnxKYFXLpJQRVZuK j+TtwAHx0POdr/O4VU0fIc7sUSiUwXbFhOP34+9bn54HMKYaUzwmVsaf1ki7X0Gy7Eyg LxSIroiBdid4ESv8QovaXHD3k27eL0dbDODRyRwiYD/4Lz1XVKJQnVMuon5Eu+Jxb7cr wZDto2YwOEPcSwatBWG3SVQ68/BsDL1Yi8cRIfI9oVAO5WjwOaxn9LKHAkdwUkfLXDfs mNtg== 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=V02rTeRgXuBxXvlANUzAfFrT2shwlo6Kc1lcdBK5LG8=; b=I+StABWX1XSBnQLA31JLNXiOWgj5mk4fCoxpT8xHaLygJVMByovYOG8pl3ms7Q5F7Y /7G5mx9NpsTqMG8tXFpPf6HvxWjHPVJav2uFZcIWRyJMUSxg/Jl5cikDrte/VK5kXEuy Gjie4mXPB5RlAGoL2zCfO7DSn4XIC6nHWDaEwfzhrUicn9WYLlzeEuvZj4CNkLWHQZIa UVPX+X93RveVCvFRwNICEfHuoOTh8PmNa1rwZRKLrsDafRhjMmEaCUx9qglF8JypdWkt t34GYKK2XFq9Btsla81VBi9AXZ6OGH5ffHVgRsCAQr9L78Zm3GbAF6Hqea7357IukQ5L Zw+A== X-Gm-Message-State: AOAM5334oIYX5C+HcoPDL0E7a/r7aJIlB0v+kGOTp78rwZXdBjyTu0Oh SKr9YUrE7uesIBs/dRgrhSa/Vw== X-Google-Smtp-Source: ABdhPJyb9iRMsw4uo2OJUvbYT5ICOuR3BnQGCdFJuc4NuMbaCAdtbkUwTVdlVE0goZVpRnClSGEXyw== X-Received: by 2002:a63:130f:0:b0:401:ce98:24eb with SMTP id i15-20020a63130f000000b00401ce9824ebmr1070516pgl.217.1655149711812; Mon, 13 Jun 2022 12:48:31 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id q1-20020a639801000000b003fdfb59bd85sm5899550pgd.12.2022.06.13.12.48.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jun 2022 12:48:31 -0700 (PDT) Date: Mon, 13 Jun 2022 12:48:28 -0700 From: Stephen Hemminger To: Nicolas Chautru Cc: dev@dpdk.org, thomas@monjalon.net, maxime.coquelin@redhat.com, trix@redhat.com, mdr@ashroe.eu, bruce.richardson@intel.com, hemant.agrawal@nxp.com, david.marchand@redhat.com Subject: Re: [PATCH v1] bbdev: allow operation type enum for growth Message-ID: <20220613124828.63705c72@hermes.local> In-Reply-To: <1655144675-14363-2-git-send-email-nicolas.chautru@intel.com> References: <1655144675-14363-1-git-send-email-nicolas.chautru@intel.com> <1655144675-14363-2-git-send-email-nicolas.chautru@intel.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 Mon, 13 Jun 2022 11:24:35 -0700 Nicolas Chautru wrote: > Updating the last enum for rte_bbdev_op_type > to allow for enum insertion. > > Signed-off-by: Nicolas Chautru Only allowed if you check now for the any of the reserved types and fail.