From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH v4 0/5] ethdev port notifications Date: Thu, 4 Jan 2018 17:01:07 +0100 Message-ID: <20180104160112.28651-1-thomas@monjalon.net> References: <20171128221302.15400-1-thomas@monjalon.net> Cc: ferruh.yigit@intel.com To: dev@dpdk.org 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) In-Reply-To: <20171128221302.15400-1-thomas@monjalon.net> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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