From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0056.outbound.protection.outlook.com [104.47.38.56]) by dpdk.org (Postfix) with ESMTP id 952391C0B; Wed, 23 May 2018 07:51:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ff1/sYP4XsNLzsUZmTcMMTpo2yEjARnqudFJh2ZtaAc=; b=Skwjj5LL9g3gfTBqC9syqrzuNJgyWzobsN1vuTm7nUypbWo4j1qUBPBZhHSxjIonbFOG6A8AKa0KOS3n7laWGt4woHgKvp8g7xZSMAl3bj5ajBTz/A/qzh0dmzkC2F8ACGulzMoh4EYxplKqpwGaMd+kfbUu2Y0nPWzIpq2dG0Y= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (111.93.218.67) by BN3PR07MB2513.namprd07.prod.outlook.com (2a01:111:e400:7bbf::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.797.11; Wed, 23 May 2018 05:51:38 +0000 Date: Wed, 23 May 2018 11:21:20 +0530 From: Jerin Jacob To: Nikhil Rao Cc: dev@dpdk.org, stable@dpdk.org Message-ID: <20180523055118.GA10924@jerin> References: <1527023202-51808-1-git-send-email-nikhil.rao@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1527023202-51808-1-git-send-email-nikhil.rao@intel.com> User-Agent: Mutt/1.10.0 (2018-05-17) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR0101CA0033.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:c::19) To BN3PR07MB2513.namprd07.prod.outlook.com (2a01:111:e400:7bbf::10) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:BN3PR07MB2513; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 3:s0ccYgDhliKjIU7//w6alRDmZFlSfgZb+cqPqLXY7zIV8mNj3yL2VSWS8hEbL+SIbcqDusn46lmwsJEzKGRehcz0Qfxkq0nc54QiPVirnzPt+5UqeSnwrlof0Lr4Wr87tZA0FU1z5IDSnt2AQqq8C7VQIUr6vk1/AqP2E40lv2V9um+fVV3N9fs3KEjsXgRge+MoHWdE97F9XU7qmLxWiAH+U/caE/n2+JAJxglKbx626vGEnC3YT/bX3/2Z3Pbx; 25:xBS54Hw8KMigEG+AthOaw0ll7WN/zdVN5VVVQFTKWGSMUT6GmPgO1pSW+KwJzpCNMIMI10wsWy7WQ3ZeyXtt3o0pla6loOPZIHNqrYEzIQEXuSPcUvGpL6wGkSVMQgdjpbvCk1+Bckiv4/eJw/H78tm21k8Q9vJIGMoXpan+gtgZRxi9rhF3JPE2bMihc/JvkYhUTh+LpedqF7VBNwHOKQREQuq1K5uON62ad+ino0ZUkBcHzkYv8a2tYFB3WvfqiRYw+hUr0XPzW94vwqVGoHTgExXUVT5YjZUpVrvyE8FwYhsVma1ckLIzqgaPRQRtaDFv2f5UxudZ96CRh7AzYA==; 31:thzPRhX+ULdCAVwXaCQKkbWVCgw/iwf0vaMfwi5Y+y/5/XD2/gUP20GdCfQChozTzP4acYgYI8Ft3fEEXTlPlPmg7kWrrrTNeVt8k75PK8dvEl2y6saCs2t0sbP92vd5EtBaFL8nW8sOmN39ENbAiMfE+l9xGlWG/zg4zqGAyHVR0Gt+/VqMomqiijZudxgtEzbdM7Cn/iVQo+6/PBT8ybWZ2lh3VqCn5fNfWatnoIk= X-MS-TrafficTypeDiagnostic: BN3PR07MB2513: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 20:BmP8GSKWaFn1x4Y4UWxaIzKTU24ShF5ZE8kRK0tcpD/hulqnr0ExVrNf66YxCQNz7Ph7LyxPGKiEPnZZ/e7hEA/9idP8Kvhd4wCt8cIXsni474+KkruioEK7QJPEx3ekBL9c8+X9769aLOjp32tg3AbYKiBGaeeUdboKaC4ZpvT37rSJXzRMx2XQjYiA2W/vuq7/hgAESwue1bSSAtE639/Rpua4PO9VpI/2qBmbuFahFWEF+7oAR9AjoEC/9kY2z/dsFvbANdm+vWzF1XazL/nYCR+Ox++bX3W/OQ1/5IGHK4E8TUJEpTI2HMNdaKCg0r0p+kzOe3ZT8rXoVtvyPe+TeWZdnsTuFXZfaGRuy245hZYUNtV4VYhRvZaOdHo+An/gv85u3ukHmZFFZwlkKamgwyPh6guDRML7XjrxVsw735Ig4zHIBqoGBp3uJ9K4Q07Ss+hofXPDESQ4U5rTuqMitJVAnndn/gHOzQrMxIW+TBRayOF5NKeQ4XC7VlsmrDf8AhThD8+dWLwYjo1zOGYdER593LzvTEF0OBEdmFQNPkZs57ULRuc5Rrc7+cmsfHoh7aHHAy7wvnO5Y7543I1Q58KQbSe8q7ctZduOif4=; 4:2Ax5UdIklWv8a6gg9W4DLuWdeQ3sD16RBZzGe8xCEVnV0BS7KZlw9EpsRFLgTtaJEhS0EZ2GC3TwRULvarvZujNvs4qeX08bq/nqOeZ+PuIcOBTnArxA0E5kEOYBe0HNEmC8nTPIquo3quG7V0yMgF7Ba0qFAUyFUy+qupLCDhmTyi3bELjkQ1d1ex5n3DwM1YSVy4dptyaBTmdEzTXPjCN7DZnMXeaKgvn2MsD4SzeI+7ZQekp3QSfTcJxSMJ9Xfuy23vYcVRxb1cyNunwjvUkqEP582/R1PUdqM4O0jNzlkrUeGfJlU6TBxqY9P4Ow X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231254)(944501410)(52105095)(3002001)(93006095)(149027)(150027)(6041310)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:BN3PR07MB2513; BCL:0; PCL:0; RULEID:; SRVR:BN3PR07MB2513; X-Forefront-PRVS: 06818431B9 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(376002)(366004)(396003)(39380400002)(39860400002)(13464003)(189003)(199004)(229853002)(26005)(68736007)(66066001)(956004)(11346002)(446003)(3846002)(6116002)(476003)(47776003)(23726003)(33656002)(42882007)(5009440100003)(44832011)(486006)(8936002)(8676002)(5660300001)(81156014)(81166006)(97736004)(52116002)(76176011)(16526019)(186003)(386003)(33896004)(72206003)(478600001)(6246003)(6496006)(106356001)(4326008)(55016002)(9686003)(105586002)(50466002)(53936002)(16586007)(58126008)(33716001)(316002)(1076002)(6666003)(6916009)(7736002)(305945005)(2906002)(25786009)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2513; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR07MB2513; 23:wYyXUb71tZEEKyB6QSJX9g6quOkGCIGpdssVAo+JC?= =?us-ascii?Q?h5vm2OEqKTI/DDVdJ+wGZvGio/+Vk0MJMRc82PazjN27EbN2k1OniOnt78xh?= =?us-ascii?Q?NYH0NuDUr+yebE3bIu+YD7n0kgXBmgBVElwTOHjbwAkPyKZNiLmJoPyxC0RL?= =?us-ascii?Q?stnww052KWi9IsVFFPfzXx6qKwii/+ncM8DxVSx0MVLx1Vet9Obk2YzB9GeW?= =?us-ascii?Q?tmEmbA/Sa2GuV1sCx4NWZofhyhyDVvn7OtS4CkV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fhlGNm75QZs83kVOHpnNrYvK6i8orbg6q7cwy34VsCF8FWXzqACwqQpugCvvl4zWTgzUFFcVHdwS1yd/nvnG9OcFqG4791ma31j7ez8WhjS+hDMBL3ueWtIKXyx1NE=; 24:lOOT3KwLrXVcdeGeSXu/HEH/6iXul15hP3AbsycdDG2iwYXrgs4W8hbjHYM5ZzAD0qub/3Ofka5bxgSu1u6y3AhgCeFsMDC1GIzYb0dMBtY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 7:U2gE+Q75N00wEJDxTIpsjlD+gBSjHKsimIjQOGnfqriu2BGkZL95hswNXh0D/JLDd5bQuYa32hCnnp3PmHEeP+s1fkabrrFnrTFN8EHm1I/OY483pfu0rVeLZBcGAqj2v+eauC2BJWKcF9u6AZk6f2k6LnQQZqdktCTXoHucOrKzikwmUauShf4h0c9bYbOPgpDuvg/nCGvO4jiVhWnD3kChN6o/vdoX/bbvFuBm5PF1GRcdpNG5lMhas+J7OKok X-MS-Office365-Filtering-Correlation-Id: f4cbcd69-4756-4065-c5df-08d5c0714103 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2018 05:51:38.5406 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f4cbcd69-4756-4065-c5df-08d5c0714103 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2513 Subject: Re: [dpdk-stable] [PATCH] eventdev: fix eth port in eth Rx adapter internal function 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: Wed, 23 May 2018 05:51:42 -0000 -----Original Message----- > Date: Wed, 23 May 2018 02:36:42 +0530 > From: Nikhil Rao > To: jerin.jacob@caviumnetworks.com > CC: dev@dpdk.org, Nikhil Rao , stable@dpdk.org > Subject: [PATCH] eventdev: fix eth port in eth Rx adapter internal function > X-Mailer: git-send-email 1.8.3.1 > > The dev_id parameter to fill_event_buffer() should be 16 bit, > also rename to to eth_dev_id to avoid confusion with event device > id elsewhere in the file. > > Fixes: c2189c907dd1 ("eventdev: make ethdev port identifiers 16-bit") > Cc: stable@dpdk.org > Signed-off-by: Nikhil Rao Acked-by: Jerin Jacob > --- > lib/librte_eventdev/rte_event_eth_rx_adapter.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lib/librte_eventdev/rte_event_eth_rx_adapter.c b/lib/librte_eventdev/rte_event_eth_rx_adapter.c > index 6f70509..273df1e 100644 > --- a/lib/librte_eventdev/rte_event_eth_rx_adapter.c > +++ b/lib/librte_eventdev/rte_event_eth_rx_adapter.c > @@ -418,14 +418,14 @@ static uint16_t gcd_u16(uint16_t a, uint16_t b) > > static inline void > fill_event_buffer(struct rte_event_eth_rx_adapter *rx_adapter, > - uint8_t dev_id, > + uint16_t eth_dev_id, > uint16_t rx_queue_id, > struct rte_mbuf **mbufs, > uint16_t num) > { > uint32_t i; > struct eth_device_info *eth_device_info = > - &rx_adapter->eth_devices[dev_id]; > + &rx_adapter->eth_devices[eth_dev_id]; > struct eth_rx_queue_info *eth_rx_queue_info = > ð_device_info->rx_queue[rx_queue_id]; > > -- > 1.8.3.1 >