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 3298EA034F; Wed, 23 Feb 2022 22:48:18 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 007E440E5A; Wed, 23 Feb 2022 22:48:18 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id D557B40DF6 for ; Wed, 23 Feb 2022 22:48:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645652896; x=1677188896; h=message-id:date:to:cc:references:from:subject: in-reply-to:content-transfer-encoding:mime-version; bh=0pifATsRZT676ktZ5ENanru+R0c+MSva/vQRdxW3dwg=; b=QDdUbs/GUeRvK4k5uCPQ3miRu+lF9gcpjvNFKHHdeo3zMq2c0PABH4Kz Ssm9zpGGX6Z77guTen6Nwauxugw4I8o38mahxJsjB5kt9OI+xkM5PD7lm Ji899Y5nhKlEHpwQZCTdV5ZKQRJdS8zNcj47Df/Mtq+63DQVBpi3QgqmG 1WkSvO73aQtatzqlgTx0foflk3jzKB0QRZM8gs01xteQTLju80HMtxGzw VYigP9IqjDZyhJLDsJg5uA8xR78ZbNyY3LMdYkxGemA6P4ZRN+7HYuxRn gggVPvVsBlp47NzMoiECx/5yGn/xRU6VGp6XUj1JG+NdXRY94RymLtdvu A==; X-IronPort-AV: E=McAfee;i="6200,9189,10267"; a="312802551" X-IronPort-AV: E=Sophos;i="5.88,392,1635231600"; d="scan'208";a="312802551" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2022 13:48:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,392,1635231600"; d="scan'208";a="639478924" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga004.jf.intel.com with ESMTP; 23 Feb 2022 13:48:14 -0800 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) 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.2308.21; Wed, 23 Feb 2022 13:48:14 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21 via Frontend Transport; Wed, 23 Feb 2022 13:48:14 -0800 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.46) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Wed, 23 Feb 2022 13:48:13 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RWv/1l0tr4jcpyvPz15fKGGlEAzvJC5KerKR2WrWs5+pbIt1ZKdosNjeoJosxDWks0kQ0dfbYwQSDlMX9ulJSbA52alCLv5nEj8PNia23BR9fPqwn/4hRf9Av9x4z1FYbHxCAEZ5pAFyCgMq3ZVDPnCzPZ/u+JVvRRzHejl+JOKMH2sJEdVk5MwS0buXQbQO9oGtY3KrvYo0/RG2Ck1MgosxWpLgUcOqwHEDGsyyr761nUz5bwHC09z1P9tkJ7lsmPsWQLp/NiWEvFG6X+4rOgTUVZic//czMjedOp0fyQVlE7ZEYad63dX7/Ga4M9sxwa1/B+9Fx8rw1k7DCeMa/A== 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=8jw460WOVo3Vt6iKYmp+h3WZTQrAxq5UhCZ3p6znck0=; b=N7tHNn9kc1JAKOI38NGTE8CoCRBUtbgQtA3WRUS1Ox/2D+6IHRLwFRxKVYeFuOLISYB08ZaN1RXUmlGWtWq2Hc3qabvyA1ul7kVl/ycgDaTA/N8oHvaqewpINXMC4SJUEgwo27tsez5th6lJ0h8n54B0zNfdXZ1zD2ihOWA6se+Q9TTl9VvD196jEjtRRnU9qrFRSILEMxsNwloI29K7t9ot6AAx5uyAV7WYpSR72rSw/JNgFei40Ay0owW5+HCoVXZPZjyhcbkyCWxEUfDPbSP5nDjRakLE1e3lvPiYMKdUkDyhLagUqiH52dQiLnCUZ+op7LBGhckDx3BeDtPa4w== 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 PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by CY4PR11MB0038.namprd11.prod.outlook.com (2603:10b6:910:79::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.23; Wed, 23 Feb 2022 21:48:12 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::98be:5506:5020:28a2]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::98be:5506:5020:28a2%4]) with mapi id 15.20.4995.027; Wed, 23 Feb 2022 21:48:12 +0000 Message-ID: Date: Wed, 23 Feb 2022 21:48:05 +0000 Content-Language: en-US To: Michael Baum , CC: Matan Azrad , Raslan Darawsheh , Viacheslav Ovsiienko References: <20220222124815.2587851-1-michaelba@nvidia.com> <20220223134834.2840916-1-michaelba@nvidia.com> <20220223134834.2840916-6-michaelba@nvidia.com> From: Ferruh Yigit Subject: Re: [PATCH v2 5/5] doc: update doorbell mapping parameter name in mlx5 guide X-User: ferruhy In-Reply-To: <20220223134834.2840916-6-michaelba@nvidia.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0032.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:151::19) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5ac1b26e-9efc-4d38-5e30-08d9f716301f X-MS-TrafficTypeDiagnostic: CY4PR11MB0038:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5H/zxkJEHdz0WqEotVZxPxhgJ8N1TSQBivqAqZzEJ1V/XtofEhc+1NAr3AyNYVFdVgW93OFo1UNYxZcpDNlQNJL2CiuiuCK1EMQfjdszXBrRASltJQ+Lh+c09cWmAv0qrHSW96uJ1oyqPLjvgpmvbsdoNxiBcX3GaP17V7Cr+cc3QdcwIDjrX4/x6TwcqE88zAd4gvXpkyLddKSz6OHM0LagM2okJgZx/Ar4kaXWDQ/0uvWTSYqlZzj42uFYukT75VHnJ6rpFU9/QuP98kAlRN0MPRdehrIeCNwOWyKOGb/8lUNvF9eagaVFyRnmOMkLSSyIrpVR5NXNtdr7q7/t2KXDKLXFjDRdDXJVWjjhn/coaYUaufofMHSMixfM0WKGMWO0nk8rIU17R3ZlTCXycT3VVqdL+HhMfxwRKGPg5WPmJHsb2n6g+LLY2CU5cYap9rrKC7u+czuFyaTJeZAWSN9eXYDq3DO5LcxW+Y0IQ9ttAUwncb42Bv3gIdQ8KzAZ6xAs4nN2cuIGjlvwykONvW95sS7JVFBPcP4W8+BJI8i7FfsyPhjZ/Z6XTf8Q6paDmsNIVNNgT90sTr0350vUzKi7JkgWWdndGYhYVHntVWTfsH0G7n3xQ8WHE5Ef16eZwZIITCd/EJlZ2FntrfhbTq9UC4jtayzJVhJCPIWAk6uDitUtVdZoVtuWB6mFTefIPDQhmr2YtpMrCl4nAoYdLA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(31696002)(186003)(6666004)(316002)(8936002)(86362001)(38100700002)(26005)(54906003)(2906002)(31686004)(83380400001)(6512007)(66946007)(44832011)(66556008)(2616005)(4326008)(8676002)(66476007)(6506007)(53546011)(15650500001)(6486002)(5660300002)(36756003)(82960400001)(508600001)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aThMK1g1MGVUWjVpQmk4K3FaWnVNRUY0Q1RyK3FRL1U4Sk9PS3FPdWpmRzdD?= =?utf-8?B?MzdhYzh6L1hrSXhJemZkU0FRTTFnMGVlbmxnbkRONXZ1MUMwTnJpK0lna1lZ?= =?utf-8?B?TGNyR2dBZTVNZWJDYjUydGJNa2VHMGFpY1BvcHFleEloMVg1dWxlSWZLS3Zv?= =?utf-8?B?bWxmcUhSNldpMHVQbzhhYUlZbEVGZ0hObzZFbUo1Um5MTHNJYnRIbEdvK1B2?= =?utf-8?B?YnNhYkVoN1JNZXFCb2dEQlNrK0JFZXhCMVdQa0Y1dVp1TFFVTm1GU1FOZDRv?= =?utf-8?B?S1doMTNiTjFCcFJ5dmtHWm1nckpvQWRFMm5mclYrS0lRdmRNeWZFOUVLa3RZ?= =?utf-8?B?eUVkM2w5ZmM4SURBbTlRd3QwN2lyeEgveGlhV3FoSHZTWnVLRUJhUlhUVkJZ?= =?utf-8?B?TW1DQ1JYSEx3NmsweVhHL1FxTURySCtLRnlhVXc5NHp6YzZmaDFRRG1P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ource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2022 21:48:12.2557 (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: EWTP2Qjgsh332jyr7QgtOcnPbBH/re7OZK6xfmyzu9aAlsPyURYOL78RJWCoOitkcgHx8ahNElAiV/N7EX9RcA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB0038 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 2/23/2022 1:48 PM, Michael Baum wrote: > The "tx_db_nc" devarg forces doorbell register mapping to non-cached > region eliminating the extra write memory barrier. This argument was > used in creating the UAR for Tx and thus affected its performance. > > Recently [1] its use has been extended to all UAR creation in all mlx5 > drivers, and now its name is no longer so accurate. > > This patch changes its name to "sq_db_nc" to suit any send queue that > uses it. The old name will still work for backward compatibility. > > [1] commit 5dfa003db53f ("common/mlx5: fix post doorbell barrier") > > Signed-off-by: Michael Baum > Reviewed-by: Raslan Darawsheh > Acked-by: Viacheslav Ovsiienko > --- > doc/guides/nics/mlx5.rst | 34 ++----------------- > doc/guides/platform/mlx5.rst | 39 ++++++++++++++++++++++ > drivers/common/mlx5/linux/mlx5_common_os.c | 2 +- > drivers/common/mlx5/mlx5_common.c | 31 ++++++++++++----- > drivers/common/mlx5/mlx5_common_defs.h | 8 ++--- > drivers/net/mlx5/linux/mlx5_verbs.c | 2 +- > drivers/net/mlx5/mlx5_devx.c | 2 +- > 7 files changed, 72 insertions(+), 46 deletions(-) Hi Michael, This is not a document patch to update the parameter name, patch actually changes the parameter name in the code and documents it, updating it as: net/mlx5: update doorbell mapping parameter name