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 E71F3A0C4E; Tue, 2 Nov 2021 18:04:40 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D5E484069F; Tue, 2 Nov 2021 18:04:40 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 0FB2840689 for ; Tue, 2 Nov 2021 18:04:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635872678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GhiLwd9ry4YN26FJGe8V7BOx3onobA7238tqm9W2kSU=; b=Zjx6IvYePhH1eej1K2xGuuQpIHeFZLTZcWN+jfCuO5NmPN/88ev/Nd1hfcBsK3wvvt7/Q6 w62sm3/Mt8ndffMzLIokCxODAxFG4DtxIsttmBeyBnZnmGzUATXD91hEzR59O06P2nky6F NCcpdn81NIusbchCOz+WzEtXB5BgAsY= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-122-wpPUPjkZNw2KQlMOR6C1HQ-1; Tue, 02 Nov 2021 13:04:37 -0400 X-MC-Unique: wpPUPjkZNw2KQlMOR6C1HQ-1 Received: by mail-lf1-f71.google.com with SMTP id z1-20020a056512308100b003ff78e6402bso4788lfd.4 for ; Tue, 02 Nov 2021 10:04:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GhiLwd9ry4YN26FJGe8V7BOx3onobA7238tqm9W2kSU=; b=D2VMMn17aFIDC6Gl1NTOU9XqZNbDO4mpwPHlPFAiBBTKG3sXHBM0931EtfgwmyyQwO YGTQ7CQuVQmPrHkK+NB6Y1eME2RjutlolkH8ea9J/QqKHMYZsCNi2Mk3Jsfn7luP4+nI M7iCked1yCWsQDt2rQzAe24+kQzVhutSicBBXMl5gUNPef09SoKY9S5ImygKkic3UAoA FyL0R1Lw6ikep3qB6WA0a3IWclGCXX9jIWzCAU6EerJJf8GjqB8Q+YhfFu/+gbeuImJI Pm9iPvHJAvoQe86LkohCrUpqx3hN0b8dpgmMDduv863fitTNkYFi+Na/I+8RJK4Usl6A IFCA== X-Gm-Message-State: AOAM5326YTtYc/dMjZ5sYlzq0aI7pHZGYdVPT/1hCUm3QkPXjvF/Lc7o rllnnvMjGG4yBElrJ3dJ8tWfmyW+9JR3EO5YuqDhU/9bYw7XK5GYVKRgkpzNIfhwFREfae8pPt2 QYJOm1t9lu5/G2qYdy3s= X-Received: by 2002:a05:6512:3f28:: with SMTP id y40mr35950646lfa.499.1635872675431; Tue, 02 Nov 2021 10:04:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbwfprOWLqXNN7jBI06VBud0dde5cTMq5RZALaN18puwkZv2GqXiyK8kY+3ncaSTGiZB0S0n7v18cZ85WdXi4= X-Received: by 2002:a05:6512:3f28:: with SMTP id y40mr35950601lfa.499.1635872675119; Tue, 02 Nov 2021 10:04:35 -0700 (PDT) MIME-Version: 1.0 References: <20211027090003.14556-1-ivan.malov@oktetlabs.ru> <32956056-8804-046c-da59-119a6c378dd3@oktetlabs.ru> <2115605.bGoMZ7lrYc@thomas> <4cf45c3f-47df-b6c9-7f9e-2ce996878e45@oktetlabs.ru> In-Reply-To: <4cf45c3f-47df-b6c9-7f9e-2ce996878e45@oktetlabs.ru> From: David Marchand Date: Tue, 2 Nov 2021 18:04:23 +0100 Message-ID: To: Andrew Rybchenko Cc: Thomas Monjalon , Ivan Malov , dev , Ferruh Yigit , Ori Kam Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] ethdev: fine tune error reporting in pick transfer proxy API 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, Nov 2, 2021 at 4:59 PM Andrew Rybchenko wrote: > >> IMHO, spamming of testpmd logs in described case should be fixed > >> in testpmd itself to avoid logs in the case of ENOTSUP. That's it. > > > > I think we should not call this API in testpmd > > if not doing rte_flow transfer rule. > > > > Since testpmd does not pursue top flow insertion rate etc, > I tend to agree. For debugging purposes (testpmd main goal) > the best way is to pick proxy just before usage without any > caching etc. +1. -- David Marchand