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 CAE59A0567; Wed, 10 Mar 2021 01:39:53 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B447322A2B5; Wed, 10 Mar 2021 01:39:53 +0100 (CET) Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by mails.dpdk.org (Postfix) with ESMTP id 3B3A040687 for ; Wed, 10 Mar 2021 01:39:53 +0100 (CET) Received: by mail-pj1-f43.google.com with SMTP id j6-20020a17090adc86b02900cbfe6f2c96so6504793pjv.1 for ; Tue, 09 Mar 2021 16:39:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=N+LZOWA6JVBFAYrStJCNi+N0SAD45OpKMqTaWy3P0Ac=; b=TS+AXQ5MkOZCUCq5jEgcqSMXzXuVN+ju+iAbUnsCO2W0DKsydi+aIFXoN5BLE3Jc6H BaJGpmViET2PHLC/hb7Qn+WeVoPEgQHFJDvneVhZJ10W3gzlHiKlc/oVdVcyb+2VpkcN YuVpNCkAJFUQpkWp+HTVdEvHNhE8/Ve6TEOPSa4wn34+l6rrUC1xmzD6sI9vXaMD21xm HGuXioKPM2wxzxhCQLUZbuyO5Ro3xUMwbvb707N4J8lSmDP7Ru0E2cRrbUFziyJsJWED 372sQbu3ybBHzjrd5X80riL459GVyqWzMKZ0db2rRwYx63eJf6Ur1IXP2ex5g9OqkiRm Z4tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=N+LZOWA6JVBFAYrStJCNi+N0SAD45OpKMqTaWy3P0Ac=; b=ucuO4u7Qga3Lu+eRAt25hXpgTABPl21+2vTiBX/q5VfR27UBTSj2Npo/ItW7at0W+l aCfnrxJrTbpFFKQjmDjSd87od96DzOM1WRXTfQpF1YDf+vEnzNG++dXU774Nc4oS/8jU VW2PuBiANitwSsBMHKYMzoiLZVnvrKMvjZBt709X89Gq4cT3y9ZXWWz0p1pNfI/0O7yB K04UTbbv0iRIHXC1Gjx1WQ424U4qB4zCUgOUBHfdpRpdo8tjBRwMrTFH1zBbgijWjVng baLF0h1M5p6hZXEjzJI0yR0ZsAo+aeJbp7vtxdA5hHgtL+POxrftPCqE9/q18m9AnElP 6gEg== X-Gm-Message-State: AOAM530/3nHw46ltJTq9Uhevt9WFePZk8aT5Vq3IWOuo7vQBVA3q2HAI dtlA7wBC9JxG0B0ewj5hsxdtRA== X-Google-Smtp-Source: ABdhPJwdSrYE1u17Gorbqlb1yIz0EWYdvXjRJoVTO+GUWTK25msVzAYqroTgszxBDW2J+nZ+XXIjKw== X-Received: by 2002:a17:90a:8c84:: with SMTP id b4mr587407pjo.21.1615336792404; Tue, 09 Mar 2021 16:39:52 -0800 (PST) Received: from hermes.local (76-14-218-44.or.wavecable.com. [76.14.218.44]) by smtp.gmail.com with ESMTPSA id z9sm8260460pgs.32.2021.03.09.16.39.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Mar 2021 16:39:52 -0800 (PST) Date: Tue, 9 Mar 2021 16:39:44 -0800 From: Stephen Hemminger To: Haifei Luo Cc: ferruh.yigit@intel.com, viacheslavo@nvidia.com, matan@nvidia.com, xiaoyun.li@intel.com, thomas@monjalon.net, orika@nvidia.com, dev@dpdk.org, rasland@nvidia.com, xuemingl@nvidia.com Message-ID: <20210309163944.57d5e2a4@hermes.local> In-Reply-To: <1615277716-64404-2-git-send-email-haifeil@nvidia.com> References: <1615277716-64404-1-git-send-email-haifeil@nvidia.com> <1615277716-64404-2-git-send-email-haifeil@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 1/4] ethdev: add rte API for single flow dump 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, 9 Mar 2021 10:15:13 +0200 Haifei Luo wrote: > +__rte_experimental > +int > +rte_flow_dump(uint16_t port_id, struct rte_flow *flow, > + FILE *file, struct rte_flow_error *error); > + The flow argument should be const since dumping does not change its state.