From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id 2B4EF1B79A for ; Tue, 24 Oct 2017 12:36:00 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id 78so12430367wmb.1 for ; Tue, 24 Oct 2017 03:36:00 -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:in-reply-to:references; bh=LmU7ykB+onA8di8Sadua/eTzppvxrEaLV1BWOnOFIAA=; b=llWkXQHU5gRuNUkurydKfmDFY72LvvvI3xHGJ19Uno6Ilwv4vOQpYNGGkxh7ij5oWq DhSOGJyCG9vroOAZVJ76C0lCpm4RgXYHUlb/lV1Qnxx1iSA0bq0KZHMnw7POyFtrxBON E5LUMGzK914v3T8NOqIXjR1LmAb/BeTEjLxgC3NI3S0gg1BSQDd1m0vcQ+KV7kYN6pZR 2eWypnG7RoQscCjyAbbOcCorZ1+yPLwnoS7mRRzS5Gwp6FTl2LzmB5wRkEngz0x5h60u HZJxaIzR0Wx5eKK2HUF4zjNHtmrO41wL7l56tELtTmvOdSRL5oIa7NokJ/1uPEKOpA24 f63g== 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:in-reply-to :references; bh=LmU7ykB+onA8di8Sadua/eTzppvxrEaLV1BWOnOFIAA=; b=c4raZUPxlbn5XI4HL3PvuGLm/cmfrvkn9n9bc84YAhlqrqQvDgfL60ed8WEyUwDEoX t/u8siIKW81AY4UPvn/yltgb3v7EmCHiV6Xk/uScdSg+HncFb+3plBjUaqS1jDnyAvEc rMPUIQqheCHhfu/lbgTWAxw3BDDq8OLi9HE95eP3xF3wwStY5MOfCeXOpLjYg9HZJUHq AnkPaspuFcEXEqj2/1WeoKflRZlkPGYsz5HNvf+UksTAkZ+PDESbufgsR4QJMR1PbvbT +iVMJeiZ828odNliEacwak2lAFO/21trdly0TNbei5bOaNUhqmnZb2FbNghHnUsFXb6u qMGQ== X-Gm-Message-State: AMCzsaUOC+06IvIiZVeSdKSofR3Ds7r2xVal0nc9Xx9rIMWPPg4ZVCps 08Kzy5fXvfvIKiHIcQaXAUKoxfYP X-Google-Smtp-Source: ABhQp+Tjv6L40J20Sho44EroNlAqEgIJJmPJxcXcdGRyLrVtVK3nVDUfyyANjH7kycB658ZOCEXFqQ== X-Received: by 10.28.7.78 with SMTP id 75mr7614584wmh.31.1508841359263; Tue, 24 Oct 2017 03:35:59 -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 w4sm12205088wrc.17.2017.10.24.03.35.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Oct 2017 03:35:58 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet , Ajit Khaparde , Alejandro Lucero , 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 12:35:36 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: Subject: [dpdk-dev] [PATCH v2 0/6] 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 10:36:00 -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: 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. v2: + Split ether patch: First remove the use of the flag, then remove the flag + Restore RTE_ETH_DEV_BONDED_SLAVE check, previously hastily removed along the DETACHABLE one. + Added release note, removed deprecation notice Gaetan Rivet (6): ethdev: do not rely on detachable flag in detach ethdev: remove detachable device flag pci: propagate PMD removal error value for unplug doc: follow detachable flag disappearance doc: update detachable flag deprecation notice doc: note ether API change for detachable flag doc/guides/prog_guide/port_hotplug_framework.rst | 8 ++------ doc/guides/rel_notes/deprecation.rst | 8 -------- doc/guides/rel_notes/release_17_11.rst | 6 ++++++ 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 | 26 ++++++++---------------- lib/librte_ether/rte_ethdev.h | 2 -- 32 files changed, 46 insertions(+), 73 deletions(-) -- 2.1.4