From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id 021881B779 for ; Tue, 24 Oct 2017 10:59:48 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id t69so14213863wmt.2 for ; Tue, 24 Oct 2017 01:59:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=6jBjsTst3E3Nmx6qjP4LSDedgbpNW5Te8EKACv1ZW1M=; b=woY8xP4dTCSI2PIjl7UZXX8uwOHwWYRQdm9krqqRJYC7PaTICHRtDugeijbQZnEviB MitgbV0Ng5jteHIBLZd0Olp2vKmooImIaqCzoVwgKstXZf1G/9gv9jsGWl1BBIBls/bu NiWBQd2+aO9co2hWr16Gf8NE+7TPhqnuyTv3lGUJM3lqF2sLEkhWzk1cgOF1mLMLzaeF EpGNnGcY83i++Q7N+PSNQVZEc2BNSlEzvNHPD5prKNv00LY1ci8olzOu6oNgMNVCnJuZ lSXtRVVLtloD8W1Par57ukTnGKQjvbMdbOgjPyY19HISAqzEJw4Udh4Wce98xArkMbwH 9cQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=6jBjsTst3E3Nmx6qjP4LSDedgbpNW5Te8EKACv1ZW1M=; b=qw9ld/7l3A9Sj+LMAqYs23BOnNS1Ka5DltvoeuE0S/F5LzTvh8Sf7YjputmfodeOVC oWt5J0oSIfWJftkgK0EntYuSlmi5Tm5Ym6sJ6N/hO1yd/XVU+Gtwp+0yo3opTeYsf57s J2xRFEGxUVZf+TGt+g2n9aSxC+YYaVcLTuJlro1+ZxtgMW5JOvrMBK7vqpxscAAakuOc Uj1KBrsNQhXZDgSpugtnPMce+kWhvTthdOVVlkomBzGyHqgl2reck9Nz/MjldzG43Phz gOeviokrFePijhONrCIY45aQZP9ITTM2ECHE10FO7XlHa9fkZcIQy7GYxD4DRJYSstZn joZw== X-Gm-Message-State: AMCzsaVcFlwWeIcEQdUkc+tIoOymhaNijnrcl9q4Kn0i6oQF/jAOQvkJ JH26dFEjUxNUFpHIsZ2upt0vHke7 X-Google-Smtp-Source: ABhQp+Q7HSs9XAszIDB8IsLJUzc4d8562kxSvySnIy1z00n3srobEpj6SLp61lBRXPC8rMDrGZSekQ== X-Received: by 10.80.195.4 with SMTP id a4mr19567261edb.142.1508835588240; Tue, 24 Oct 2017 01:59:48 -0700 (PDT) Received: from bidouze.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id d30sm5639939ede.10.2017.10.24.01.59.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Oct 2017 01:59:47 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet , Ajit Khaparde , Alejandro Lucero , Andrew Rybchenko , Beilei Xing , Bruce Richardson , Cristian Dumitrescu , Declan Doherty , Ferruh Yigit , Jing Chen , John Miller , "John W. Linville" , Konstantin Ananyev , Matt Peters , Nelio Laranjeiro , Pascal Mazon , Shrikrishna Khare , Srisivasubramanian Srinivasan , Tetsuya Mukawa , Wenzhuo Lu , Yongseok Koh Date: Tue, 24 Oct 2017 10:59:20 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 Subject: [dpdk-dev] [PATCH v1 0/3] Remove RTE_ETH_DEV_DETACHABLE 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: Tue, 24 Oct 2017 08:59:49 -0000 This flag was deprecated in the previous release, and this is its removal. We are going from an explicit support of device detach, to an implicit one, with specific checks in place for PMDs not supporting the feature. Attempting to Cc all relevant maintainers: Cc: Ajit Khaparde Cc: Alejandro Lucero Cc: Andrew Rybchenko Cc: Beilei Xing Cc: Bruce Richardson Cc: Cristian Dumitrescu Cc: Declan Doherty Cc: Ferruh Yigit Cc: Jing Chen Cc: John Miller Cc: John W. Linville Cc: Konstantin Ananyev Cc: Matt Peters Cc: Nelio Laranjeiro Cc: Pascal Mazon Cc: Shrikrishna Khare Cc: Srisivasubramanian Srinivasan Cc: Tetsuya Mukawa Cc: Wenzhuo Lu Cc: Yongseok Koh Sorry for any undue ML traffic going your way if you are not interested in this series. I'd like to highlight Alejandro Lucero for the NFP PMD, as the patch is somewhat more involved for this PMD and I don't have the hardware available to validate the change. Gaetan Rivet (3): ethdev: remove detachable device flag doc: follow detachable flag disappearance pci: propagate PMD removal error value for unplug doc/guides/prog_guide/port_hotplug_framework.rst | 8 ++------ drivers/net/af_packet/rte_eth_af_packet.c | 1 - drivers/net/ark/ark_ethdev.c | 1 - drivers/net/avp/avp_ethdev.c | 2 -- drivers/net/bnxt/bnxt_ethdev.c | 1 - drivers/net/bonding/rte_eth_bond_pmd.c | 3 +-- drivers/net/e1000/em_ethdev.c | 1 - drivers/net/e1000/igb_ethdev.c | 2 -- drivers/net/fm10k/fm10k_ethdev.c | 1 - drivers/net/i40e/i40e_ethdev.c | 1 - drivers/net/i40e/i40e_ethdev_vf.c | 1 - drivers/net/ixgbe/ixgbe_ethdev.c | 2 -- drivers/net/kni/rte_eth_kni.c | 2 -- drivers/net/liquidio/lio_ethdev.c | 1 - drivers/net/mlx4/mlx4.c | 1 - drivers/net/mlx5/mlx5.c | 1 - drivers/net/nfp/nfp_net.c | 19 ++++++++++++++++--- drivers/net/null/rte_eth_null.c | 2 -- drivers/net/pcap/rte_eth_pcap.c | 1 - drivers/net/ring/rte_eth_ring.c | 1 - drivers/net/sfc/sfc_ethdev.c | 2 -- drivers/net/softnic/rte_eth_softnic.c | 1 - drivers/net/tap/rte_eth_tap.c | 2 +- drivers/net/vhost/rte_eth_vhost.c | 3 +-- drivers/net/virtio/virtio_ethdev.c | 1 - drivers/net/virtio/virtio_user_ethdev.c | 1 - drivers/net/vmxnet3/vmxnet3_ethdev.c | 1 - lib/librte_eal/common/eal_common_pci.c | 14 ++++++++++---- lib/librte_ether/rte_ethdev.c | 19 ------------------- lib/librte_ether/rte_ethdev.h | 2 -- 30 files changed, 31 insertions(+), 67 deletions(-) -- 2.1.4