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 4247EA00C4; Tue, 26 Jul 2022 17:16:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E1AF540E0F; Tue, 26 Jul 2022 17:16:48 +0200 (CEST) Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mails.dpdk.org (Postfix) with ESMTP id 85EEA40697 for ; Tue, 26 Jul 2022 17:16:47 +0200 (CEST) Received: by mail-pf1-f179.google.com with SMTP id y141so13467866pfb.7 for ; Tue, 26 Jul 2022 08:16:47 -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=D/1q+Df0T2y0MKT7Bcags461HD2oLW3/+d9eEs3LqGI=; b=n3VQmfh7cn0RjNCyYyVjHSjOIzD2PcTlrWajaurry9ch0O+S+DHIVQCxuilyJmJ44V /BEMRd/gJFxjElmRfLaKnYun8nRqhRMg7NWVuz9e4QywC7liO2i1TXzlqF2uhRhrQ9Sz XcOMwAU74U6ne3k3GXaZ/bMJvVs/zhNAztYvud02apCj2tzt9hGUYKtJNR6QnvOAoBGo +kBUh1Vs/RL/DM0LY9Oa9C2tdOEuRMbvQkT+XbY4oVgEMq+QF2FqsCa4JBVkHNxz0t6P JNZPLsOOKnsCZaFhOzP9d3Tra1+Iwrkvs3Rouez23PKTagN377ni9+X4l1CuKehA8Zr6 OudA== 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=D/1q+Df0T2y0MKT7Bcags461HD2oLW3/+d9eEs3LqGI=; b=okPR1YD7TTjC2fU+Y8n2FhFXA2T9Yl3fsoJ8InjEAZvRRtSLviZNfLwc9H7mWeLemY D42AgXHcP40T42BNizopYxZ5Ti6pwsf364rAnjz7DWMlahu2s17P/22NiAE4LB1EA7Sl ++EO/taeFmSZosvcGpbY8XpEeT65dQYF2KN9SFOVLZBE/t0dXUAmVsplDe5QFQ1cl71R aj0f3qFAhb0IeF+yBHFo5WJ/dL/0V7cAL0Gjoi+/cN49/1rb1WS9lJ9d32fkd3rvgxzJ htgjAQAhD2haJo877ADUA7vTfAS+7pgVmpV1hM8DR+fFMRfJqK5WCAsdwuVDKIS9o5YU Xdrw== X-Gm-Message-State: AJIora8Dq82kYzs+XU4I2e89NV0zqqCpSH0aZ4hdj1oyDVo/CXM8G1bX OVU1ZYKdmNEb2KfJ8EPEwJYM7HX3cs2Oqw== X-Google-Smtp-Source: AGRyM1t+ZSuWVDdD3E7zoWaocjKciTzrWlGZ0TATgaOk8uLsEuC7dBAtJvO7il7C4tw46TlLp33Chg== X-Received: by 2002:a63:8142:0:b0:419:a843:1720 with SMTP id t63-20020a638142000000b00419a8431720mr15351442pgd.317.1658848606408; Tue, 26 Jul 2022 08:16:46 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id b7-20020a170902d50700b0016c304612a0sm1726286plg.292.2022.07.26.08.16.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jul 2022 08:16:45 -0700 (PDT) Date: Tue, 26 Jul 2022 08:16:41 -0700 From: Stephen Hemminger To: Gerry Gribbon Cc: , Ori Kam Subject: Re: [RFC] regexdev: add maximum number of mbuf segments field Message-ID: <20220726081641.0a83cc77@hermes.local> In-Reply-To: <20220726104707.639878-1-ggribbon@nvidia.com> References: <20220726104707.639878-1-ggribbon@nvidia.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 Tue, 26 Jul 2022 10:47:07 +0000 Gerry Gribbon wrote: > diff --git a/lib/regexdev/rte_regexdev.h b/lib/regexdev/rte_regexdev.h > index 3bce8090f6..7d2e1ee1d0 100644 > --- a/lib/regexdev/rte_regexdev.h > +++ b/lib/regexdev/rte_regexdev.h > @@ -622,6 +622,8 @@ struct rte_regexdev_info { > /**< Supported compiler rule flags. > * @see RTE_REGEX_PCRE_RULE_*, struct rte_regexdev_rule::rule_flags > */ > + uint16_t max_num_mbuf_segs; > + /**< Maximum number of mbuf segments that can be chained together. */ > }; > > /** Did you notice that that struct is sparse and there is already an existing hole that could be reused. This is going to be an API/ABI breakage already so reusing the hole will be ok. Also, please update the release notes for this.