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 74AC1A0C57; Mon, 1 Nov 2021 13:30:53 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3EFA440E28; Mon, 1 Nov 2021 13:30:53 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id B15B040DF6 for ; Mon, 1 Nov 2021 13:30:47 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10154"; a="317202259" X-IronPort-AV: E=Sophos;i="5.87,199,1631602800"; d="scan'208";a="317202259" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2021 05:30:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,199,1631602800"; d="scan'208";a="496535453" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga007.fm.intel.com with ESMTP; 01 Nov 2021 05:30:45 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 1 Nov 2021 05:30:45 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx609.amr.corp.intel.com (10.18.126.89) 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, 1 Nov 2021 05:30:45 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.105) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Mon, 1 Nov 2021 05:30:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dY4XmXzMb5EWRCEvRM8ySos+V1yK1pKOmXYzApJyaZJXdDD0/+mSMF1r505Bihqa0+R+WXbOxZ/zq+qzv0BU72EGWBstJ/LC9Fw+1Ff4sJ4pHggaIMLjiopgmNsb56wGzkpN9v8YCnxKMmoDRDPSjWCuil7DiNlLDUTRMrCnB+pRRxauMXzKilR63ZMhWrk9cnq5Gfj0qynkpt4w4pj/mkHB3oJvIKWJrVYgGHj92DZQfkMfgD1abq6Vfvwe2Wkwoc39rpHG7EyKC3R/jR/gLt+g+bvYbPFfUkaUWLjj+htf2daeQA+adbQvT+5xleExg74f4shM2gh4ElD058im1g== 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=lNlYiXR+Mx26HHYdJG3yV53esHLN/vuWYbGzcER3ogw=; b=c2C+HE7EqI2ma4rWODdsYEk0nTke6BshbA/iNb3jQCyNh0kXijW8tEthxi/FDTVFGJWEkxWMX1l6wT/ukTpvYelgoGLVxZeq8wsv3ti8f55MwaWePcD0BJMEVyZvQiri0MTpVNtHd8/fL/yT6H0CVL/gz8gCFmzbloloxOCoYUPXiqEa13uD8/u7ov6A+3qdZCQFmqVG2aBdol199gN5iMNshu7Phckn14pypdy83Qw7vnFdEcyZmmIcyhZ00hPIwCysVWKOdBDG2ky3rt/SYoBeYFfb7Om6VO9RwIkrKZroXRkQWW54qsrR+23Lhm+z5DvLhpQ9ftZCtcu287IGRQ== 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=lNlYiXR+Mx26HHYdJG3yV53esHLN/vuWYbGzcER3ogw=; b=tqEIs70vaq6yjY7OJFS0wmVcay7DXAQXQwRpXDQRjJkZcTIuZtoL79rfLzvKH28vUtj3hpLvMVVpcc1dsiBZI5lJfUHdeZ7QQ869C7mO4FH+DvjkSTXg0cSvVw/7bN/TWFnzdMJDmJJamAve9sJh4L6/JM01C7ZErEdkb1wyyqs= Authentication-Results: networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5175.namprd11.prod.outlook.com (2603:10b6:510:3d::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15; Mon, 1 Nov 2021 12:30:30 +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.4649.019; Mon, 1 Nov 2021 12:30:30 +0000 Message-ID: <03f423cd-81d0-f25e-6488-36a73909f0d4@intel.com> Date: Mon, 1 Nov 2021 12:30:24 +0000 Content-Language: en-US To: Stephen Hemminger , David Marchand , Thomas Monjalon , "Andrew Rybchenko" CC: , Olivier Matz References: <20211029214739.72707-1-stephen@networkplumber.org> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211029214739.72707-1-stephen@networkplumber.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB8PR06CA0040.eurprd06.prod.outlook.com (2603:10a6:10:120::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 DB8PR06CA0040.eurprd06.prod.outlook.com (2603:10a6:10:120::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14 via Frontend Transport; Mon, 1 Nov 2021 12:30:28 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bf178124-0ecf-43fa-af94-08d99d33641f X-MS-TrafficTypeDiagnostic: PH0PR11MB5175: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:226; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5fVBrn6XPGmCR6SAkQa3uNMAv97nMW7wtP/BDFqAae/KF1nzQA3aJkgFoiOasESDSgdNv5n6TjFynCJOlJZC715t2Hym7BroZYo9z2xrdqjQlsiDUf/F2FxYp6FW/Z3PyCOb8gdZUJxX5U3orjgDRex5z+SRTz7XGWvRSg+HrfmPTXUFmNsf4U1INraBmw8zDypcfoysMsfAmm7U9FcSNPThFSc9ir57bnjAeTLhkWCuLjXgyUgHdmcA1wLRFkU9sSIvw4RHnkNh+lFXFaGq/RCAFrox7lL0s8hgy2nQW/84UF2E3QAD5uZNlA12Fyi3lNQUkahyzDqsJj/UP3QqmUG5A3rkrAKDMAg5oO0fMeGNcOlk9RHoeNNv+S7+6Uo3U3MFksQNLfocSuVekVdRiq0D63/fsSCw8NRZoRm+H+q0Dxp8Yh43eZJJX1MW9ZqvJlqC0qfAaW/kOjssXwGmqJBQ/tL2L+OYtgFqQDCckHt2zAi7kS/7oSbwhhkFxGlqCUSBREzB0O6/ZC06uEb31e0bh3JPlrT/zPauUuR439xOv2qPP9spTLWczLNNlKRBzARHC8QvLN+KtMPhrodLaQJwFJgRXglY5KwXtXuwCoo9qNdRcvQQAvLWf8PO//bHrbw/tQbVji0Kp3TzLuuuPKm7KZKthRq2QtDZ42bNx0tndoXpQUqAk5jKk6RBE73dELnE/IdFL/99mtise+MSZQ== 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:(366004)(16576012)(316002)(6666004)(82960400001)(44832011)(508600001)(8936002)(83380400001)(110136005)(956004)(6486002)(2616005)(2906002)(86362001)(66556008)(66476007)(53546011)(5660300002)(8676002)(4326008)(66946007)(36756003)(31696002)(31686004)(186003)(38100700002)(26005)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TDZ1QWFXcFh4MVBDK1FNT1MrMFB4MElOWG1NQWRHUGZsV1JJTnRsSENQNURT?= =?utf-8?B?eE1xaDlpaDFzSFpJeitscW1zbll0NkNqYWV3VmZGV21FOXhWZ1YzUDR0dzlm?= =?utf-8?B?SlAxK3dKMVBwYk1oeUhwdlQzVzhSZHpXdHVBb2JsNndmYlR5ZnZtQi91dktj?= =?utf-8?B?eW4vSDVLKzZGMWFqTi9jbGJXT3JobnBMQXdPMnFzVzkwdWQ2VzJGRVRxdEx1?= =?utf-8?B?M1hLUjdaZHVkWDlkdWF0cTNUM2d3RFNHdEltUUJVYytkeFVuZSttSGFOVU9D?= =?utf-8?B?bC9lZjFuYXpCckNFRXdKbjVTbVNZZ29wK0dRbEc0QTcwRjd3cXAveTZXUnRu?= =?utf-8?B?RmV6UGx6UzYwWm5EVk5JOERML2w0Y1hsMTJpR0g3dUF6emNVbC8vL0ZqZElj?= =?utf-8?B?QmZSS0MyZjVDQno1TFpCWVRGVERyQms5WmN6SXpGMWFvYlRCdENlUm9qUTdx?= =?utf-8?B?bmhYU1V1RDJTb0hjNGwvbmNHNEVEaEd1cmJuWWhidmdDbTF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3WEd3NnJVODBZTXIwQTZJdjZyWXNJ?= =?utf-8?B?aGwwRjJ5YXQvK0pPMkFMZTJZUEk2WG51WFFaSTFUbzFsRTlJMlQyNXRhNVA0?= =?utf-8?B?OXkyU2xNWW16MXFlRWVhcFVPeTVNV05RY0RNQldSMktLa3FheHppdy83bVVh?= =?utf-8?B?Tm1oZTFrQU9uZk5KWVFVbnhyWng2NjBwL2hyUXFuWDArV21QU3hVOG0vaTNB?= =?utf-8?B?ZUJKTEFCS1hLaXFkdWhXTjBOL0RRb21ySnFqNzRYVFYzM0R1RzlDOVVhUi9w?= =?utf-8?B?KzhPOWhOeWpET3JvWHkxbkhHclpmaDlHMkQrWnl0b21vMnpWZzNlNlB0ZGdR?= =?utf-8?B?NVdTdmNCcnM1eFc2c2lnMDAxWWVZZUVnQzdUNCs3OFpOVG5MY3g4UC9SMGVS?= =?utf-8?B?RkFEVlNHK21ZWTlTV0VJdlh3enJFSW5sMEFTVWxUbGVvNkwzYmdDYjRJeTVQ?= =?utf-8?B?Y2dMbjR1TjlweHllV2R4NXY5UmRCa1VlK0xZQ1pibEgwb3lZSjdQMVU2Q04v?= =?utf-8?B?RzhDYXdLc1ZnVFk0UHBrMktpUUcraTY5R1dvQUpKMTVYamRaRFliSXhPUDNK?= =?utf-8?B?Mzh1M2FidDJONG5ZekYzV0x6ZzBUU2JQMUY1Vm8rUGxsNmdOSW5ySjdhbFJZ?= =?utf-8?B?eUdSZnphTEwrc1c1Wnh4RWszekFBWGFrRWpOUW9aNklxdXgvZ2g2cEhLTU1n?= =?utf-8?B?d3RZVVNHdWQ1dzR0ZmNkVmNTWVR4c1QyWk1ZZWtVMEc1RFNOWXlWSThZZ3oy?= =?utf-8?Q?0B9keIB9T8sQKrmLsAbD2Gw=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: bf178124-0ecf-43fa-af94-08d99d33641f X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2021 12:30:30.0975 (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: DcO/2eZK/TWi2wILCT7L+qzvHJy+Uc30DWwkoY/OwwRRFOSQYMgJnxQkb47pPAq5P6G7qaA2K+8FHJT4Mz9COA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5175 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [RFC] ethdev: mark old ETH_LINK macros as deprecated 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/29/2021 10:47 PM, Stephen Hemminger wrote: > The new definitions should be favored and used by all new code. > > Fixes: 295968d17407 ("ethdev: add namespace") > Signed-off-by: Stephen Hemminger > --- > lib/ethdev/rte_ethdev.h | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h > index 24f30b4b2890..9709a944b752 100644 > --- a/lib/ethdev/rte_ethdev.h > +++ b/lib/ethdev/rte_ethdev.h > @@ -367,17 +367,17 @@ struct rte_eth_link { > * Constants used in link management. > */ > #define RTE_ETH_LINK_HALF_DUPLEX 0 /**< Half-duplex connection (see link_duplex). */ > -#define ETH_LINK_HALF_DUPLEX RTE_ETH_LINK_HALF_DUPLEX > +#define ETH_LINK_HALF_DUPLEX RTE_DEPRECATED(RTE_ETH_LINK_HALF_DUPLEX) > #define RTE_ETH_LINK_FULL_DUPLEX 1 /**< Full-duplex connection (see link_duplex). */ > -#define ETH_LINK_FULL_DUPLEX RTE_ETH_LINK_FULL_DUPLEX > +#define ETH_LINK_FULL_DUPLEX RTE_DEPRECATED(RTE_ETH_LINK_FULL_DUPLEX) > #define RTE_ETH_LINK_DOWN 0 /**< Link is down (see link_status). */ > -#define ETH_LINK_DOWN RTE_ETH_LINK_DOWN > +#define ETH_LINK_DOWN RTE_DEPRECATED(RTE_ETH_LINK_DOWN) > #define RTE_ETH_LINK_UP 1 /**< Link is up (see link_status). */ > -#define ETH_LINK_UP RTE_ETH_LINK_UP > +#define ETH_LINK_UP RTE_DEPRECATED(RTE_ETH_LINK_UP) > #define RTE_ETH_LINK_FIXED 0 /**< No autonegotiation (see link_autoneg). */ > -#define ETH_LINK_FIXED RTE_ETH_LINK_FIXED > +#define ETH_LINK_FIXED RTE_DEPRECATED(RTE_ETH_LINK_FIXED) > #define RTE_ETH_LINK_AUTONEG 1 /**< Autonegotiated (see link_autoneg). */ > -#define ETH_LINK_AUTONEG RTE_ETH_LINK_AUTONEG > +#define ETH_LINK_AUTONEG RTE_DEPRECATED(RTE_ETH_LINK_AUTONEG) > #define RTE_ETH_LINK_MAX_STR_LEN 40 /**< Max length of default link string. */ > /**@}*/ > > This definitely prevents using old macros, btw there are bunch of them renamed in this release. My concern is if it cause too much noise, if we are OK with that I can send a patch that covers all renamed macros.