From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D67F5A0C46; Fri, 17 Sep 2021 11:39:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 647D9406B4; Fri, 17 Sep 2021 11:39:52 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2053.outbound.protection.outlook.com [40.107.243.53]) by mails.dpdk.org (Postfix) with ESMTP id 1055A40689 for ; Fri, 17 Sep 2021 11:39:51 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EoGhU/K3QbR/kdeLnZ0OLn9uphudOgpVnurzDX+d1KzLokGLKXPOVEV4Lxm/jyp1Z/lYJftrfkPXSEfRWsmqABl9cbfH0uT/iUMXQsF8CBbowUI6eEYpThjQ3QuzbG0HTtIyZQBgWW4TVLHwnxs8e4bm8dDQAyw9ylZpXkPMY3CYQvHTgEFFLmby/LjSRcn4mxhNfFTVkZNrKm2Pag5eJi2qy+LaF6ijK55lB8DNfY4vaq5Byxqc1GQFb6Fb2p9Kjg/6W7cTmv6a2rn+Q5nZXsdI/1HQE6RzC5Rd6he95NaEb0oSDiulzj18MUFxrEMh+w/1OXcDJKECACi3HFecgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=2+ra40BT6YCXeOZRYBrV1qTxjLXSrNIAZ6ppxL2we2U=; b=OGhHCUlJYVoykn2OImZU5gAwsb/7F/pI8X+HLhcR+zdfGwnzpc1R6OrldlAx6DbC21GUWUTf61DFoG6N5ceYhDqVJ4cfeGpJKx2P56Fp0Ghu4YZU5QaEXinqNBPOk9dURBoVdtaJ8fmlJQTmYxvOXFEjEXnLMW3BGeusw/JUHIHLHLQFXqCwGlPAXygEFURdOvPpvhUlzVbkaZyIazq9sHBv/fbzWnR2NLENgMVzvqBP7JTjJ0MOTEIpnIYP4j1y3WEOPzoZMlxWs9jbWeTBdI3oW+mwqfAm2NhF414XLx7F3IxfAgT1Y2nrBwrOQlTBQSSou/ex9okCUyfISVht+A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.35) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2+ra40BT6YCXeOZRYBrV1qTxjLXSrNIAZ6ppxL2we2U=; b=FighGH/sAgOjsYgg4lMtoRFXIipp7q9DO0xRiygs7fLMhvtb+xhv3kymTJfhW64Ob2iA5dOPtgQScpWiJs6VLeAWPlRwdB+DW4KR00zY/KfOBF5MGBr0RMjFztyC2KQFMOb8ExlEgOM9XpU2mLi0sv+X6WHPW5/B3+7g723cbm4347GU/hfFBHcQguumsiR39E6qA0ECz1fnj6uHebMx6uYUg7jF16g8+TdoZLuoB5DvsEqFGZS0IenwRHfoCB9PI1Lruqy2lvLGqcUeiiXYnCQA+DlpOnY0z/RN0iPlKqroDxTfl1rt9PF7ui3iZP+nEv8ya6+PxpWjEut9JUG9Uw== Received: from BN6PR16CA0044.namprd16.prod.outlook.com (2603:10b6:405:14::30) by DM6PR12MB2683.namprd12.prod.outlook.com (2603:10b6:5:52::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14; Fri, 17 Sep 2021 09:39:49 +0000 Received: from BN8NAM11FT042.eop-nam11.prod.protection.outlook.com (2603:10b6:405:14::4) by BN6PR16CA0044.outlook.office365.com (2603:10b6:405:14::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14 via Frontend Transport; Fri, 17 Sep 2021 09:39:49 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.35) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.35 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.35; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.35) by BN8NAM11FT042.mail.protection.outlook.com (10.13.177.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4523.14 via Frontend Transport; Fri, 17 Sep 2021 09:39:49 +0000 Received: from DRHQMAIL107.nvidia.com (10.27.9.16) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Fri, 17 Sep 2021 09:39:48 +0000 Received: from nvidia.com (172.20.187.6) by DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Fri, 17 Sep 2021 09:39:46 +0000 From: Xueming Li To: CC: , Ferruh Yigit , "Andrew Rybchenko" , "Singh, Aman Deep , Thomas Monjalon "@dpdk.org Date: Fri, 17 Sep 2021 17:39:13 +0800 Message-ID: <20210917093915.350863-1-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210727034134.20556-1-xuemingl@nvidia.com> References: <20210727034134.20556-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To DRHQMAIL107.nvidia.com (10.27.9.16) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 611ec713-7677-46aa-fa0a-08d979bf17c2 X-MS-TrafficTypeDiagnostic: DM6PR12MB2683: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:469; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 780VozWLMb+M1kfEIj6l/ruFCnkfHjw8n3NPd5MVRffjg8ae6JMv8PmCG3JlHNUS/zLRMQoMA12YRGlRc6Tw0HwP9DtoEi7NqZ1KvOCjkVp/VDLctBDwgBWyCstcSzO+ZofjI8wuy1pu5xSrsE4yefG+fG5ELarkczOtjhbmJwCydRDJHlRfdkPHpUyXlhfsyztzC2tjZxdC0m0PsXrDtAav5zfpmxdje1Ycx0QnQ6IQRR1c1we4QCrENC0BbgT9A/P9OxtNfcokDrwRSHd0GBc4+9gklVv/iyxsR9IXyn4jTAzhVLEVXuEaSNQ1/dkYI29A4nelS0wZ+r+WMrz4s5YH54oWtAcIQsaPFuqgRFBFhl1D+T0GiuJ9pDlOXL7UH923ubgdfxHEQyeaSBNUabiV7zbTfn9nuNYplcRdvgsgueB/kN6KFb+A97vUbqi9dqgRKhdQCuoc8+o9uN7JwYEuJ0LeFbNlTUlboKOD8Z/OJN/NiAHZxQzu4fvVqIORT13BJtHa1Pw/c4uHz1ecOSNfWHYjU1Qhl5DYmrl1aGReRIKEh2zyHPFx2Qt6lhKGV5T0XNOX8zayt7e7bdnSb+OwMOsVeUDuUTlHUEk8mwA34a+Z1aPGHyEz0jJr3C7mb/JKOqv4OWV8USvk+EfIONgrawtMw7igzs4it4lkrHw5e74x+FySiOqxPzKRMR+hom2huOt8uPxyWl0f561fl26V5+sZqcQ8z+thWSSZGa4rUOyswOT3uP8YrlU70/BSExzimfxAcHJddcupT/xlfuq7qL0ixyS/BPWOmMjlNyU= X-Forefront-Antispam-Report: CIP:216.228.112.35; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid02.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(36756003)(36906005)(82310400003)(508600001)(54906003)(316002)(6666004)(356005)(86362001)(107886003)(5660300002)(426003)(55016002)(1076003)(4326008)(47076005)(966005)(6286002)(70206006)(6916009)(70586007)(2906002)(36860700001)(16526019)(336012)(186003)(8676002)(8936002)(7696005)(26005)(2616005)(83380400001)(7636003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2021 09:39:49.1625 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 611ec713-7677-46aa-fa0a-08d979bf17c2 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.35]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT042.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB2683 Subject: [dpdk-dev] [PATCH v3 0/2] ethdev: change queue release callback X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" This patch is a preparation of shared Rx queue feature[1]. Rxq object could be shared among ports in same share group, a shared rxq object can't tell which port it belongs to. v2: included new NFP PMD driver v3: - commit message update - split allowing empty queue release callback to another patch [1] https://mails.dpdk.org/archives/dev/2021-July/215575.html Xueming Li (2): ethdev: queue release callback optional ethdev: change queue release callback app/test/virtual_pmd.c | 12 ----- drivers/net/af_packet/rte_eth_af_packet.c | 7 --- drivers/net/af_xdp/rte_eth_af_xdp.c | 7 --- drivers/net/atlantic/atl_ethdev.h | 4 +- drivers/net/atlantic/atl_rxtx.c | 24 ++++----- drivers/net/avp/avp_ethdev.c | 34 ++++--------- drivers/net/axgbe/axgbe_dev.c | 2 +- drivers/net/axgbe/axgbe_rxtx.c | 8 +-- drivers/net/axgbe/axgbe_rxtx.h | 4 +- drivers/net/bnx2x/bnx2x_rxtx.c | 8 +-- drivers/net/bnx2x/bnx2x_rxtx.h | 4 +- drivers/net/bnxt/bnxt_reps.c | 20 ++++---- drivers/net/bnxt/bnxt_reps.h | 4 +- drivers/net/bnxt/bnxt_ring.c | 2 +- drivers/net/bnxt/bnxt_rxq.c | 12 +++-- drivers/net/bnxt/bnxt_rxq.h | 2 +- drivers/net/bnxt/bnxt_txq.c | 15 +++--- drivers/net/bnxt/bnxt_txq.h | 2 +- drivers/net/bonding/rte_eth_bond_pmd.c | 8 ++- drivers/net/cnxk/cnxk_ethdev.c | 33 ++++++------- drivers/net/cxgbe/cxgbe_ethdev.c | 12 ++--- drivers/net/cxgbe/cxgbe_pfvf.h | 4 +- drivers/net/dpaa/dpaa_ethdev.c | 13 ----- drivers/net/dpaa2/dpaa2_ethdev.c | 11 +---- drivers/net/e1000/e1000_ethdev.h | 8 +-- drivers/net/e1000/em_rxtx.c | 12 ++--- drivers/net/e1000/igb_rxtx.c | 12 ++--- drivers/net/ena/ena_ethdev.c | 18 +++---- drivers/net/enetc/enetc_ethdev.c | 12 +++-- drivers/net/enic/enic_ethdev.c | 8 ++- drivers/net/enic/enic_vf_representor.c | 8 ++- drivers/net/failsafe/failsafe_ops.c | 42 ++++++---------- drivers/net/fm10k/fm10k_ethdev.c | 14 +++--- drivers/net/hinic/hinic_pmd_ethdev.c | 20 +++++--- drivers/net/hns3/hns3_rxtx.c | 25 +++++----- drivers/net/hns3/hns3_rxtx.h | 4 +- drivers/net/i40e/i40e_fdir.c | 8 +-- drivers/net/i40e/i40e_rxtx.c | 40 +++++++++------ drivers/net/i40e/i40e_rxtx.h | 6 ++- drivers/net/iavf/iavf_rxtx.c | 12 ++--- drivers/net/iavf/iavf_rxtx.h | 4 +- drivers/net/ice/ice_dcf_ethdev.c | 4 +- drivers/net/ice/ice_ethdev.c | 4 +- drivers/net/ice/ice_rxtx.c | 12 +++++ drivers/net/ice/ice_rxtx.h | 2 + drivers/net/igc/igc_ethdev.c | 4 +- drivers/net/igc/igc_txrx.c | 12 ++--- drivers/net/igc/igc_txrx.h | 4 +- drivers/net/ionic/ionic_lif.c | 4 +- drivers/net/ionic/ionic_rxtx.c | 14 +++--- drivers/net/ionic/ionic_rxtx.h | 4 +- drivers/net/ipn3ke/ipn3ke_representor.c | 12 ----- drivers/net/ixgbe/ixgbe_ethdev.h | 4 +- drivers/net/ixgbe/ixgbe_rxtx.c | 12 ++--- drivers/net/kni/rte_eth_kni.c | 7 --- drivers/net/liquidio/lio_ethdev.c | 24 +++++---- drivers/net/liquidio/lio_ethdev.h | 4 +- drivers/net/liquidio/lio_rxtx.c | 4 +- drivers/net/memif/rte_eth_memif.c | 23 ++++++--- drivers/net/mlx4/mlx4.c | 4 +- drivers/net/mlx4/mlx4_rxq.c | 27 ++++------- drivers/net/mlx4/mlx4_rxtx.h | 4 +- drivers/net/mlx4/mlx4_txq.c | 27 ++++------- drivers/net/mlx5/mlx5_rx.h | 2 +- drivers/net/mlx5/mlx5_rxq.c | 21 ++++---- drivers/net/mlx5/mlx5_tx.h | 2 +- drivers/net/mlx5/mlx5_txq.c | 25 ++++------ drivers/net/mvneta/mvneta_ethdev.c | 4 +- drivers/net/mvneta/mvneta_rxtx.c | 22 +++++---- drivers/net/mvneta/mvneta_rxtx.h | 4 +- drivers/net/mvpp2/mrvl_ethdev.c | 20 +++++--- drivers/net/netvsc/hn_rxtx.c | 10 ++-- drivers/net/netvsc/hn_var.h | 4 +- drivers/net/netvsc/hn_vf.c | 14 ++---- drivers/net/nfb/nfb_ethdev.c | 4 +- drivers/net/nfb/nfb_rx.c | 5 +- drivers/net/nfb/nfb_rx.h | 8 +-- drivers/net/nfb/nfb_tx.c | 5 +- drivers/net/nfb/nfb_tx.h | 8 +-- drivers/net/nfp/nfp_rxtx.c | 30 +++++++----- drivers/net/nfp/nfp_rxtx.h | 4 +- drivers/net/ngbe/ngbe_ethdev.h | 4 +- drivers/net/ngbe/ngbe_rxtx.c | 12 ++--- drivers/net/null/rte_eth_null.c | 22 ++++++--- drivers/net/octeontx/octeontx_ethdev.c | 18 +++---- drivers/net/octeontx2/otx2_ethdev.c | 59 +++++++++-------------- drivers/net/octeontx_ep/otx_ep_ethdev.c | 20 +++++--- drivers/net/pcap/pcap_ethdev.c | 7 --- drivers/net/pfe/pfe_ethdev.c | 14 ------ drivers/net/qede/qede_ethdev.c | 20 ++++++-- drivers/net/ring/rte_eth_ring.c | 4 -- drivers/net/sfc/sfc_ethdev.c | 8 +-- drivers/net/szedata2/rte_eth_szedata2.c | 50 +++++++++---------- drivers/net/tap/rte_eth_tap.c | 8 +-- drivers/net/thunderx/nicvf_ethdev.c | 28 +++++------ drivers/net/txgbe/txgbe_ethdev.h | 4 +- drivers/net/txgbe/txgbe_rxtx.c | 12 ++--- drivers/net/vhost/rte_eth_vhost.c | 14 ++++-- drivers/net/virtio/virtio_ethdev.c | 8 --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 14 ++---- drivers/net/vmxnet3/vmxnet3_ethdev.h | 4 +- drivers/net/vmxnet3/vmxnet3_rxtx.c | 8 +-- lib/ethdev/ethdev_driver.h | 3 +- lib/ethdev/rte_ethdev.c | 59 +++++++++++------------ 104 files changed, 624 insertions(+), 689 deletions(-) -- 2.33.0