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 6E8C4A00C5; Thu, 28 Jul 2022 19:02:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 619C940151; Thu, 28 Jul 2022 19:02:00 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id ED1964014F for ; Thu, 28 Jul 2022 19:01:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659027719; x=1690563719; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=dOABVt7TGxX/TPAxbmftJ5raYMIPNabdDds/TLuxZZE=; b=nBxU0RvziFok+zfHBF5AKETYWwBVHJHc97DEJl3Va36iQyyVV/Usp3Ph mWF1Dg28MRnKxCgyNXF7/TRsP2NSfI/2eczel6uVEfzWgHQHK4uL22xJC wX0jrJDtxkhLWk9Tkd1/2Op/ybmzVi43nM7fWn3elt1XikKNQy1Ka1ZVe 3xhNjJVk35CFWr0KsryEd0MmX1Q4yclHCiIYD8O+XizxIWB5alvrdf7PT H7LcHyI7pRzoBKwWmy0ayAFPZx9cWB069H5DqWBr1LS3uOqSGOKpAeWGp cHHFH+xA9YNsim4Qpdp+Pv3B7lnNysyMOyF7YLjwWtommqHEXg53TP/vd w==; X-IronPort-AV: E=McAfee;i="6400,9594,10422"; a="289762832" X-IronPort-AV: E=Sophos;i="5.93,198,1654585200"; d="scan'208";a="289762832" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2022 10:01:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,198,1654585200"; d="scan'208";a="668923111" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga004.fm.intel.com with ESMTP; 28 Jul 2022 10:01:47 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Thu, 28 Jul 2022 10:01:46 -0700 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Thu, 28 Jul 2022 10:01:46 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Thu, 28 Jul 2022 10:01:46 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.28; Thu, 28 Jul 2022 10:01:45 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HLWz1Rwl9shKOXadhtHs2Xb37dEvNvL9qjsPPaj4USzY5DrdZjGJ/yv1Yb4R0Zij3lcccA409Y0hOeZ9KMhL4RP1jis6lQlBy4Jv6lnl3+ki1EHnQdRIsIT/h1eXJyUnEouhVPNZyhzl7iuaMhkGreg6qzDRggdvGSpXTxY4r2JE2dCKLsjgZaZAtvwqUptSfFjzJEqAmDwHuK1ffgj7klm6VV2pd0CJlj0kkdXSxob34+VuGUPUcmQvj2gXM5xa2Dl4plyTuCYvBjlc66AMhdubN8aQSo1jpY9nTBnE0pdw9vAq+Er23+qZR+S/M0DLHekjbbBwPXXCDsGX2yzvrQ== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/LhLN5S+ludmh+01miOfaLtdyUvM19d7k3grhH0N+xM=; b=WBwXHliW7xKXeAnDlLYM6yS4EK/4xkidTwSdO5ssRby8MaU5MVFXwhe3ExFiHDxGpAvXX+hT8Ik782KluX7IIqzfrtYPBJrNLN+p91UnlP9wKbddZ5CFKEjQcIejBOubmAD0o+OBSotOAYYqTWQ8DBmBo59VqofaFtCk6U6l9OiIB5P4bn9qxVOfTZFcybWs78S0K8+QEXt9h5NxutJF/uO1WgeFLP2MiNKzRXYYoi5RF7reSGAVQMStzrewprCxwvnGJah0flijiSbS/2wDffJvLcg4jkoznqJ8AMi3iIZLOjpM+4gumPY8l/OPTT9KIz0FQbZGHPhYyHw1pkszHg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MWHPR11MB1629.namprd11.prod.outlook.com (2603:10b6:301:d::21) by MN0PR11MB6256.namprd11.prod.outlook.com (2603:10b6:208:3c3::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.11; Thu, 28 Jul 2022 17:01:43 +0000 Received: from MWHPR11MB1629.namprd11.prod.outlook.com ([fe80::8e4:e1e9:a851:4b0d]) by MWHPR11MB1629.namprd11.prod.outlook.com ([fe80::8e4:e1e9:a851:4b0d%5]) with mapi id 15.20.5458.024; Thu, 28 Jul 2022 17:01:43 +0000 Date: Thu, 28 Jul 2022 18:01:35 +0100 From: Bruce Richardson To: David Marchand CC: , Maryam Tahhan , Reshma Pattan , Aman Singh , "Yuying Zhang" , Maxime Coquelin , Chenbo Xia , Ray Kinsella , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko Subject: Re: [RFC v3 24/26] dev: introduce device accessors Message-ID: References: <20220628144643.1213026-1-david.marchand@redhat.com> <20220728152640.547725-1-david.marchand@redhat.com> <20220728152640.547725-25-david.marchand@redhat.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20220728152640.547725-25-david.marchand@redhat.com> X-ClientProxiedBy: LO4P123CA0326.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18c::7) To MWHPR11MB1629.namprd11.prod.outlook.com (2603:10b6:301:d::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f3e1f77e-b0ce-4e94-4c12-08da70bad8c5 X-MS-TrafficTypeDiagnostic: MN0PR11MB6256:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /xtWhGd5kGQVrrYZjLh8Yab38p8Ac26NBHn86nYARr5Is8cDblkNhg6Vm4VLSHNY+Y1+sG7Ve5A7xIWJ9BlFKD0bQTuc453avns4U+m+oNFhMpIQdHkxUTpSHLuWjtEikjm9LhCwuucBDG/uGjtZ8VGN34YGjDQzv4cboiDtnCPsi/8jRu84nQRQ8bjgr78Y+CUwVRkV4Y5RuyWhz0OXDw0T0ms4paXPWW0o/vTUbtrQJ/bzn4pUcCQ5J/ma1y8VJWadQ8C6VCDrCVqTAmHifntt01FzHtmmJjDdbV39VEwD0SHSLmQiAPmpPb3C/ivFmtwPrFPRMNBK+kxx1za2kQsFi/3RJPsP2DklXSCpakgC7LXMgRWRxXKBul8r5AMsLEKCcljlXtmp6NjftLK7DwhH/P62XmasNvd/Zbh64BgRQkG+atu5UXRp6w9/sfb41mGN7D/se80KCtu+pFs2WrWQiRZzq62lD1PXEiESBysYwKd57J6/XrZ6r/g1fjHFaIz8RgHpZp3wn1pJ0ad24tVwOVac4o5pSKsnMnS6jKJRi7DgapPAyiVEMTutUiguMuoy51uIA1GBeExNE21ZgwxQESc7PGZ95fqb1VU6qT6oWIK/XQJtyQaf5RtSGLA4urxybNa2HfD57CawZuN707v6t5LW9x+1HJ1A45krgGOK2wV/eECK4TUoCR31SZ969ECvWMpUEgSJHWrlrGxeQPycsuIOhV3dD/Iwhb2CHyga87oj0bhdneGhJLz7UC9P X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB1629.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(136003)(366004)(376002)(346002)(39860400002)(396003)(6916009)(26005)(186003)(6506007)(2906002)(6512007)(41300700001)(38100700002)(83380400001)(82960400001)(86362001)(66556008)(66476007)(5660300002)(6486002)(54906003)(66946007)(6666004)(316002)(8936002)(8676002)(4326008)(478600001)(44832011)(4744005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?FNuriMxPC0cKtbBccjyE+w1l6e/0LJ4HBPLPysXvF7wWzl8yIHKBY87JSRB3?= =?us-ascii?Q?H8a4E7f0Ou32yk8lLYGJjGJ5dA1TQ1u1JbQmHwwQu7VifuAaaDEpEwWXLipc?= =?us-ascii?Q?ExC2+7wGepM46A1MyH7L4Tim6ACwdo24SUDNN91V9jnGIYvIbBLAc9HSmawx?= =?us-ascii?Q?aU4ZZgXc6XSj0IGqIOSJblkGvhVx9UtiUNP9mtr3QBGtATI3KKL/NVGdkkQl?= =?us-ascii?Q?us0FUJiOJm0x+Qh+eWVlGhm8n5i9uBES90dFpjm/cvvzvPZVY3Rf/DYP9Wpv?= =?us-ascii?Q?Lp8llwyRfWL95n1/QrIe8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gZUt?= =?us-ascii?Q?oOXDstcgc7f1Ggh+Z4+ruTO856MapBQiqsjeJxPJcVYXn0FK8UqbmEnb+qvq?= =?us-ascii?Q?Tx9w2dELso/Mi7TRlNtvrPzPmAtYz4DqmZQMf4lo+NVIMRFCbhhn6pLP87DX?= =?us-ascii?Q?DDCHvtw/ijaPeph3HbmUI4Eca4XJsFWdLO6TOTWwkxKkHCjAyFSa8cFWtZrC?= =?us-ascii?Q?SED5KotfI73pWVAG9RHy7UXpisdBu8Y6Og7BwN1y8YBXEk4ZcZTVYTPXQ/lI?= =?us-ascii?Q?TbHFp+lDGoSyNdfxWepNFNlDN0mJIYdMpc8aMcx1D5MlhEaCOpAC5eKjO4E2?= =?us-ascii?Q?XZ+qYIkBjLjOAa0tuM/fcwfWyB/kgW54DGMak8eKGjn9N6MNbwtuiicnbtuh?= =?us-ascii?Q?he/RQk+VUsw/oGCPeqFlIZhe4+WzpFdgPaYljFNPXqEHi89wWZ+p3LDUSXds?= =?us-ascii?Q?Ig=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: f3e1f77e-b0ce-4e94-4c12-08da70bad8c5 X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1629.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jul 2022 17:01:43.1101 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: J5qPRJetW3NaymRXcOGkM3g7L+5vcw/pd17anNmuSMQJqGMFLk9ErnLHT4DDhwou6Qr2T7haG27PO4tW0pIoJu1aJwL1sw5HM30Fcu3Ob5A= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR11MB6256 X-OriginatorOrg: intel.com 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 On Thu, Jul 28, 2022 at 05:26:38PM +0200, David Marchand wrote: > Prepare for making the device object opaque by adding accessors. > Update existing "external" users. > > Signed-off-by: David Marchand > --- > Changes since RFC v2: > - added rte_dev_devargs, > - updated testpmd, > Acked-by: Bruce Richardson