From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 4CADD1B5BB for ; Wed, 10 Oct 2018 21:23:35 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id DDC4E21C24; Wed, 10 Oct 2018 15:23:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 10 Oct 2018 15:23:34 -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; s=mesmtp; bh=Y+Pdf+23Rt w3KpEPsRnSVZZsNQtkzS7PlB4DM9SO2iQ=; b=O1i05jDQDOC4za/560vzbB8ofY Pvd9qA+OMOhxvCa8jkI+nqv1BlDXV0M9WDs4H1Rhmfmwfnt6QZGruSVIB4Kowb6X VbURfAYtGzrWT78PF9zHslAptkg9Q7qJCnc4p7OZhXmNILHTINGAGJAi1X8+y86s MFAsyWogYXuHoQShU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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= fm1; bh=Y+Pdf+23Rtw3KpEPsRnSVZZsNQtkzS7PlB4DM9SO2iQ=; b=wd8zQh/F yJmfryfzDW2Mnx9cbyxXhMvOVtqGqWyyQ+K8UtxZiylp59JgCbZJHUo1E2Oq5qKl mzNNBMPLdQXSxOrLDxxxda3Ae3yMpvTp4YFfGvttFge+KcUqM66eNUpISyP63D5m i5zJyu9D3OWJSqRHo4/iZFPx5V2F9R9k5qUw8pmI4ZvO8LkqbRkkRk6/y9RGfgRb 4JfNagQ+4xcXF6si7I5cOOGw3QVfGAlfdxgnFRoXdC+m/MfkTAEmOe09IDQeDwNP EwcefOAr5oD078lFo6xm//wMNAo0gXqF99jL8LEJxhEpAFJsdhMH46n9NY5Dmr1s PM1eBGEJRDhkSQ== X-ME-Sender: X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 1B1A5E4898; Wed, 10 Oct 2018 15:23:33 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: gaetan.rivet@6wind.com, ophirmu@mellanox.com, ferruh.yigit@intel.com, arybchenko@solarflare.com, olivier.matz@6wind.com, remy.horton@intel.com, bruce.richardson@intel.com Date: Wed, 10 Oct 2018 21:23:26 +0200 Message-Id: <20181010192330.21105-1-thomas@monjalon.net> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181009021858.19216-1-thomas@monjalon.net> References: <20181009021858.19216-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/4] support more ethdev iterator filters 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: , X-List-Received-Date: Wed, 10 Oct 2018 19:23:35 -0000 The new ethdev iterator lacks the support of filtering by representor port id or by MAC address. Changes in v2: - fix list parsing in kvargs - support mac= parameter Thomas Monjalon (4): kvargs: support list value ethdev: move representor parsing functions ethdev: support representor id as iterator filter ethdev: support MAC address as iterator filter drivers/net/i40e/i40e_vf_representor.c | 1 + drivers/net/ixgbe/ixgbe_vf_representor.c | 1 + drivers/net/mlx5/mlx5.c | 4 +- lib/Makefile | 1 + lib/librte_cmdline/meson.build | 4 ++ lib/librte_ethdev/Makefile | 2 +- lib/librte_ethdev/ethdev_private.c | 82 +++++++++++++++++++++++ lib/librte_ethdev/ethdev_private.h | 6 ++ lib/librte_ethdev/meson.build | 2 +- lib/librte_ethdev/rte_class_eth.c | 80 ++++++++++++++++++++++ lib/librte_ethdev/rte_ethdev.c | 85 ------------------------ lib/librte_ethdev/rte_ethdev_core.h | 2 + lib/librte_kvargs/rte_kvargs.c | 14 ++++ lib/meson.build | 5 +- test/test/test_kvargs.c | 21 ++++++ 15 files changed, 220 insertions(+), 90 deletions(-) -- 2.19.0