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 E5120A0543; Thu, 22 Sep 2022 16:58:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 89A5540156; Thu, 22 Sep 2022 16:58:10 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 6D8D3400D7 for ; Thu, 22 Sep 2022 16:58:09 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C672D5C012D; Thu, 22 Sep 2022 10:58:08 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 22 Sep 2022 10:58:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1663858688; x= 1663945088; bh=eNLqg0Vn7J7aYv1UToLcc6YEX75Z5hhdgmjtgRKEYkI=; b=E pB1uBmbDCLYeM+Bj7bxwNEEe5w2nI73YNHYVj1qmvzK8mjajNCQwvkNlyTtST73O yif1YbMuxFQMQZBUBy7mI34ahYllGYb8fGeThiRaQWeXiR2h/gnkNEFcyvkNYWQH E/vnAiCMjhssPA3hWFNhmUYvZIvlIQor9tEOwFEByWebbvbV1KjnU0zws7ttt89t 2iOi7ire/mw325UzNxMciBqoLBNxIJ20Jl55QkyAWwVZNP//i2su1Fj/lXqd971x RQucRcjQc8u8Fa0HSMe0pka1mVymaOM766kk98IwmZBT209AZS2UK1ry5KOOviC2 NVJC6P8SKz/FH3hntkGUQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1663858688; x= 1663945088; bh=eNLqg0Vn7J7aYv1UToLcc6YEX75Z5hhdgmjtgRKEYkI=; b=X zG1lIRbPgLMDqQD7av+sRUKbw8Xle4hp7B6Edg9hnvXb4mqVAOJr1FrdgkCNZbFO xnOKWL+xqlIsmd6QKEW+yN2MVehxJstqYdYo5L5zIN00skSLMsN9C9WVqi9lHUv/ bvqb99EhzJWPUlDEXIwUTyebDoAQSEfBs/Jo7SearFrSV2T12IDp+CWTyYAZ8JlN jGXAgLjguAqEf62MDxfuS3oH3EaQHut2GsHrW2JzBafxcn+as8IyyBYDFSsjN5e3 cSbO+de4/GfI2h+vTEMfdaWbBPoiiY39AuaRgBe34unz4CBgRuO0qXDiKXeocZbV YH8mfcGcoGHBJDoI1NHwA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeefgedgvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 22 Sep 2022 10:58:08 -0400 (EDT) From: Thomas Monjalon To: Cristian Dumitrescu Cc: dev@dpdk.org Subject: Re: [PATCH 00/10] port: implement output port non-blocking behavior Date: Thu, 22 Sep 2022 16:58:05 +0200 Message-ID: <2164992.72vocr9iq0@thomas> In-Reply-To: <20220805220029.1096212-1-cristian.dumitrescu@intel.com> References: <20220805220029.1096212-1-cristian.dumitrescu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 06/08/2022 00:00, Cristian Dumitrescu: > In case of blocking behavior, the output port retries sending the > packets that could not be sent successfully. The retry can take place > potentially forever in case the Ethernet device or the ring consumer > are down, which leads to deadlock. > > In case of the non-blocking behavior introduced by this series, the > packets that could not be sent successfully are dropped and the > associated drop statistics counters are incremented. > > Depends-on: series-24205 ("net/softnic: replace the legacy pipeline with SWX pipeline") > > Cristian Dumitrescu (10): > port: add output port packet drop statistics couters > port: adjust the sink port counters > port: rework the Ethernet device output port behavior to non-blocking > port: free buffered packets on Ethernet device output port free > port: prevent unnecessary flush for the Ethernet device output port > port: rework the ring output port behavior to non-blocking > port: free buffered packets on ring output port free > port: prevent unnecessary flush for the ring output port > examples/pipeline: print the output port packet drop counters > net/softnic: print the output port packet drop counters Applied, thanks.