From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1FEEDA0487 for ; Thu, 4 Jul 2019 22:48:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3D6C44C93; Thu, 4 Jul 2019 22:48:18 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id D18352BE5 for ; Thu, 4 Jul 2019 22:48:16 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6364821AC2; Thu, 4 Jul 2019 16:48:16 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 04 Jul 2019 16:48:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=ZzWzJcVIDj8l/uWdbNrR4WpWpaoMQYhNcwprG3//GkM=; b=bCI7EbUf8nT5 Ur+MnzWz5nXOAnl1c8O+ErYeg8piY4nCfLUijsZdi/WqVOtZjQBM+zf3flf7x8kj ScNPReXhfOTWn6MT9rnjYD0AP5YK229XMf5vY+UDKHLD0+GEWYsfCADE5z0t9odD 0wDWVpPAUVSZGMUo24eP2+FsSj3u/D0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=ZzWzJcVIDj8l/uWdbNrR4WpWpaoMQYhNcwprG3//G kM=; b=MP4WD9rtuPJePkAM/jB+iQne8TBRL5IrhFhy69MfGRGwr0JoupyInGVR+ YeqXuRAiS+83+tb4RhW5kb7HV2FJsFc8W8gB59Qu1Sl4cY/ZIoiy4EFhzqO2K5fr vZ0+vHTe1abjsqJkoy9MEGxsPoRDso7SDhDPx1IpMiEmAuGChCEPGhWGBegrz0aN cgOwigsTAfuUYe8PjdynPN0PGFMxIJwsjCmjqcGZX96+f8w37pAnVXrZ30B1Ejqw FnSKYNYjym0X3e1c2J8mvX/5g2/ARI4oT/j1uHS7EByZYaYuJU98jm6/tH1AB2Y7 /awRONQj1dY8Rvylrn30huayWd1ew== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrfedvgdduheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 3751680066; Thu, 4 Jul 2019 16:48:15 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: Stephen Hemminger , anatoly.burakov@intel.com, Stephen Hemminger , matan@mellanox.com Date: Thu, 04 Jul 2019 22:48:14 +0200 Message-ID: <17754579.Q260olj75T@xps> In-Reply-To: <20190603222835.27909-1-stephen@networkplumber.org> References: <20190529224321.20760-1-stephen@networkplumber.org> <20190603222835.27909-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] examples/client_server_mp: check port ownership X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" We need a review here. 04/06/2019 00:28, Stephen Hemminger: > From: Stephen Hemminger > > The mp_server would accept a port mask that included hidden (owned) > ports and which later caused either lost packets or failed initialization. > > This fixes explicitly checks for ownership when parsing the port mask. > > Fixes: 5b7ba31148a8 ("ethdev: add port ownership") > Signed-off-by: Stephen Hemminger