From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10050.outbound.protection.outlook.com [40.107.1.50]) by dpdk.org (Postfix) with ESMTP id B2FB61B2D5 for ; Tue, 13 Feb 2018 04:52:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=UDWPtlRpYDnvlUeAjUWVCgVoCaOhXPPHkB2sJa8aXJE=; b=E/hwaQy+8P2nvm3dGnzL4DcLYkXxoy1OZADaRG1WIm3WxN2xMUE0UrKE61kS+PgLr4jp2U0pKXu9PuRegR+3h64w2X0ResX5YB51nElInhUW5Raq/LlT5nQAEYVSzltxLoVMzERngRub6R5CDU1uFnmSmv0wvzLIr/FC8j8fLJA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from [192.168.1.3] (122.180.38.90) by AM3PR04MB0759.eurprd04.prod.outlook.com (2a01:111:e400:883c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.485.10; Tue, 13 Feb 2018 03:52:15 +0000 To: Jerin Jacob , "Ananyev, Konstantin" Cc: "Yigit, Ferruh" , Neil Horman , "Mcnamara, John" , "Kovacevic, Marko" , "dev@dpdk.org" , Stephen Hemminger , "Richardson, Bruce" , Thomas Monjalon References: <20180209101119.69860-1-ferruh.yigit@intel.com> <20180209101818.70041-1-ferruh.yigit@intel.com> <2601191342CEEE43887BDE71AB977258905710B0@irsmsx105.ger.corp.intel.com> <20180210120229.GB7298@jerin> From: Hemant Agrawal Message-ID: <2b154134-d1e5-f7db-e38f-43900b48f91e@nxp.com> Date: Tue, 13 Feb 2018 09:22:02 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180210120229.GB7298@jerin> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [122.180.38.90] X-ClientProxiedBy: PN1PR0101CA0007.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:e::17) To AM3PR04MB0759.eurprd04.prod.outlook.com (2a01:111:e400:883c::17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6bdabd87-1ee7-4a29-5bca-08d572952d2f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020); SRVR:AM3PR04MB0759; X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB0759; 3:NandW18R8npDKyzKEn0NnGs+ioQ441katg+gI80FeYiEsXYUdu8lhdCgFi4XdmtPVAWNEEsFndeqxIFlJT7MXhq7xk5lZqQOlKycxnV6eoPj/fG2Rcc0FTE9CJAAnnMKbjI+7HdmqedKO7b9aurm1TFQuQN/Qe7kJH90WHxZue5c/gPuEIpjuFH8ooDcZv6Mnw9LgK2lGrM805jATgWhrtPHlXb8Z5ndMps7z8hgLtl1rJdxbKzKFDPmUekdCPag; 25:GNoMDA7q/FFNz48rnxTO0veUTcT8i0wBjh7yq/HAP4cxJRQgRtt1+YJkz/oiuIj2jhCPYqLRg4oUswoUdRE9m0HRM1hg7vd4Dwgc4LaYR2J6MbfVLmHOrV7t4inbJXMp6yKuSfDLX24Lvo90pfJpPTM76U2H7EHsV79kWczFLzTvWzfs9J7FQqE50v9C4XS8nah01u0/tfKaU5pIlk6/TuPzFczqSyU/QQaVNZzblUndXvs/OR1MCXCUl039g0GQE88UWjZXLz89lGGsoZXMCT9JZY2urQoOvAbo/+Lr79dy3+2y+joirnak743xMGhF5fMnzVD5yfZmfIfNnGe1IA==; 31:XTPx+1bJeeWy8rmu82Qt0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ILDy8lWZd/W3uoiVFuyBVWPfSLi4++9FD6YplS46SNn6vngduGRmuFu0oz3TSacovzZTw4cYPN6SRoR73QyvZbrx7zcI9SIhm7tgP4hpD5Q= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(3002001)(10201501046)(3231101)(2400082)(944501161)(93006095)(93001095)(6055026)(6041288)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:AM3PR04MB0759; BCL:0; PCL:0; RULEID:; SRVR:AM3PR04MB0759; X-Forefront-PRVS: 0582641F53 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(376002)(346002)(396003)(366004)(39380400002)(39860400002)(13464003)(189003)(199004)(26005)(97736004)(386003)(76176011)(77096007)(7416002)(31686004)(54906003)(106356001)(478600001)(50466002)(53546011)(59450400001)(93886005)(105586002)(316002)(53936002)(16576012)(110136005)(16526019)(58126008)(186003)(64126003)(117156002)(6486002)(4326008)(6246003)(3846002)(25786009)(68736007)(6116002)(229853002)(2906002)(2486003)(6666003)(230700001)(67846002)(52146003)(23676004)(52116002)(2950100002)(305945005)(36756003)(83506002)(5660300001)(47776003)(31696002)(8676002)(65956001)(7736002)(65826007)(8936002)(81156014)(86362001)(81166006)(66066001)(15650500001)(65806001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR04MB0759; H:[192.168.1.3]; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTNQUjA0TUIwNzU5OzIzOkVoQmpLSzBZZ2gzNDk4b2tGWW5rTDZNUkJr?= =?utf-8?B?c1VQb2d6NEUzRWcyZGE0UHhvZ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SKXkkHUwpsvYlIzQtr9Ad011Fb3cCvHDJOdTIwo0hJQDXMClVbmVwNUu3MW7eD8/sWH0ZA8fNvPDgIzNEV9nOLiYj+q7g25aRLgYFwMMLEBmfEk/37qliQbhvJLgxGAimxQMjIDzi1zR79GdL1axcGbt6ig SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Feb 2018 03:52:15.7346 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6bdabd87-1ee7-4a29-5bca-08d572952d2f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB0759 Subject: Re: [dpdk-dev] [PATCH v2] doc: update ethdev APIs to return named opaque type X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Feb 2018 03:52:21 -0000 On 2/10/2018 5:32 PM, Jerin Jacob wrote: >>> -----Original Message----- >>> From: Yigit, Ferruh >>> Sent: Friday, February 9, 2018 10:18 AM >>> To: Neil Horman ; Mcnamara, John ; Kovacevic, Marko >>> >>> Cc: dev@dpdk.org; Yigit, Ferruh ; Ananyev, Konstantin ; Stephen Hemminger >>> ; Richardson, Bruce ; Thomas Monjalon >>> Subject: [PATCH v2] doc: update ethdev APIs to return named opaque type >>> >>> Ethdev APIs to add callback return the callback object as "void *", >>> update return type to actual object type >>> "struct rte_eth_rxtx_callback *" >>> >>> Signed-off-by: Ferruh Yigit >>> --- >>> Cc: Konstantin Ananyev >>> Cc: Stephen Hemminger >>> Cc: Bruce Richardson >>> Cc: Thomas Monjalon >>> --- >>> doc/guides/rel_notes/deprecation.rst | 7 +++++++ >>> 1 file changed, 7 insertions(+) >>> >>> diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst >>> index bbd9456a7..5cb5a00d2 100644 >>> --- a/doc/guides/rel_notes/deprecation.rst >>> +++ b/doc/guides/rel_notes/deprecation.rst >>> @@ -49,6 +49,13 @@ Deprecation Notices >>> rte_eth_dev_get_sec_ctx() is using uint8_t for port_id, which should be >>> uint16_t. >>> >>> +* ethdev: functions add rx/tx callback will return named opaque type >>> + rte_eth_add_rx_callback(), rte_eth_add_first_rx_callback() and >>> + rte_eth_add_tx_callback() functions currently return callback object as >>> + "void \*" but APIs to delete callbacks get "struct rte_eth_rxtx_callback \*" >>> + as parameter. For consistency functions adding callback will return >>> + "struct rte_eth_rxtx_callback \*" instead of "void * ". >>> + >>> * i40e: The default flexible payload configuration which extracts the first 16 >>> bytes of the payload for RSS will be deprecated starting from 18.02. If >>> required the previous behavior can be configured using existing flow >>> -- >> >> Acked-by: Konstantin Ananyev > > Acked-by: Jerin Jacob > >> Acked-by: Hemant Agrawal