From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM04-BN3-obe.outbound.protection.outlook.com (mail-eopbgr680064.outbound.protection.outlook.com [40.107.68.64]) by dpdk.org (Postfix) with ESMTP id A08AA5B1E; Wed, 14 Nov 2018 11:40:11 +0100 (CET) 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=FxUZZHEcAA0coLH6ZqrE1XKwubm6Tr3Z1LK7LCAoKZE=; b=Yl4SF+7yHC7jeKk71npszf6kTDLBkW91gGbiGcekohIpiYbb3pgw0Ota+lKKcDVx2203iwyIcFV7giV/FO46zTF8WkGfrbP/z4vdAHSgoGHxDHbgxHSeXZsfC57VLl7n6JsqMiuASCIQpI6dLVSfrjbGEJp0KbxJNEsGpbdXhms= Received: from BYAPR07MB4997.namprd07.prod.outlook.com (52.135.238.214) by BYAPR07MB5687.namprd07.prod.outlook.com (20.178.0.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.24; Wed, 14 Nov 2018 10:40:09 +0000 Received: from BYAPR07MB4997.namprd07.prod.outlook.com ([fe80::2d56:eab:242f:fdfc]) by BYAPR07MB4997.namprd07.prod.outlook.com ([fe80::2d56:eab:242f:fdfc%3]) with mapi id 15.20.1339.021; Wed, 14 Nov 2018 10:40:09 +0000 From: Jerin Jacob To: "Joseph, Anoob" CC: Ferruh Yigit , "Jacob, Jerin" , "Athreya, Narayana Prasad" , "Bhagavatula, Pavan" , "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] net/octeontx: fix failures when available ports > queues Thread-Index: AQHUe/uBggOzRVWYzUaHl+8mxb8QdqVPFNCA Date: Wed, 14 Nov 2018 10:40:08 +0000 Message-ID: <20181114103957.GA3108@jerin> References: <1542187282-30800-1-git-send-email-anoob.joseph@caviumnetworks.com> In-Reply-To: <1542187282-30800-1-git-send-email-anoob.joseph@caviumnetworks.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [111.93.218.67] x-clientproxiedby: YQXPR0101CA0054.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:14::31) To BYAPR07MB4997.namprd07.prod.outlook.com (2603:10b6:a03:5b::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BYAPR07MB5687; 6:1Q1f17b1EvvYYv+z7NixcUd3oPyMXXSJ6vOlY1HGl7izl1+AQNzN24YAw28xCq6jWAfC7sPFg5sNWWUrlTz0OBNKSWzq1NrIMT/fF0oWePUJE9gNZGimwPlfm2MQevIi9FzdwqqcZlfXRJYZUz1WrX6BL58OzR5Y2mN3mkNv0rdHt1YezbpJJw8EIEqH7POioosJ/Gg7FKXws20Vh+uNtnjPG0LrzntNSMMylWDSIqkuocSNWF6GiSIMZ0PyW8SAkwA5lSO2+nV6YsmDRLDMnGWfXKR41OC+2+ZNuPWaw4JdFmsjiPEseozfl5UGmH0pb9msfB8quylOR/vZ/x4IiO0FOPa/sJKxMr//Zm2t0KPWjynKoG2Cl7udrnsChShcleFGme+hi5y41Tb0P9RyeJ24J4mniK9lztYnD+2PJHVKRX9Gdt4Sj4yuT6JakX3uxQbpyjCjoe8xiF5Sf5dLpg==; 5:+Sq75rOQQckGJJGZEFxqN/drvQlYkUcqeAHCfVBcPZNDkKj2IPKYbSy7CjLX1vDqVNqpfDScwEanKCyqv3s3jdVaBVDsHBom5uIS1pGkoOgJR0H+yEfJtI9fvQcGXKAYRXx7M4foDw+ZyV0+kJdk8DQX31OnWTFXn3PVV9iRIo4=; 7:oCLoLimuBNTwdCVuKtx+OUKY96cIJKpx/ruIe97auvNhZ3Xh8YXuhwEOhioK32rYZkTBoyAqSVtLT6/rpWsD7v4Y3Kljt4jVqnoxm1rGHDuZx7c6i8sIU5sGI6C9QLxSYozOV3aVatux7q87pf00SaFouWWsXANpsTbA+TheqDO+juRThMRKnNvvW6hKkZY/oPN6crTWABrwNixn/SwkxnwJEoYafFeGYIv9UR9FRSSD8ipBNxjbQ9E995X4wDp8 x-ms-office365-filtering-correlation-id: 469df6df-2a38-43b2-415f-08d64a1d8c0b x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BYAPR07MB5687; x-ms-traffictypediagnostic: BYAPR07MB5687: 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)(3231382)(944501410)(52105112)(3002001)(10201501046)(93006095)(148016)(149066)(150057)(6041310)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:BYAPR07MB5687; BCL:0; PCL:0; RULEID:; SRVR:BYAPR07MB5687; x-forefront-prvs: 085634EFF4 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(7916004)(136003)(346002)(376002)(39860400002)(396003)(366004)(13464003)(199004)(189003)(81156014)(42882007)(486006)(99286004)(7736002)(256004)(6512007)(2906002)(9686003)(186003)(14454004)(478600001)(71200400001)(102836004)(78486014)(76176011)(26005)(316002)(229853002)(2900100001)(33896004)(5660300001)(81166006)(305945005)(106356001)(105586002)(446003)(4326008)(11346002)(33716001)(66066001)(53936002)(6436002)(97736004)(6116002)(1076002)(72206003)(52116002)(6246003)(3846002)(6506007)(386003)(68736007)(8936002)(54906003)(71190400001)(8676002)(25786009)(6486002)(33656002)(6862004)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR07MB5687; H:BYAPR07MB4997.namprd07.prod.outlook.com; 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-antispam-message-info: o1hObu7BJwXdZgZLRbhDHKr6x9C9GElf6BbVDXKeS+xmzXcw9TnL6/xPKpNlGE+e+184wQObOQqRAdyjJ0WZmNWKq8rHlqxIllR/XRTR+42kh4Yvz0MXN2MxzzZIYp5ffwx0jKHf6csmG6RKPqOP00pS8BBXEstatckzZ/kVYn7Z6zKkWfMorId0I4IM0erbbq1GbboMab9nGzyE2KDTE+idoxXHXoUAjTgZCogVk0JjYOr+gF91F4cNfpFWmmY9S21PUC3soxCPOBg2r/4G+R/3Z3bqyIZSwmk9bowh2Xb/j948epTXZ4gzLsMFSvQjNqVlCnD7XUovzkGOoLJizT4V0HmyskQmB7HLYNC4fgE= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-Network-Message-Id: 469df6df-2a38-43b2-415f-08d64a1d8c0b X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Nov 2018 10:40:08.8292 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR07MB5687 Subject: Re: [dpdk-stable] [PATCH] net/octeontx: fix failures when available ports > queues 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, 14 Nov 2018 10:40:12 -0000 -----Original Message----- > Date: Wed, 14 Nov 2018 14:52:03 +0530 > From: "Joseph, Anoob" > To: Ferruh Yigit , "Jacob, Jerin" > > CC: "Joseph, Anoob" , "Athreya, Narayana Prasad" > , "Bhagavatula, Pavan" > , "dev@dpdk.org" , > "stable@dpdk.org" > Subject: [PATCH] net/octeontx: fix failures when available ports > queues >=20 > When eth_octeontx is initialized before event_octeontx, eth_octeontx > would initiate setting up of the event device with the max ports and > queues available. If number of ports is more than the number of queues, > some ports would be left unused when the ports and queues are mapped > 1:1. But even in that case the ports need to be setup, or otherwise it > would lead to a segmentation fault when event device is started. >=20 > Fixes: f7be70e5130e ("net/octeontx: add net device probe and remove") Cc: stable@dpdk.org >=20 > Signed-off-by: Anoob Joseph > Signed-off-by: Pavan Nikhilesh > --- Acked-by: Jerin Jacob