From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 495D67CFC for ; Thu, 4 Jan 2018 17:01:40 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id C252D20C7A; Thu, 4 Jan 2018 11:01:37 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 04 Jan 2018 11:01:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=mesmtp; bh=OInNxxnvZTd1ja 5krJQtXwo6KNQz3OgbfX+zCo05Xco=; b=SluDVEr6xUhBobLWYxXG6Dng7QPY5C SVZ+yL/9NHGpIR0Avits36YiKhvQu2Vsm6OZ0aU90tmFbS2T3LHVjoa+1aWCoZmS CkUoy5Ef1a0Dw7FWxz0680u/LODyFmQjhwL0iBMpAFEBWAnqcNgLmWsyMkFfQ6CV YreoZRuQfD6EI= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=OInNxxnvZTd1ja5krJQtXwo6KNQz3OgbfX+zCo05Xco=; b=MaTrEgcF UTz/1gXj5s5XUvzqi61M/wk42jVpGE5EFoaoqcGFbQRPQyJh0+juQaoyNlYOOByw HJn0feXOu0N3I+4weE59Kq3zv32pyluPy9+gh15bdqgNuoA3K2Tm76DhsILKYxNC Y2g65GolM2rAEVKKN+D+wsyfv5XF1GfuWRCo08SggXEbK76LXo8F5vdbR/ecYE6Z jRSNf4F/TFTrc4/QJV54UN5RWU+NDcZensboI9n3NhCmt4j3B7vXWDLjCf46518s SOUo2n1fjP0K8IvaXkKjdx9thmw5f7xJLO5sfpXt0M3/FSsD2oY25UuKCj2EgLDZ bjKMZgEdYJ/FFg== X-ME-Sender: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 29F8B7E2C9; Thu, 4 Jan 2018 11:01:37 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: ferruh.yigit@intel.com Date: Thu, 4 Jan 2018 17:01:07 +0100 Message-Id: <20180104160112.28651-1-thomas@monjalon.net> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171128221302.15400-1-thomas@monjalon.net> References: <20171128221302.15400-1-thomas@monjalon.net> Subject: [dpdk-dev] [PATCH v4 0/5] ethdev port notifications 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: Thu, 04 Jan 2018 16:01:40 -0000 This patchset aims to add notifications for ethdev ports added or removed. It will be especially useful for hotplug. v2 & v3 changes: gather more patches in the series v4 change: fix a variable wraparound as in Matan's v1 Matan Azrad (3): ethdev: allow event registration for all ports ethdev: free detached port by the dedicated function app/testpmd: extend event printing Thomas Monjalon (2): ethdev: remove useless parameter in callback process ethdev: add notifications for probing and removal app/test-pmd/parameters.c | 4 + app/test-pmd/testpmd.c | 30 ++++---- doc/guides/prog_guide/poll_mode_drv.rst | 4 +- doc/guides/testpmd_app_ug/run_app.rst | 4 +- drivers/net/bnxt/rte_pmd_bnxt.c | 2 +- drivers/net/bonding/rte_eth_bond_pmd.c | 6 +- drivers/net/dpaa2/dpaa2_ethdev.c | 2 +- drivers/net/e1000/em_ethdev.c | 2 +- drivers/net/e1000/igb_ethdev.c | 4 +- drivers/net/enic/enic_main.c | 2 +- drivers/net/failsafe/failsafe_ether.c | 2 +- drivers/net/fm10k/fm10k_ethdev.c | 8 +- drivers/net/i40e/i40e_ethdev.c | 2 +- drivers/net/i40e/i40e_ethdev_vf.c | 2 +- drivers/net/i40e/i40e_pf.c | 3 +- drivers/net/ixgbe/ixgbe_ethdev.c | 6 +- drivers/net/ixgbe/ixgbe_pf.c | 4 +- drivers/net/mlx4/mlx4_intr.c | 4 +- drivers/net/mlx5/mlx5_ethdev.c | 9 +-- drivers/net/nfp/nfp_net.c | 2 +- drivers/net/sfc/sfc_intr.c | 4 +- drivers/net/thunderx/nicvf_ethdev.c | 2 +- drivers/net/vhost/rte_eth_vhost.c | 9 +-- drivers/net/virtio/virtio_ethdev.c | 2 +- drivers/net/vmxnet3/vmxnet3_ethdev.c | 2 +- lib/librte_ether/rte_ethdev.c | 132 +++++++++++++++++++++----------- lib/librte_ether/rte_ethdev.h | 14 ++-- test/test/virtual_pmd.c | 2 +- 28 files changed, 159 insertions(+), 110 deletions(-) -- 2.15.1