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 04E1CA0545; Mon, 20 Jun 2022 16:05:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 92FCA4069C; Mon, 20 Jun 2022 16:05:32 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mails.dpdk.org (Postfix) with ESMTP id CAA1940151 for ; Mon, 20 Jun 2022 16:05:31 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 8AEAB3200961; Mon, 20 Jun 2022 10:05:29 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 20 Jun 2022 10:05:29 -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=1655733929; x= 1655820329; bh=cKwj+lJxeXnARFSw0tkVgv5NWh9xCaoD/ehCAcfuFns=; b=l u5hUqc36BTKJU4BzvwkQ+i1ae1rPbQ4gEG0tEBkeeLeXtEmu8MV0CiuXjZRX6ETo fbU8J+eDb7UgO4uE8C8lf3B15rw8Tmq8MNRoVrJgzEN9dtajPCrmav8CxQny+kuk pfVcmrI6KtdxremzYmXgkhsIJpB2fvrBDs8fwqcE9CnR4vfVpX9qQTwq3FdclEbS JUchkGGweUarHC0uf1U2/9kGhDdUKAriydx/cwDeTkGoeIZVLlXE51RENKn/QCsr aWPhfxXovYoPFuBv4YwaQsmXjiMVnCsgUNStsuBh/OgtBKGGgjH5hrjR84UOusx6 F1rzV05BYrJ4cDtJChuYw== 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=1655733929; x= 1655820329; bh=cKwj+lJxeXnARFSw0tkVgv5NWh9xCaoD/ehCAcfuFns=; b=S Pv3vuIjr+0KW6PJBna9tUAOjTFNyRw0rwStH7uoanRLU5MuUfeUVO39k4V73kbo/ mnHDtqzwtggXUC9dchxCA4KKmBE7WiRFsvMlL4sdQ3LCik9ZZVlY4VPZXJVZYcSB leAmxPlRFsVFgBf20i9dkYUyLAlRn9QsBzNLwjJYhSL8IVkgERa2Q5JsgrXBZz5z bbwMGjIrEEWB7vVBCkAqclC9uI4WPflS63dxxEsYgzdy+3KeC3B3un+HogSOov1+ TW4rTwrWJdTmc7693qVhwWoxNDBLSPNhKiCcsORTPckO8tYUwtkrye6+GJPMQPqJ ESUTrDK9kDjZIetXIKGUA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudefuddgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 20 Jun 2022 10:05:28 -0400 (EDT) From: Thomas Monjalon To: Cristian Dumitrescu Cc: dev@dpdk.org Subject: Re: [PATCH V2] pipeline: fix packet mirroring configuration Date: Mon, 20 Jun 2022 16:05:26 +0200 Message-ID: <3446330.1BCLMh4Saa@thomas> In-Reply-To: <20220613172834.85915-1-cristian.dumitrescu@intel.com> References: <20220613172320.85777-1-cristian.dumitrescu@intel.com> <20220613172834.85915-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 13/06/2022 19:28, Cristian Dumitrescu: > Fix segmentation fault due to null pointer dereferencing inside the > "mirror" instruction when number of mirroring slots is set to 0. This > was taking place when the "mirror" instruction was used without the > mirror feature being properly configured, i.e. the API function > rte_swx_pipeline_mirroring_config was not called at initialization. > > Fixes: dac0ecd9098 (" pipeline: support packet mirroring") > > Signed-off-by: Cristian Dumitrescu Applied, thanks.