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 1C097A034F; Mon, 11 Oct 2021 17:47:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F02C5410DC; Mon, 11 Oct 2021 17:47:00 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 32AF1410DA for ; Mon, 11 Oct 2021 17:46:58 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10134"; a="207708522" X-IronPort-AV: E=Sophos;i="5.85,364,1624345200"; d="scan'208";a="207708522" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2021 08:46:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,364,1624345200"; d="scan'208";a="460013361" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga002.jf.intel.com with ESMTP; 11 Oct 2021 08:46:57 -0700 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) 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.2242.12; Mon, 11 Oct 2021 08:46:57 -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.2242.12 via Frontend Transport; Mon, 11 Oct 2021 08:46:57 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.171) 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.2242.12; Mon, 11 Oct 2021 08:46:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NGxkIUDafPMhAuJvctwwwwmo8+Bv2m2onwNGDr032iKicddBvaTBaGGkGO8fXfoBtl05AMBinsJytey+lOa2KCQKvtoxD3348bhGAyyfamQZZQ68DDUZc3JEvu+i0pogP5CLaHRWNQj5mKc+NNv39ODFZgh3iapnsHwY9whFZzppMbD8KXK1FKe2V+9QZ2hxEAXjwy/8P7wrxfJxDZOfJ11aqBn05fgyBqYL/t2sHrlAhz9iStf8jCsWS6KHTSxADm7WX6rlWAVadeEnMoCnr1S80uk+vtpzXI1emMhry20MRU7h0TWJr1rmUgZrRE0h0guZr6Ppe9DIoMsqXsTulg== 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=gTVaxjl+siDpsDxiCPxNpE6di+k1PAClmXthFHh6Ido=; b=HYgGJgJalkKMnuXusPcPvmeowXi4amUDYhSEcmUmw0HWQhLPic/HZzL4s6SwtgvB7BW6MSqP5CLfUb8jis8dNOS4CdoK/AaqaBAPs9pBiNXuEcAyxOHw+srN3mQtd45x5cVPfd1ftsx216lvx9hfOpEQkwuwuiwI35pE4i2NDM0+mXWZLBBQXfRoDDv9O/0qwITpidLNfUzh2Jd/s+WGFPVaC5tEuE7dOv/FbEERARB0oLuUF1yi2U58xGZt8Ew3FgKtN8978YvsKwkjVrx8Yw8kunTR4BV5inxwCcMUDHD6CbdJf5Cg5HEqCS9jjOMbkmNyqPs4g4JDiLHtv+J35g== 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=gTVaxjl+siDpsDxiCPxNpE6di+k1PAClmXthFHh6Ido=; b=b24XBn3Wb1IAN6FY6P97czxRnsBAvOHiwY+4DDXqI95baFxxzDAh4L+fOaXLDPJyXFuxoQm9HDaKna/s3wl/N5lxm7CNrR/NERKsP4zCkB5CZGQkmr/GZVz74j99SmLXuGNHIdqqEDKhkqW+Om2l37vJCrhHGM25ETsd23SiWWg= Authentication-Results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4789.namprd11.prod.outlook.com (2603:10b6:510:38::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.18; Mon, 11 Oct 2021 15:46:50 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%5]) with mapi id 15.20.4587.026; Mon, 11 Oct 2021 15:46:50 +0000 Message-ID: Date: Mon, 11 Oct 2021 16:46:44 +0100 Content-Language: en-US To: "Min Hu (Connor)" , CC: References: <20211009074805.15447-1-humin29@huawei.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211009074805.15447-1-humin29@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB6PR0402CA0004.eurprd04.prod.outlook.com (2603:10a6:4:91::14) 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 DB6PR0402CA0004.eurprd04.prod.outlook.com (2603:10a6:4:91::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.18 via Frontend Transport; Mon, 11 Oct 2021 15:46:49 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 995821ca-f727-42b1-7098-08d98cce572c X-MS-TrafficTypeDiagnostic: PH0PR11MB4789: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:327; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZUMGvh/8yDXd9RLElix/lB3VsjxV6NvERZlsRYmXODfCbzLqAol7ZbF2I4g6F5eBnSqi4oaTG/Cq94QHg5HQ1W0J4YddBSBhEo67BqTYmbi8n1GWF3pGYYuRy+3NRSeMx9ag6b3RLJCwAwHTUnK+GRlLoRPzLL443tHgFCTkIUwyW7IJMIJ1tgep4e4QcbsKmDk9Kf/x23gTQGiQq4nFOGm9CkR5EHq8rIshHCh9chGjQKCCEwG9VEkpPCKCDTL3X5zrH6VEGk+Ae4DVHVAKPj7XjeMldrhWMvDWbtO0TmAfqRCaU/zZXstGgDVwBn79NDXNx+C2GyTAjgt2FJElsP1OYgFJ3cub2tFs3cVlhJqY8nsB6tnhkBB34A9mDeYnPUPfvUZ/g3u8nW4Ry4CZlMJle2C2FgGSDOgCfiWuRi7jAO1QNh/FaI1CPfYdAQJt7bH9vNmm5j5hvt63/OueXGowZPzQ6v+o2ogaNUr1n/F5juxHoiU+dPFHeSayuqxElLSQae++8K8b6llbitGVQK6RWB3OReDPWGG338UyL1PHlUFA++xY9FsZ+fNOuz74CiyRtOB3H7PmpdVPgSu90X2UxTEefRz+RQIDVywz34Nkl9Q8CAvGUS31PqTItJzoyQWucjW3sxbao46EKThw9pWmtYiOAHGk3keRv/0R0/fUnuz5rCJasLVAc+JvH3fSRpYuMWF67TCjwaZtHMtmww== 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)(66946007)(66476007)(2906002)(31696002)(38100700002)(508600001)(66556008)(4744005)(44832011)(16576012)(2616005)(316002)(26005)(8936002)(86362001)(4326008)(5660300002)(6486002)(956004)(186003)(53546011)(6666004)(31686004)(36756003)(8676002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?V0Q2TlA5ZnVXRmM2VDZOMDkxMndHS2c2dVdKV2QwWHBnczNua1FSbnZMK1cr?= =?utf-8?B?T0Q3TjBaUHpvQmhHK21tNGJlU3FROGw5R2NEOHR5TkxZdkJRYVllRjJCSHFB?= =?utf-8?B?VVNFMjZjTzIwRGJWQ1FMOVh3bkQyaG9BR2dvaHZmYVpJN1MrT3diY05LU1hw?= =?utf-8?B?akxRcTJob0VWN3BNaUhkbEE2cEpRWEliQWYrVTRHV245OENLVjVBN3JsTmpN?= =?utf-8?B?RUpmOThrVnQ5a0paQmxhcDBuWjVZNVY3UWt5bUR2d1N1ZnNhdFl1S1JEdTlH?= =?utf-8?B?ZTM3Z0w0NEJ2R1BJeXEvZStoKzJDdjlPbElkZ2VhQVN4RU1mbHNhaUl6Qzha?= =?utf-8?B?amJUL0NiZ3YySklLbFY3N0o1amdSa3RGU1FOS1ZuNXdnbklURktnVkF3K3pX?= =?utf-8?B?U0dZWElOOUJxOFh4alNvNFlxZzBpdUo0TjdJdFJLOUFmTnhLdVZFbFBtTnEz?= =?utf-8?B?SnJyUnZYdUxOL2xLOWlkS3FacmxqYmFsS2dJTjFXWGt5emw5N3ZFQ0tjNnpi?= =?utf-8?B?WkRnOC9WMUJ5TkRFZlFzRCs3bGhWU05SZ3pwaWtNNW5BMXhTNDY4WWJhRXZ3?= =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nZXQmVnYkh6THpQQzdZ?= =?utf-8?B?cGkyUVpUcWtKTWdSaXBCTGxDUUNxa0s0bFJZUDZCRUNjRE1iTnlENnBPR0Jx?= =?utf-8?B?Rk0yYlhVYWxxK2c0Si9CYzl3SjgzcjA3UnBhWXZGNVNXeko3dXhMaHVSNUZ3?= =?utf-8?B?Y3E4TkREdGR3MWdmdXJ2VE1oeUJIQndMNEM1QkN5K25jYmNXa25zMzJ1Z0Vs?= =?utf-8?B?WFFKdjk4bG1Hamc4cEpVRGN5QkdPT2hUTHgyQ0UyNkh4UGgrcDNGcFhNdUNn?= =?utf-8?Q?65MhIubZTzpHhV73/p2rl/J0EqFyhRxo4pGg07L?= X-MS-Exchange-CrossTenant-Network-Message-Id: 995821ca-f727-42b1-7098-08d98cce572c X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2021 15:46:50.8644 (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: K71HV6Vc/MneEBPjE9rpcJr2MCRVclHwjpzbZLX8rBkn3Ubvl2FjhCU4IOZfVE8RgTMAA6d8b3hTtwnKmLCZSA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4789 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] net/hns3: remove similar macro function definitions 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 10/9/2021 8:48 AM, Min Hu (Connor) wrote: > From: Chengchang Tang > > For different capabilities, we declare different macro functions to > determine whether the capabilities are supported. > > This patch declare a unified macro function to judge capabilities. > > Signed-off-by: Chengchang Tang > Signed-off-by: Min Hu (Connor) Applied to dpdk-next-net/main, thanks.