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 2FB9D42B9B; Thu, 25 May 2023 14:57:14 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B10A740DF8; Thu, 25 May 2023 14:57:13 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id DA64740DDB for ; Thu, 25 May 2023 14:57:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685019432; x=1716555432; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=+8RILcv6SIW+pyVYPfvcNOj1/PHGBs8XCOsHRaapQpY=; b=Bylf29/H4qJGqrZxIQanVRVSEte28SOgFcWi93kYgRnVqTnPzX33KRJT ks2xZN74Cv/SFp63jrCz3pRmcaWZblKuA/0U5YngGR6DkqoKjYBiBmmxs PjvWY40kanNZoM6CC9rA87P9rV78eflzG7sjutlBFSUAhSQT3R/xDpg2M YPgXCAMxKpHlvEuic88s/ikJPceOpD7kmCy3AkF4dRQyWCs1TCa3BWER3 eHPn7PtuwCskoXAdyCKsCyhpjFTMom2KpaxXRnbnGPMK3ngfGUrpEABhL WriMoCbjudcackFzUVxoafV6283okI5LVazrMX2N4tSBZDYCPh1vhBByC A==; X-IronPort-AV: E=McAfee;i="6600,9927,10721"; a="353897772" X-IronPort-AV: E=Sophos;i="6.00,191,1681196400"; d="scan'208";a="353897772" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2023 05:57:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10721"; a="879098778" X-IronPort-AV: E=Sophos;i="6.00,191,1681196400"; d="scan'208";a="879098778" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga005.jf.intel.com with ESMTP; 25 May 2023 05:57:10 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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.2507.23; Thu, 25 May 2023 05:57:09 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Thu, 25 May 2023 05:57:09 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.177) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Thu, 25 May 2023 05:57:09 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RJ0MGQ97m/mpSmwbw5vBiDmk9kvkkCpOMRphpr2I6JIuMGQIOYJsETrE/2uHf1rLPu1uP3IfpEnjbF5Bc+CD2+b9Z0rle5Mx3JPnqO1mHeAb6tBMGYzF2ybgabrgHAOObGht8cEmA+KtNOSwDUGE7UzYOS1wXlOvQ0IttmQq3C3yKogMoLAIe6+fJh8FDzSvvCw3/wO4E30rJX99GeVNZHVLPlFuBMyY3Wjc+g9SXMI5x14TPyDV/IEDPpASJh51KbmzuBZnQ2MDYMkAqwFf0uKQGqs5Go8li20ocFsHiSt/KYIYYNNq+asU3OomlaNs8baJKdAwrHvO5qHzdSgqGg== 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=ZE+p/A+SxiJY5gkAQTjDvFasWiquQ9NdROFJ/PrqXNc=; b=Ztr3hU+CMp7wCuVawXXQrQJZn6Tdd8NeV5hq8V14c5pT45tJWOd+Q7Oc0F6J3ZJN6SAN8YUfcsxLSxOhIrotfBVqwFPiwK8Tge8oTxh+adxKjuX9aEhR6pDd3sZXN/YcOcvH5iL6Cz6vRRcgYvnInF5QMuK5v19RX8gk/eNjhkxWnHeXfZ7//JhS/3Tl4ZIGc1TGrkV/AJsj1xvD356flK554e2rGj9WDkMLq8MOy/jOIhov4WtYv/lwNt+bop6c1IHBv7wHJRPWvrUcBUYAsCFaLjI/t8lMsXLmPOYOnlaNH/jpdQRIous9hqRpTf1re9pujOkNH+iGuyULFMKj1Q== 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 MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by DM4PR11MB7757.namprd11.prod.outlook.com (2603:10b6:8:103::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.16; Thu, 25 May 2023 12:57:07 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::4dfe:46ec:2197:1783]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::4dfe:46ec:2197:1783%6]) with mapi id 15.20.6433.017; Thu, 25 May 2023 12:57:07 +0000 Message-ID: <4204ad39-91b0-1cdb-d3a8-29e94844e7df@intel.com> Date: Thu, 25 May 2023 13:57:00 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v3 3/7] dma/idxd: replace rte atomics with GCC builtin atomics To: Tyler Retzlaff , CC: , , , , References: <1679084388-19267-1-git-send-email-roretzla@linux.microsoft.com> <1679612036-30773-1-git-send-email-roretzla@linux.microsoft.com> <1679612036-30773-4-git-send-email-roretzla@linux.microsoft.com> Content-Language: en-US From: Kevin Laatz In-Reply-To: <1679612036-30773-4-git-send-email-roretzla@linux.microsoft.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0613.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:314::19) To MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW4PR11MB5872:EE_|DM4PR11MB7757:EE_ X-MS-Office365-Filtering-Correlation-Id: 3a467c68-e354-4b04-4218-08db5d1f8b9b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hao7usl7z7b3bT5yER32rqCUUg+N3C/ERNbCfpTmvlTBEGkSkbfNwdMSnqOzxwgJzzUOynpPgUTiBBW61BxaobfOakQzTKvU+DJqSaDiyRY+VRB2PhepEKw6s5SW4q7A8C6MYdWq9QoMISBlO341igQc2qrr9XPQsN8zA1AJW4XBZv5eWz+WYOFE5YL4EDqVzSXhOM9LdTao64cC4Dtsh/whAevBAIhIQbzXZUvHobYgxRUqeulDu0HnKRHOloeEsH6DdIe1zACFMr1sMd+8Wz/AAGvAxOVOBgw9c9EqVGxoJZ9mV8RRbuS77RC7AQze+bRo9qkY4aMFGBMC/l6dAAV3yImJDcnkgNNNfcCdsc5VLQrcomojYlYOg21zlp8ibaXsVyceE39aPD/iDO/JWQbsMGHw84As11MVhpEZ6TcHznPg5l1g4feoMDP0oHeIK6XNlZkv75jo+9BkRYPVwkGY1MEqzvo6M8q/P6uVMDD+6W8UBZwZNIIA83zG448tWe5gyQhUmp9685GQeQ9njWpmNOiRZp5vB1QPqYpLVuJU6DdZ42qzNmb9Kqzd0FWIA9U2wPSh+4dDNdjlols2P9maXBiYsoD4vq1JqcT6PiVXbeVV05RbOlvPCqsZEhdDAXXf4aWK3yyAU8HHAGOeCg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR11MB5872.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(366004)(136003)(396003)(346002)(39860400002)(376002)(451199021)(5660300002)(8936002)(44832011)(8676002)(186003)(53546011)(4744005)(2906002)(86362001)(2616005)(31696002)(36756003)(83380400001)(82960400001)(38100700002)(6506007)(26005)(6512007)(316002)(4326008)(66476007)(66556008)(66946007)(6666004)(478600001)(31686004)(41300700001)(6486002)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZW54by9MZjB5aWZPVXdFdVpkdXUySkl5WGpNdkV6a25OUlYrNTY5cGsyNm5o?= =?utf-8?B?d0NvWVlzK0NQYzNHYzdJZ3U4WEVRa2JKZmd2TnRQMHlBNktvVWdnMVlSQ2l6?= =?utf-8?B?Tm00UDkzVVpQOHVpSVhnYmNja2ZXd1F6Z3Y5QlhxeWRXU1JvQXNTZ0lieldk?= =?utf-8?B?N0NRdmw4WWVkZlc3cVNibFJiZXhTK2E4ekdhSElqS0NRSnNsUkNLYmNBQnZW?= =?utf-8?B?L1dLRHUxZTZLUGQ4dVBRWTN2T2ZNd244bk9XZmFsdFl4S3JFZEhSSlRwYTMy?= =?utf-8?B?YTRPOWdsdHFraXBITHBrZ3pGaVRabjN2N21nOWF0Q1lTWmQ0NmRyVWNsQ3M5?= =?utf-8?B?UGo2Mk53Z1piSkRlYWtzaUgrNURiR21PMGxmdDZXb2V4QW5iMUJYeG9nVndV?= =?utf-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Tenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2023 12:57:07.4247 (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: NbUgKtl8PxJYYJuSKDwbAwWcyTvidp1Yi1mYKJlP4Ah/JX4a7pMdYVFNdpjW3Dfbo8RBMsV1JO1hMRfQUMu48Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB7757 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 23/03/2023 22:53, Tyler Retzlaff wrote: > Replace the use of rte_atomic.h types and functions, instead use GCC > supplied C++11 memory model builtins. > > Signed-off-by: Tyler Retzlaff > --- > drivers/dma/idxd/idxd_internal.h | 3 +-- > drivers/dma/idxd/idxd_pci.c | 8 +++++--- > 2 files changed, 6 insertions(+), 5 deletions(-) > Acked-by: Kevin Laatz