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 B01C9A0352; Mon, 7 Feb 2022 18:23:35 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 98F99410F6; Mon, 7 Feb 2022 18:23:35 +0100 (CET) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mails.dpdk.org (Postfix) with ESMTP id 3FC38410F3 for ; Mon, 7 Feb 2022 18:23:34 +0100 (CET) Received: by mail-pj1-f54.google.com with SMTP id y9so5911758pjf.1 for ; Mon, 07 Feb 2022 09:23:34 -0800 (PST) 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=FliSIbctsG4aKEqqgoGgIFKidf1cDt/Zrc0ESyFOg3c=; b=jJZ25hwqjghvEnYa0bi2BjMVor5RhMPz4B7Xh9DfbOE/kZ/5vGXR/ro5nPe0Ulra2t +/75qGN9k3sSibnpxSdxgyWOGKFlzEF06lvqO1s25ojmBAU6G2wmj3hjw4rXWiYrKvh3 jn20uI9PUXoq2lrUc1xBEdcBLXKIGqfdPRIhJ9YOH1woI5UEWiNxFmpkbZkA4JW2SYnF XTVEACXnjxcp4yAUoPBlthYXUkyYEMUf/nxNz3lV7+XuV/0+sDBKVVdkm7W2dMobjXoI JBA+LExFhveYvbm0n/R08BfhOm9rOcaOkGH1HJRPFmE/O8xdLVq3rlcLvY17IUo6t6tU wcIw== 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=FliSIbctsG4aKEqqgoGgIFKidf1cDt/Zrc0ESyFOg3c=; b=o5ra6uczlRFRYZgHL2tgFO9mId/OGvU2JVPg0dOI1C5WodWVyfag/dxjryvDJEUC7z qGg7asG4+4izKoY7JztOBDoSmeYeHsVyhM/GEF3bJRaMV5D/zCapy251X0wFnnqpMoKj /VSFfgDBDUP75f+PcCADVTwh39/hQedRYXlOol/j8x3ZTEFF4ZZF2ZS7jy6Vwjcc7OAT QvbWR8+/kfplgflwOG+NyYn4ofssw50YgS1DwVHEfM9/cfV9s6UCMYIKTAx/ODsEdRos +teGRY7MuX5kKdl1dXrpgKUPOKw32Q7z84nP1DHGYjMXFKYtZ+zX6McVMjGkBL2zMYKf xQmQ== X-Gm-Message-State: AOAM532QJcuRBt4GxzEVezx44RJs3lWX6oRC8hzTsbGR4tE/DYeIeazj YTmxVa3VKSDW891/0kIIrbJGJw== X-Google-Smtp-Source: ABdhPJxspuy6JRy1K8HMfSN8zyzJ1macvcdbnNzof2wpfZdT/dZ/H2wcGMYENF/gIqTmxy6fkirKNw== X-Received: by 2002:a17:90b:4d12:: with SMTP id mw18mr19427574pjb.71.1644254613408; Mon, 07 Feb 2022 09:23:33 -0800 (PST) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id j18sm13388178pfj.13.2022.02.07.09.23.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Feb 2022 09:23:32 -0800 (PST) Date: Mon, 7 Feb 2022 09:23:30 -0800 From: Stephen Hemminger To: Akhil Goyal Cc: , , , , , , , , , , , , Subject: Re: [PATCH v4 2/3] ethdev: add mbuf dynfield for incomplete IP reassembly Message-ID: <20220207092330.49a0ba8a@hermes.local> In-Reply-To: <20220204221334.3551574-3-gakhil@marvell.com> References: <20220130175935.1947730-1-gakhil@marvell.com> <20220204221334.3551574-1-gakhil@marvell.com> <20220204221334.3551574-3-gakhil@marvell.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 Sat, 5 Feb 2022 03:43:33 +0530 Akhil Goyal wrote: > +/** > + * @internal > + * Register mbuf dynamic field and flag for IP reassembly incomplete case. > + */ > +__rte_internal > +int > +rte_eth_ip_reass_dynfield_register(int *field_offset, int *flag); Maybe use RTE_INIT() constructor for this?