From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0048.outbound.protection.outlook.com [104.47.38.48]) by dpdk.org (Postfix) with ESMTP id 8333C3256; Fri, 1 Dec 2017 10:01:34 +0100 (CET) Received: from BLUPR0301CA0002.namprd03.prod.outlook.com (10.162.113.140) by CO2PR03MB2358.namprd03.prod.outlook.com (10.166.93.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.282.5; Fri, 1 Dec 2017 09:01:32 +0000 Received: from BN1AFFO11FD031.protection.gbl (2a01:111:f400:7c10::193) by BLUPR0301CA0002.outlook.office365.com (2a01:111:e400:5259::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.282.5 via Frontend Transport; Fri, 1 Dec 2017 09:01:32 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD031.mail.protection.outlook.com (10.58.52.185) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.239.4 via Frontend Transport; Fri, 1 Dec 2017 09:01:31 +0000 Received: from [10.232.133.65] ([10.232.133.65]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vB191QPh008781; Fri, 1 Dec 2017 02:01:27 -0700 To: Ferruh Yigit , Thomas Monjalon References: <20171201022957.64329-1-ferruh.yigit@intel.com> <20171201022957.64329-2-ferruh.yigit@intel.com> CC: , , , , Boris Pismenny , Aviad Yehezkel , Radu Nicolau From: Hemant Agrawal Message-ID: <7e45dddf-0225-400f-d653-db6dd3fab77a@nxp.com> Date: Fri, 1 Dec 2017 14:31:26 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20171201022957.64329-2-ferruh.yigit@intel.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131565924921191978; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7966004)(336005)(39380400002)(39860400002)(376002)(346002)(2980300002)(1109001)(1110001)(3190300001)(339900001)(24454002)(199003)(189002)(65806001)(316002)(68736007)(50466002)(8936002)(65956001)(356003)(104016004)(54906003)(53936002)(64126003)(4326008)(189998001)(23746002)(6246003)(65826007)(230700001)(76176011)(54356011)(67846002)(5660300001)(47776003)(229853002)(81166006)(31696002)(36756003)(498600001)(2906002)(31686004)(77096006)(97736004)(105606002)(2950100002)(81156014)(8676002)(110136005)(58126008)(85426001)(305945005)(86362001)(83506002)(106466001)(33646002)(53546010); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR03MB2358; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD031; 1:ZJM1elXDBQ6zg5ytqPXNldL7IKYhnGKPL9JJ0/QMPRUjD7GN0ZnTCtiuUAOu8JLoP7MdHpY1YU/DtXfEu9FK4SvTIoHiXEmE/30+/vxP5avSOlVZftbAAixmdkSJbJIu X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0074bd7b-d4ea-4753-ccc9-08d5389a1ded X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4628075)(201703131517081)(5600026)(4604075)(2017052603286); SRVR:CO2PR03MB2358; X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2358; 3:3no8lh/h4dfASxy1pKMm+Bv/N6rPF1dbMD5s3J116iTPls/7AwAI0cjJNAE/0YA7n6LP1WgyT/yv+wj23l8FzpG9Mw2Pwf3RY+fLJCd5fnfXMF+AAAzhvnoEQXAi4Kcc7tyVIRIbzERZ0bEVKfwPVIVDlXVAqeQKu3Nn96wPYyh8TcZk+5bOsJrwu8gvgdV3TZwC1xqwvUKBdTaOM5rPv/3vvhBf2jxH+o1+zhivh9oEzTXhOlP9159o2yzIu1Q45/Lc5PrgxGbJ4MRV3eI04zz+LtJcui8wR/2ipZQZLesDysuUzGNW31yWKaNqJP9eDi8n+CN+mqSfVno/Gue6JvWKBjYqEEMeq7+oZjLDpk0=; 25:eKtNCl2/mbENm130U1POfXuQAAuixbNaBzPCQlK+/6mhAASU56HJwvetviXEnjZr9phAxR7Q85h4adQe/KxkuBJzidoR9TmlcGsOIHM4W8Nrg4PEX0VFJyotVXXGYEOlo4zI8EziwJyLInfl7hwBHpcYtUvD6Usglkk7WxXcDwMnH8W3BxWCbH9L7DydDaqDCal8wihZ8a2RqbiggKxChi7zfbxHWl7B908GLbcl1Zqr8UMGRzTlRV/Fipme5g25QT/vpXrdVrm5BIpp1w2rYTVr4VLY69yvYhjtJmNRqA79VZ5emwyOizbSK9h3Nugz1zHRhhhWrsGp732vQoPAWg== X-MS-TrafficTypeDiagnostic: CO2PR03MB2358: X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2358; 31:gjQB2Db5Sbj7e4sDxA9rWUgp3W/jODRiYBsjVch99FLHGr37qvLXYdVHZUfZXYtAL282+iqwvLVB6uUosqCgoL7OryuBg0Bm3l7Yxt/Jk2fGVcISsGFErEsLTO+q3eMV3NW0wjTSOQeHvrSYb6y5YbTu/78t+UPkR6akWDCznWUlHzJLIwCMBNEYwEoI72w5pbye3ANcdee/Diz6+oxg0JYyhetzxlBt3fqjSefVpSU=; 4:7dVV+Zal0yCMHwdbQ9MPhdwzIZi8kntzsfn4nOlzinq49Wy8PddEWb9/1hqWHI69+7sn5PWOztVpbYz2W+/KzcRSgFZRl7xLZIy7Q9ePepYC/B90pr9G5A5ZdPEQKOU0O5ufoarWMkhAwcyiddK4QcjMRv3MR9UbtjVoDdBXO7lGDSRFIo2C0LKHDZCKAe2N3/+YweWnoiGu7HN081pl7y917KGnnY1qk4KnlX4eDk922QB2d9KdUCDKAVu4yQI8yVmGiHOakBhDq9C7zKxJ6iNWVAFvyu9dGV1qApdpWX0NJyOAUKopgIYQ/mYiX80hcIIbEMvfX3gbCxnKmr5I73DMplbiu47u/6kcIK4Y5l8feglAJ729X/0DgwCUG3JS X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192374486261705)(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231022)(6055026)(6096035)(20161123559100)(20161123563025)(20161123556025)(20161123561025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123565025)(201708071742011); SRVR:CO2PR03MB2358; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:CO2PR03MB2358; X-Forefront-PRVS: 05087F0C24 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; CO2PR03MB2358; 23:9isyQE5HckD0dTX5h2JpPCwWIf5ewBxSQbygf?= =?Windows-1252?Q?f2kvCz7ku0vnHrEalyafMAPdEIGhTBAgsVpxutQp+XkAijuI/txJ1IPC?= =?Windows-1252?Q?eLMm7l626Gh59HzrecKFOE9Ga4nQzxBlueGril7jx+saHFPi/Tpcr/70?= =?Windows-1252?Q?EQzPlixcxApZz6Xgeayv+VykjZgHvEjyBknLiECz6Koo7SPb1LVnKIiI?= =?Windows-1252?Q?kSzAW/TUkRIf6l64j/aOCDjAv2rh3LMUkweE+yllFHPHO302qKH1HSDV?= =?Windows-1252?Q?6b2GFseLkd0UWj2NDjENwbfGRFgUyc0uHQbtz7ELu1irsD1vaNX0n1T3?= =?Windows-1252?Q?EPe6e6ZL6dkukJB3EXfTPfRgQ+IRdhR2LK2k2jJwUe+Aj8ItZi7oee0F?= =?Windows-1252?Q?vOmoco1WTSlSW/ryVQHgreAwkz1Bc404JAlQYWQmhZh9q76hYTNn8pVo?= =?Windows-1252?Q?oQM0lNy5dSbdnqYB7HyXGu7zyq2/c6zcPVyK1aWK4nMm8da8DRoz7xWv?= =?Windows-1252?Q?HRSKfdbSrrWzo3SZOsbdIkLpyOnQ7776CVjolQw13BHuP5k44fJw3bt8?= =?Windows-1252?Q?+RsnZTXP2NiCwvPrZCNifXkNlLw2F+osUei1oZyRAPKegbdxywwq7xJi?= =?Windows-1252?Q?tET1cOkL3RKCuB2XlbHeGYxoNamoL8JxsvrGP9SNZLb/H5pBiA20DBgr?= =?Windows-1252?Q?9jhgxoq9QD58yfSdy1U4Xxw6YVqzymLYpk90mXe6g2fVtFTQ2+q1dDCD?= =?Windows-1252?Q?G/ZzHonssTYzH9xTbcPzFWXQflndYZLht6rxe/KLHXJuAXkN3AfbEPlc?= =?Windows-1252?Q?LmLuCrQTEVtlesRE8dykClijPzZaQAnMIETm67XnOwLqGbwK2EX0UOWB?= =?Windows-1252?Q?2/ZdxBzNoD8bJ261JSn4Ij77IpCPslf5mxP+/44+f1lvUxhxjODM5Act?= =?Windows-1252?Q?reoBn1UMFDhndY0QNWVZNlFRehb2yJVbquyY7GWp1KI2RDX+vZJy8lZ0?= =?Windows-1252?Q?GmWQd1qK1MfO97WtI6LS0oKs7D9bG6eP9BVcTV1nxG+WVvlKFfKOE0by?= =?Windows-1252?Q?ak314WIJMOFoV5Td6VuEHIT54LTldgBT6ba89MKyomrdOVHw+QGtkSo5?= =?Windows-1252?Q?o8ZH6Unu/rkG0bsLmFtLPqEJvhbXOpFYy1Tx5k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FT+NlB0cSAtutQM30CTttdfzlY0=; 7:n5WEZ3xczPs0dZfJE4VyKqDteZEqP9ZoOD6YIkKECUFnA8jWqAed5KOTsJDywMymFgkys6+GWGXONB7di+F1uOPdohoJMjQz/jaqVGugN8wXy6fwTbkG3BlfolhUs2C/CKX5nz587PjkwPiaKeo7nHbKpPo9u2BivcucLFb+wz9tbFumjWtn1y95o9JjHwY/eX4R8qcb3jIksMKY7psy/AcWbNfDuKZNfVdkqnvys4i4PzZKMNecqK20vuwjRoee SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2017 09:01:31.9007 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0074bd7b-d4ea-4753-ccc9-08d5389a1ded X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR03MB2358 Subject: Re: [dpdk-stable] [PATCH 2/7] ethdev: fix port id storage X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Dec 2017 09:01:35 -0000 On 12/1/2017 7:59 AM, Ferruh Yigit wrote: > port_id is now 16bits, update function parameter according. > > Fixes: 4c270218aa26 ("ethdev: support security APIs") > Cc: stable@dpdk.org > Cc: declan.doherty@intel.com > > Signed-off-by: Ferruh Yigit > --- > Cc: Boris Pismenny > Cc: Aviad Yehezkel > Cc: Radu Nicolau > Cc: Declan Doherty > --- > lib/librte_ether/rte_ethdev.c | 2 +- > lib/librte_ether/rte_ethdev.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c > index 318af2869..eed3d3005 100644 > --- a/lib/librte_ether/rte_ethdev.c > +++ b/lib/librte_ether/rte_ethdev.c > @@ -301,7 +301,7 @@ rte_eth_dev_socket_id(uint16_t port_id) > } > > void * > -rte_eth_dev_get_sec_ctx(uint8_t port_id) > +rte_eth_dev_get_sec_ctx(uint16_t port_id) > { > RTE_ETH_VALID_PORTID_OR_ERR_RET(port_id, NULL); > return rte_eth_devices[port_id].security_ctx; > diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h > index e620c3706..59189096e 100644 > --- a/lib/librte_ether/rte_ethdev.h > +++ b/lib/librte_ether/rte_ethdev.h > @@ -1745,7 +1745,7 @@ struct rte_eth_dev { > } __rte_cache_aligned; > > void * > -rte_eth_dev_get_sec_ctx(uint8_t port_id); > +rte_eth_dev_get_sec_ctx(uint16_t port_id); > > struct rte_eth_dev_sriov { > uint8_t active; /**< SRIOV is active with 16, 32 or 64 pools */ > Acked-by: Hemant Agrawal