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 443134C99 for ; Mon, 22 Oct 2018 15:15:34 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D32952211B; Mon, 22 Oct 2018 09:15:33 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 22 Oct 2018 09:15:33 -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=szA1qw6RY7 nOhanA6bFcX73ahtZa/a9C1J95n7qUpBk=; b=G2g04mWmCzBci8vQlE9mbZhhTC NSIdO/a+IsSpM3UFvVU4gTd7F6owaY5VimT7uYBEFU7CFGUBExnHlny9SSt59JcX tlUbT+oQhq2jzJSzCCw1HQkjQXG2KQUF+90gPt/VgTw7W7M//8QjLP/Zx4mRFEJp pd6ao1E7/97cQOs44= 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=szA1qw6RY7nOhanA6bFcX73ahtZa/a9C1J95n7qUpBk=; b=d/3Q3Icn KtIx+IfF6Rm6WKylNWy9t9meK09NuvfBRnlZGgq2IIruUMKPJo4abqslv0PIMxvP wYOVuHEjee1bxB3kgS1e0ot4LGtmJIkWdFkKclegr1OLKFTpdm9Bwhl6FkYHVcgn qRu9GpUKHg9H9oddb9ZA2ZpMMqi/NYGGGPcTpICcH8vvMXBLXFssBgEs5EXOBeJM TzfCkjHSmH5lJpVodc0DF+P3cI4wcbV3FDLKzbDaGnbWOPIvHugLOx6yNyxEOCv2 ShkwGxuCeXzm/9wvbP17qGgeyaVeWP7UBfozvHaZaBq2OdLOV9P+B8kMGBrSklVx 2CY3iLqyAfx9TQ== 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 9D1D0E49CB; Mon, 22 Oct 2018 09:15:30 -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: Mon, 22 Oct 2018 15:15:26 +0200 Message-Id: <20181022131530.6403-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 v3 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: Mon, 22 Oct 2018 13:15:34 -0000 The new ethdev iterator lacks the support of filtering by representor port id or by MAC address. Changes in v3: - improve comment for representor_id 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 | 4 ++ lib/librte_kvargs/rte_kvargs.c | 14 ++++ lib/meson.build | 5 +- test/test/test_kvargs.c | 21 ++++++ 15 files changed, 222 insertions(+), 90 deletions(-) -- 2.19.0