From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0071.outbound.protection.outlook.com [104.47.38.71]) by dpdk.org (Postfix) with ESMTP id C5E49255; Sun, 23 Sep 2018 10:47:47 +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=niYY/fVLoBLqOks27X2GtTvfBVex8PeoPlizB/AoG6Q=; b=NlCijKszmbAfU745rqZrDm+8lwWLuneu0k7oucO/WW3Eu5wdUZKfc33d/DjWBXO0JVRU3CxwtR+Ww7RbpN4ogXLOB47S09ETUkVla3UoXopUmvazJgTUQ9CkliMCoFgOFXvksn+tD0TTfromhVUDnFQlb8fXNDaeCDF48e0X+ts= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (122.167.77.4) by DM6PR07MB5004.namprd07.prod.outlook.com (2603:10b6:5:25::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.15; Sun, 23 Sep 2018 08:32:07 +0000 Date: Sun, 23 Sep 2018 14:01:50 +0530 From: Jerin Jacob To: Nikhil Rao Cc: dev@dpdk.org, stable@dpdk.org Message-ID: <20180923083148.GA11283@jerin> References: <1536225103-181590-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: <1536225103-181590-1-git-send-email-nikhil.rao@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [122.167.77.4] X-ClientProxiedBy: SG2PR04CA0151.apcprd04.prod.outlook.com (2603:1096:4::13) To DM6PR07MB5004.namprd07.prod.outlook.com (2603:10b6:5:25::25) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5363d35d-9811-4cc2-7ef2-08d6212f0d88 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:DM6PR07MB5004; X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB5004; 3:ODTt2BdTsCyecF2fu0Aiu+yLdOsvFKx5dm2O7rqDTJxzpZNR1cQN4tLQ+RFoVca3gqj+cuwtaDwJCk6sw/qWHHUpUu04TclYKwGs1ysegZCg+jaROij+rK1WPBleXGF2Gfi7oxJnAQnL/C6T4DDnVD/bZpC46bddDQCOLLRCx3I/d8BPM+8jofZPBRMflatM2NQUriQGxsA2ssZ8Q+kq3yX3PZ6MsPPxNxlrlRiNJzpf8/DG5S5KdJstc0LNPMWf; 25:TsTJGCXnY/BLaO5vLmbsrnzM33fS2BGGdCLb1+DLjvYEeBDwFiRIW7/yz8Qh8ApLw3HMqnT2HINRmqKYV/N4JcgP0KqLWJ/VJlNCRSRPOdXR2fP5GeSrkSbeLy8I4bLyhSi1PaJkS43h5OOEfUlPQL9upXGm1fJNTiJcYXaiveg6OAvbmASsxAmUzmy0rSoGX2pyKvcNPorY2d09Ux4p/i9HJ7Q4wJjTaDV/MbCUMxPVHf7hDRiLEtzCPr0W+5b/Vc5jGvDzrks2Vju3imzEi1S1Ttrr0eFUd/mOfbG3aZOd709slkASe61Vwx+ySFyVBIJa5c/Eu7BARVDVJXZyPg==; 31:wJMLZ5L4ePVN/ATSqbvCfmP4bEywtB7Ap069dnNzfm6ruaIRMTeOzOXHc7t/JTHixWu7buY/LAnwPRVjMUD9ccjkZM/mRvnRstny8t8Zq3c5PeaOoB1r+nPtH8C/p1GGJbYuVQzd+WfJg97GU+VSdpmWrt0ahA/sMqWqIA3EdFbXw+Fr6pgmZ12V7RFHoAkZzUGtV+pr1IumUzZFnBFAV4fI9k/+4KINhMxqnfpEc9c= X-MS-TrafficTypeDiagnostic: DM6PR07MB5004: X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB5004; 20:XhjN+LxfmD0zAuNmG7QpV5ZTd7VR13CTSUWpqliyROqowR2o/UWkrxfP8tTBYudHyAWY/9UO16g4WBQLv9MezH96wYk8JUXAt6I2F/KJGe3fonwSRroQeh7uu5+q3dxRzXeg5Milarl5LCYFSiEh+42I4eaxTjwHubLeozXr22s35arJXnEGYCmBkk+RJsHvE/gemsucN1QUEfLWMvqAx1wlhKVj+00h6asKmsCNSQPwtC1DN4QgDC77/dTuTnN9c7/IuNS/Y411wp+yvUtBtRi7N0UYdLUrLNqhdt7kr7q8SE+6dfVoyO97G6U1T1Up/1pbHjJZjZO6qp3lEX794N+1O9T+T5+imeaq1egOv0QJJ5ylTfWbT0ur7n589LHiTHuXP6WWk/vo3FSHEdMsyjfla5AIkp86Y5+sde1V3Cve5ioJfUtBQiTXCLeJbexYV2dn6DMoTS2GP8+i864xdxYya4x3sB6eZ+YXgw+LQSvETE2bhtz7WFFGAhzcTnWx5oFHiYA47P/LOFO3bw7ZqrTvBQaJnLJm27FJpx4C2dYPc2f2JcjoH3h7Jb6++5juCVbK7pcNvocSj/jK4q9K3552YTeRA6bhnT6cckXxOG8=; 4:SA2Vc+MmzMjDS8dj3Vc72rFAhSTasPGmxxoRXYr9nc9yH8rEYaVDNRhwBfF4lkWmJcnUKyAxV9drMixT7F7VDKuMGREnmq51fsf1dUjkxhz83Nc0pBe0+O9vMZzwtHKo0VXSZoyvgWf/WToE7UcrJ+eqDE0l1PLcjooOgcBP8KpNcR9lnL4NNvCb8U8jrpHD+07VT6wHk4Fyea9aNqfCOAxsIdCQB+6b1ngjIVon+hseRFzCHj4BcdXqzSAoGbth8HZmLNEB+9Dez2NBzdzyvABAx5YmWCkjvvdPMnJqKlDG2tsyQGhKXxgZguW9hvry 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)(8121501046)(5005006)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(149027)(150027)(6041310)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(201708071742011)(7699051); SRVR:DM6PR07MB5004; BCL:0; PCL:0; RULEID:; SRVR:DM6PR07MB5004; X-Forefront-PRVS: 08041D247D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(396003)(39860400002)(136003)(346002)(376002)(199004)(189003)(13464003)(42882007)(81166006)(58126008)(81156014)(16586007)(33656002)(97736004)(8676002)(478600001)(7736002)(305945005)(72206003)(3846002)(23726003)(68736007)(1076002)(316002)(8936002)(105586002)(106356001)(5660300001)(66066001)(47776003)(33716001)(6116002)(2906002)(6246003)(50466002)(6916009)(6666003)(4326008)(25786009)(9686003)(55016002)(229853002)(26005)(956004)(476003)(446003)(386003)(76176011)(44832011)(14444005)(33896004)(6496006)(11346002)(52116002)(16526019)(53936002)(186003)(486006)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR07MB5004; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM6PR07MB5004; 23:YfyDaIWVF0Xu2HoF6cfYCzHTQJZ3E64ASExEeLVgd?= =?us-ascii?Q?59zNeSeW3PKlSs+5nniB+O7NaGexEb6uwvMwB3k1HPnFQ2tAdU9sGMm2fWQo?= =?us-ascii?Q?THFstbcqqMlaP6MRapcd+XFPbj7KZYrUy7DDOhvCfPSRTSnG2cu2soQGgI/2?= =?us-ascii?Q?yW59bvfUE5hks3+VHP1uGJJ8zXj1qczalPXHJVN5cFxGNM4NGGIMFWaNqy72?= =?us-ascii?Q?ogbTeF1kOflNtN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2PhgDep/zUUuMRMgUIMowe2c9cD2Lw0Rr+yGWBBPRxeItD+W0RfUAioObaSx6Fz0RWrr9nhOubMr959qWoxe4L28l4lP//62jey/jXHB4+kA==; 5:Nva8l4nxoytqt9U30xMIwp9XLcBGpWHhkeXvKyXnVwGLcGmKq2HxeAg6S2NliM0bQPTMJ2t3d+nPBvYRsBuDYiFIS4M0TauPMGf5dGXSDNwb6X9y89xU6yrR5NEYdb9adaRv/QArCUFmvYMV913N3PGjGQ6Wv647qw8n/xAyRBE=; 7:ZHnj520qwTjRCXW7hb2/1KagiOKz4kIpaQjQcaDyyL7P1dOuHnaiPf763ew2pJpAv3cKA3uHA/rJIzHIDRDwqJfmBNrpbcYgBpfaM9b/c+Koy7qYydb1m76P9VJxq2FSxLqw4BlojvVPodu5XqgZxB9M00zr7VgzG6Y0OAxhVVTWOh9idTV+7EOozMVqAAGRqpCmpCkoi5vlYAtP+mHafB6c0q7aSIxDhtTY+SjfdwGvGWnGYZJzZB4txBmnjCr2 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Sep 2018 08:32:07.4318 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5363d35d-9811-4cc2-7ef2-08d6212f0d88 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR07MB5004 Subject: Re: [dpdk-stable] [PATCH 1/2] eventdev: fix eth Rx adapter hotplug incompatibility 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: Sun, 23 Sep 2018 08:47:48 -0000 -----Original Message----- > Date: Thu, 6 Sep 2018 14:41:42 +0530 > From: Nikhil Rao > To: jerin.jacob@caviumnetworks.com > CC: dev@dpdk.org, Nikhil Rao , stable@dpdk.org > Subject: [PATCH 1/2] eventdev: fix eth Rx adapter hotplug incompatibility > X-Mailer: git-send-email 1.8.3.1 > > > Use RTE_MAX_ETHPORTS instead of rte_eth_dev_count_total() > when allocating eth Rx adapter's per-eth device data structure > to account for hotplugged devices. > > Fixes: 9c38b704d280 ("eventdev: add eth Rx adapter implementation") > Cc: stable@dpdk.org > Signed-off-by: Nikhil Rao Applied this series to dpdk-next-eventdev/master. Thanks.