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 4036941B88; Tue, 31 Jan 2023 04:02:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2652D410E6; Tue, 31 Jan 2023 04:02:23 +0100 (CET) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mails.dpdk.org (Postfix) with ESMTP id 94FDA40EF0 for ; Tue, 31 Jan 2023 04:02:21 +0100 (CET) Received: by mail-pj1-f41.google.com with SMTP id 88so12951388pjo.3 for ; Mon, 30 Jan 2023 19:02:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=7M1P732CtRH+vLTRCBkRca2dv5E3kaBGLx8tvdClcN0=; b=LoXlSpxu0RpWDBqUVPqZRFR+6tI2i1ik84uMtyUu5IeDMVsSg/yKt+Nh/G7uqBubhL 5f/u2BUsSoJcyokt/jn5gQhgr4oIMTrDnCfhM37/dnAb2WpBhwqg9uZ3HNunahcWvTOh l9tzT9ebpat3srICYlzMxH2BdZVL+TA3TDpPld9/T+aVLugFEA07KaMqt4P3j1XzVQz/ eozFBgcZfJ/UA57VgzTz1RGKcP7RUuF4c8i52Ceu/sNwQEzM14pESSS6dnhwOpkGd5Qx woW/akBIFfED4cisj+8qkSfsRGrSjM839AyzdrD9WfjFF4rknuppGO6o9wsZ0/KV4mwQ gTCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7M1P732CtRH+vLTRCBkRca2dv5E3kaBGLx8tvdClcN0=; b=fbcN0FWeiK8fmYE3YZyK1Idmo4e+JFRex0wMoJKomXt9NP+Dqkh+TfPWfNvcl+kx7R i49j8BlgdjKi8Ed9g5L99FcxsI9hWpUWcagZUjuV8LcydJqimJ010Rdrzq0qoKPHkn5S f5tsdzOzvBUKpg3wZGpp6XCb9jocWFOB+hXU7q9zh2NDkduZsjbiGmlo8oehWQbb/oQ2 Ttm3g5N6PlRhhPUnGTB127gmnPPrvUEBKUuPbtvu7bPRUQ2/L6LnHK92NmcgY5V+Y9sH Yh0EUZnw8QQr4mfKMdVnwbE6ytFnLvqWTAmXuXI4TzBMy7HMS6wsXOPP0DcFWNYV2BWp uZcA== X-Gm-Message-State: AO0yUKWeOJWjYZvE3suZo4VT/H5qXuQyNxLMMYyXYw40pCsBpab2GlHa c9Zsdve5bKRbX9VZVbC1uRLe3Q== X-Google-Smtp-Source: AK7set+KJ04iz76L1eiQqCYBS8OR36e5xVtkUMKoe/CabNkIdtgaxbLDWjCt34I/f0fmV69igW7f7g== X-Received: by 2002:a17:90b:4b46:b0:226:3a7c:f248 with SMTP id mi6-20020a17090b4b4600b002263a7cf248mr11825181pjb.24.1675134140688; Mon, 30 Jan 2023 19:02:20 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id r63-20020a17090a43c500b0022bacef5fbdsm9791853pjg.52.2023.01.30.19.02.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 19:02:20 -0800 (PST) Date: Mon, 30 Jan 2023 19:02:18 -0800 From: Stephen Hemminger To: Rongwei Liu Cc: , , , , Aman Singh , Yuying Zhang , Ferruh Yigit , "Andrew Rybchenko" , Olivier Matz , , Subject: Re: [PATCH v3 1/8] ethdev: add IPv6 routing extension header definition Message-ID: <20230130190218.0f6b1b5c@hermes.local> In-Reply-To: <20230130035941.1495874-2-rongweil@nvidia.com> References: <5da6632a-0976-dc1f-facb-f778c8aad8e6@oktetlabs.ru> <20230130035941.1495874-1-rongweil@nvidia.com> <20230130035941.1495874-2-rongweil@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 Mon, 30 Jan 2023 05:59:33 +0200 Rongwei Liu wrote: > +/** > + * @warning > + * @b EXPERIMENTAL: this structure may change without prior notice > + * > + * RTE_FLOW_ITEM_TYPE_IPV6_ROUTING_EXT. > + * > + * Matches an IPv6 routing extension header. > + */ > +struct rte_flow_item_ipv6_routing_ext { > + struct rte_ipv6_routing_ext hdr; > +}; The problem with nesting a variable length structure inside another structure is not allowed. The issue is that the applicaiton would have to pass a variable length structure in for the flow definition. The flow item is variable length for this type? all the others are fixed length. One option would be to get rid of the wrapper structure.