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 472A6A0C43; Thu, 30 Sep 2021 19:24:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B1FFC410E5; Thu, 30 Sep 2021 19:24:55 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id DFC7340DDA for ; Thu, 30 Sep 2021 19:24:53 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10123"; a="310789321" X-IronPort-AV: E=Sophos;i="5.85,336,1624345200"; d="scan'208";a="310789321" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2021 10:24:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,336,1624345200"; d="scan'208";a="438122733" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by orsmga006.jf.intel.com with ESMTP; 30 Sep 2021 10:24:48 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 30 Sep 2021 10:24:48 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 30 Sep 2021 10:24:47 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 30 Sep 2021 10:24:47 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.175) 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.2242.12; Thu, 30 Sep 2021 10:24:47 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aR26p56duiHkO7zJ0ctdQeS/AWpwFGO2PejcCw78lGj5eS1C4HhN2VueOSYRLKtCwiu7QWnjsCsi1EPQ/J2amjwUVhlLgw/GJJ9yvzlfL2WYDYx9mKN2B6HDclntLTp5L3MIwmvQ/sK4MgYqa2oLrAADzUQ2YQjXTCEpImI2v+Cs4NbgazNH8aFdrqHwlZRfTpK2rya6TjR8oXuavxDnMKlTLQxOxPyFC5gO0J4DPaund0QdV9ILbAyZVOJHKVRrg98mpkANPpzxglqb4BPUC15TY+lp7nx2aPvxktL+IokuehEiUraL7FXRg3g/Sg/zHcH2F4kR4M9nNPA0bvxo1w== 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=macHFQwdScvD/w8ouVaG8DquOmZYpTcpk3pZIrVRdnc=; b=jaR5QZ779wosMjnOjqYNaRE0FMYOyyaG+KUgDjy6cti0dyhBovmY1Gh2I4GzEKlSyx1FyRquZmI3Vg46oJkXpR3N4yarxVq1EEUJXMP5KSx+tTNF2IN3DOdLnRSrnHbqg6uLXiKo8vDkf27i3kwNRgflwpQmUnLRflav+xx8tWVW8RFQXZ/DcVaKSZkgSQvN0cKAV4RUmM9+TSvJLumDrO/mVMclySgN8qiZnszLCDr4JVgjFWTX88IYbkZxniJqerMX5/WeSuIK5rsCcTZ6NRgmFIH+paBx8xZzCkMkV8/yJi58KFATkDwMGGc5/YF3CTDDuhp+lpLpo0M6+Ac6GQ== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=macHFQwdScvD/w8ouVaG8DquOmZYpTcpk3pZIrVRdnc=; b=O4xQGIUEU1nMJMkebANiRUMcDbVbND/ywjsEJxIidMHl7ONYd5BMR+OBwbid4kSuak/i5BaIOY7Dlff2jCade56DGnH+z3eLzABs1k4XTJoPY1Ra0IVzQJLNGMZj8QOY83WPpVaZwv0UUCyT8LZS91PauM6r2QEyYY7Rloe/Zfw= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4838.namprd11.prod.outlook.com (2603:10b6:510:40::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13; Thu, 30 Sep 2021 17:24:46 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc%5]) with mapi id 15.20.4544.021; Thu, 30 Sep 2021 17:24:46 +0000 To: "Wang, Xiao W" , jilei chen CC: "dev@dpdk.org" References: <20210927051737.18505-1-chenjilei@cmss.chinamobile.com> <20210927101755.21957-1-chenjilei@cmss.chinamobile.com> From: Ferruh Yigit X-User: ferruhy Message-ID: Date: Thu, 30 Sep 2021 18:24:41 +0100 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DU2PR04CA0057.eurprd04.prod.outlook.com (2603:10a6:10:234::32) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DU2PR04CA0057.eurprd04.prod.outlook.com (2603:10a6:10:234::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14 via Frontend Transport; Thu, 30 Sep 2021 17:24:45 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3d10e06d-d07a-43cf-4d7a-08d9843732fe X-MS-TrafficTypeDiagnostic: PH0PR11MB4838: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1850; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2O/nlanO7QBwWt9Hz0ZeoYmEW3AIoKkF4Rnz2fcbVMGp2F4Fx/yxhgpr3QbT4OzdEaAIpvx580679YUwBQ4KXDOizeJiXnnNI2gGMQl3e4Rxn2IL4wUt5HcABxfKO7ADCtpM9Vu8aEjh7j7QrGkuFntdZD2NzsdnDzuJFsM2LiULR63zvMDy+8lkrD6WEcijDgilQwaaNJmjTrOKS5eP7x8ezkL34GpUf4PBJC5OtWtuA8MP84NlZ4HYRoWa5N9gKZR727LqK2FgH7UlN3tLWkVDpuNBqzTehkZZjVjjkQZLr81wSceytaB24R/nQ6Ry5bUCA1toGEmLYq6cNuuCww6hucv0IPHv6NnMWaRhUXc3n+Du3KSKyiwdU4wPinw5FFee954Mul4M10cLR01Nz3bQu9WTofgGb5rTzufsZxOzvac5LUyq3tCF7LPlDIi+1k4d8P/KO9uzBR0MfJZ3RGEpwDwOgH7ui3uS1RWV9UJcGu2Dh2pcrMGA0PGWYkL2VETJtQ6Ka1POTdH8Lo+anxVVYH8y2Nekh/SPUgv5+V4khXyILLxf/1S1WwWYVqyAfNAWuY2rsaC8Ryc2ErbnJMKiNaPCrO0sXplDdtz3279ZFMCIW53w7oV4kX7Wh0h6HEA8Ou4xGoS+ZuOrDYrJk2n0cTP0J+TBnV//yjZQgj5dnM6aKFYNTx5CqnDLM5aHAHTqfG09kAqI/a3EgZB12g== 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:(4636009)(366004)(2616005)(6486002)(956004)(8936002)(186003)(66476007)(66556008)(66946007)(26005)(53546011)(38100700002)(5660300002)(31686004)(83380400001)(6666004)(36756003)(16576012)(31696002)(44832011)(508600001)(110136005)(2906002)(86362001)(4744005)(8676002)(4326008)(316002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SzNqNVBqeGtuaENqRitxMzc4L0JjbmtBdDdidUZBaGpmaWFad1BFMldYK0hL?= =?utf-8?B?V2EyRFpsREt3Zks0Sm96RE1JaDU4bldnM0NTTW9FeHFnNHJ2YlJmSUhmazVs?= =?utf-8?B?dDhuZmo4OVB2Mi9Qb0FZcE5lRm4vWnV4ZDRkbjFUaGtqZkVBLyt0OHM2eEha?= =?utf-8?B?T1hXVGMrdCtWRFhuSUhGZWlsTndHMWFKTng4dWJZVWM0bW9SdHcyZ3pHakNm?= =?utf-8?B?dEdhRUQ5eTdRVi9CUUMvUnN5NzIvSFV5QmVnWmhxVmhybWZodytTc09lRW5m?= =?utf-8?B?VlZReEhIZ1BYRVl0TTVNR3IrUnBjRVNjc1MzbHg1VzJiVndydFAwSFBhRTZO?= =?utf-8?B?SVhYS2FMeGRZem14MUtrNXpsSGwrWkVrUGVmWUNocWpiMG9mdUJZMDYxblpw?= =?utf-8?B?Q0g0UkVkcVljcmg5WWhsR1h2WkJTVTlRYmVXZVlLSWt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SjVpRVFZR0tBKy9QeTlYWXZuZjg4TGl4?= =?utf-8?B?MnB4Ny9EWjM4MFNjcmtUaFJIMWJhaGhYbXVhTkoyMGJSNlRmdDVBdFMxbzNW?= =?utf-8?B?SFRPMXhuY2J2R1BGWGRjS3VyN2JFNDVVOEN5aE1nVzBlZDBwT0FwYXdiMExW?= =?utf-8?B?TUk0VmZXaDdCWkRPeklPRTEzT1BOc1drbmxJcTNkT2RIbWh1TEgvK09LMEZh?= =?utf-8?B?YzhoRktGVVd3WERTWGpnZjlKaHA3ODc0VUtwQlEreDlVbGx1eFZpVUliRE5u?= =?utf-8?B?ZlAwZDJGRFRURVBINFY5a0Rud293ZzIraWhMbE4zZWUzakZyaU1iQ3JrQW1h?= =?utf-8?B?SzFzQ1Baa0kzclV6dHNERVpUZ2w4TXYzYnZ6Mi9lSzE2MnpreGJ2MWhsYnF1?= =?utf-8?Q?VgUm9c/jJGrmxo8MZXsGqdAlj6IRHWE5AfQvKAW?= X-MS-Exchange-CrossTenant-Network-Message-Id: 3d10e06d-d07a-43cf-4d7a-08d9843732fe X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2021 17:24:46.5669 (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: ErQn+cPNstcBnb7Pu1/fbQ5kYH90Om8DTsW/+GN0BuagtYeoSXSK5oE85P/v/fP1Kg51pdJpW6wNFL/j6XkRJg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4838 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] [v3] vdpa/ifc: increase readability in function 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" On 9/28/2021 3:22 AM, Wang, Xiao W wrote: > Hi, > >> -----Original Message----- >> From: jilei chen >> Sent: Monday, September 27, 2021 6:18 PM >> To: Wang, Xiao W >> Cc: dev@dpdk.org >> Subject: [PATCH] [v3] vdpa/ifc: increase readability in function >> >> Use bool type for function's switch parameter, >> this could avoid passing "1" or "0" which is not reader friendly. >> >> Signed-off-by: jilei chen > > Acked-by: Xiao Wang > Applied to dpdk-next-net/main, thanks.