From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 61010A04B7; Wed, 14 Oct 2020 15:29:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 49BAA1DDA3; Wed, 14 Oct 2020 15:29:17 +0200 (CEST) Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id A0AC41DD9D for ; Wed, 14 Oct 2020 15:29:15 +0200 (CEST) Received: from mx1-us1.ppe-hosted.com (unknown [10.110.50.150]) by dispatch1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id 3DE2620068 for ; Wed, 14 Oct 2020 13:29:14 +0000 (UTC) Received: from us4-mdac16-73.at1.mdlocal (unknown [10.110.50.191]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id 3B183800AD for ; Wed, 14 Oct 2020 13:29:14 +0000 (UTC) X-Virus-Scanned: Proofpoint Essentials engine Received: from mx1-us1.ppe-hosted.com (unknown [10.110.50.9]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id AA1A9100070 for ; Wed, 14 Oct 2020 13:29:13 +0000 (UTC) Received: from webmail.solarflare.com (uk.solarflare.com [193.34.186.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 5882758005C for ; Wed, 14 Oct 2020 13:29:13 +0000 (UTC) Received: from ukex01.SolarFlarecom.com (10.17.10.4) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 14 Oct 2020 14:29:09 +0100 Received: from opal.uk.solarflarecom.com (10.17.10.1) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 14 Oct 2020 14:29:09 +0100 Received: from ukv-loginhost.uk.solarflarecom.com (ukv-loginhost.uk.solarflarecom.com [10.17.10.39]) by opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id 09EDT9PT009090 for ; Wed, 14 Oct 2020 14:29:09 +0100 Received: from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1]) by ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id AEE7E1613A9 for ; Wed, 14 Oct 2020 14:29:09 +0100 (BST) From: Andrew Rybchenko To: CC: Date: Wed, 14 Oct 2020 14:28:55 +0100 Message-ID: <1602682146-4722-1-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.6.1012-25724.003 X-TM-AS-Result: No-2.200300-8.000000-10 X-TMASE-MatchedRID: 9+vAdSePT9o9Fj3/BqSTW1VeGWZmxN2MgE4FBVDR3kNVTaZPGOkL0+xi +/EGZYtT4EXw14zmtrKEGvBVw4B6DcsNHVE+9ElRSHCU59h5KrFj8vb8BkkBZB3RY4pGTCyHZqH qViVNkhkeRNASfy7t1JRr8RblOF6eCPTluBo5Q55l1tleYYUuJ1QT4wfzn/hUUx4Up3qvMKdQ0y msotmReg637eR7qaHJGoh0hVjlc4xovGFNoIkoj8uQbFwklcWlSWg+u4ir2NPtcZYGmyEIb6PFj JEFr+olindW/ryBvSTCCfuIMF6xLSrJhLSjJRVmGcOK3tiVO0Bf5zjTcR0TGAG/H2tj+vDKmnRB xQRvgZGOKgIKYKL7uUUtY1b/PDKf8rYkPF2FOZO1rKOl+LNlY2ZcJhUWbN7jvU24pLfQFmdAgUh ku2yAbQNQf6dUs3KIKyog/1PG+0mjWzyQbry2i56oP1a0mRIj X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10-2.200300-8.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.6.1012-25724.003 X-MDID: 1602682154-9gJS7zUAAyqj X-PPE-DISP: 1602682154;9gJS7zUAAyqj Subject: [dpdk-dev] [PATCH 00/11] ethdev: change device stop to return status 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Very late attempt to close deprecation notice sent long time ago. Together with Thomas's changes for dev_close it will do the job. Ivan Ilchenko (11): ethdev: change eth dev stop function to return int test/event: check eth dev stop status app: check eth dev stop status examples: check eth dev stop status net/bonding: check eth dev stop status kni: check eth dev stop status test/bonding: check eth dev stop status app/flow-perf: check eth dev stop status app/testpmd: check eth dev stop status net/failsafe: check eth dev stop status ethdev: change stop device callback to return int app/test-flow-perf/main.c | 3 +- app/test-pmd/testpmd.c | 4 ++- app/test/test_event_eth_rx_adapter.c | 11 ++++-- app/test/test_kni.c | 3 +- app/test/test_link_bonding.c | 42 +++++++++++++++++------ app/test/test_link_bonding_mode4.c | 8 +++-- app/test/test_link_bonding_rssconf.c | 3 +- app/test/test_pmd_perf.c | 6 +++- app/test/test_pmd_ring.c | 13 +++++-- app/test/test_pmd_ring_perf.c | 3 +- app/test/virtual_pmd.c | 4 ++- doc/guides/rel_notes/deprecation.rst | 1 - drivers/net/af_packet/rte_eth_af_packet.c | 3 +- drivers/net/af_xdp/rte_eth_af_xdp.c | 3 +- drivers/net/ark/ark_ethdev.c | 8 +++-- drivers/net/atlantic/atl_ethdev.c | 11 ++++-- drivers/net/avp/avp_ethdev.c | 6 ++-- drivers/net/axgbe/axgbe_ethdev.c | 8 +++-- drivers/net/bnx2x/bnx2x_ethdev.c | 6 ++-- drivers/net/bnxt/bnxt_ethdev.c | 17 ++++++--- drivers/net/bnxt/bnxt_reps.c | 15 +++++--- drivers/net/bnxt/bnxt_reps.h | 4 +-- drivers/net/bonding/eth_bond_private.h | 2 +- drivers/net/bonding/rte_eth_bond_api.c | 7 +++- drivers/net/bonding/rte_eth_bond_pmd.c | 28 ++++++++++++--- drivers/net/cxgbe/cxgbe_ethdev.c | 6 ++-- drivers/net/cxgbe/cxgbe_pfvf.h | 2 +- drivers/net/dpaa/dpaa_ethdev.c | 11 ++++-- drivers/net/dpaa2/dpaa2_ethdev.c | 6 ++-- drivers/net/e1000/em_ethdev.c | 15 +++++--- drivers/net/e1000/igb_ethdev.c | 26 +++++++++----- drivers/net/ena/ena_ethdev.c | 14 +++++--- drivers/net/enetc/enetc_ethdev.c | 9 +++-- drivers/net/enic/enic_ethdev.c | 6 ++-- drivers/net/enic/enic_vf_representor.c | 6 ++-- drivers/net/failsafe/failsafe_ether.c | 4 ++- drivers/net/failsafe/failsafe_ops.c | 27 ++++++++++++--- drivers/net/fm10k/fm10k_ethdev.c | 11 ++++-- drivers/net/hinic/hinic_pmd_ethdev.c | 11 ++++-- drivers/net/hns3/hns3_ethdev.c | 12 +++++-- drivers/net/hns3/hns3_ethdev_vf.c | 12 +++++-- drivers/net/i40e/i40e_ethdev.c | 12 ++++--- drivers/net/i40e/i40e_ethdev_vf.c | 13 ++++--- drivers/net/i40e/i40e_vf_representor.c | 3 +- drivers/net/iavf/iavf_ethdev.c | 13 +++++-- drivers/net/ice/ice_dcf_ethdev.c | 6 ++-- drivers/net/ice/ice_ethdev.c | 13 ++++--- drivers/net/igc/igc_ethdev.c | 14 +++++--- drivers/net/ionic/ionic_ethdev.c | 6 ++-- drivers/net/ipn3ke/ipn3ke_representor.c | 4 ++- drivers/net/ixgbe/ixgbe_ethdev.c | 37 ++++++++++++-------- drivers/net/ixgbe/ixgbe_vf_representor.c | 3 +- drivers/net/kni/rte_eth_kni.c | 13 +++++-- drivers/net/liquidio/lio_ethdev.c | 20 ++++++++--- drivers/net/mlx4/mlx4.c | 8 +++-- drivers/net/mlx5/mlx5.h | 2 +- drivers/net/mlx5/mlx5_trigger.c | 4 ++- drivers/net/mvneta/mvneta_ethdev.c | 15 +++++--- drivers/net/mvpp2/mrvl_ethdev.c | 4 +-- drivers/net/netvsc/hn_ethdev.c | 8 +++-- drivers/net/netvsc/hn_var.h | 2 +- drivers/net/netvsc/hn_vf.c | 13 +++++-- drivers/net/nfb/nfb_ethdev.c | 9 +++-- drivers/net/nfp/nfp_net.c | 6 ++-- drivers/net/null/rte_eth_null.c | 6 ++-- drivers/net/octeontx/octeontx_ethdev.c | 10 +++--- drivers/net/octeontx2/otx2_ethdev.c | 4 ++- drivers/net/pcap/rte_eth_pcap.c | 4 ++- drivers/net/pfe/pfe_ethdev.c | 16 ++++++--- drivers/net/qede/qede_ethdev.c | 14 +++++--- drivers/net/ring/rte_eth_ring.c | 8 +++-- drivers/net/sfc/sfc_ethdev.c | 4 ++- drivers/net/softnic/rte_eth_softnic.c | 4 ++- drivers/net/szedata2/rte_eth_szedata2.c | 24 +++++++++---- drivers/net/tap/rte_eth_tap.c | 4 ++- drivers/net/thunderx/nicvf_ethdev.c | 6 ++-- drivers/net/vhost/rte_eth_vhost.c | 10 ++++-- drivers/net/virtio/virtio_ethdev.c | 11 ++++-- drivers/net/vmxnet3/vmxnet3_ethdev.c | 13 ++++--- examples/ethtool/lib/rte_ethtool.c | 17 +++++---- examples/eventdev_pipeline/main.c | 3 +- examples/flow_filtering/main.c | 12 ++++--- examples/ioat/ioatfwd.c | 5 ++- examples/ipsec-secgw/event_helper.c | 7 +++- examples/ipsec-secgw/ipsec-secgw.c | 6 +++- examples/kni/main.c | 28 ++++++++++++--- examples/l2fwd-event/main.c | 10 ++++-- examples/l2fwd/main.c | 5 ++- examples/l3fwd-graph/main.c | 6 +++- examples/l3fwd-power/main.c | 6 +++- examples/l3fwd/main.c | 10 ++++-- lib/librte_ethdev/rte_ethdev.c | 32 ++++++++++++----- lib/librte_ethdev/rte_ethdev.h | 2 +- lib/librte_ethdev/rte_ethdev_driver.h | 2 +- lib/librte_ethdev/rte_ethdev_trace.h | 3 +- 95 files changed, 660 insertions(+), 257 deletions(-) -- 2.17.1