From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60125.outbound.protection.outlook.com [40.107.6.125]) by dpdk.org (Postfix) with ESMTP id 65BDE3798 for ; Mon, 30 Jul 2018 09:38:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=59PT1kvn/oyNHPHvMX6BEHPNFFBn+KzdAfYI7UJYS6g=; b=rWTgZg2yWSiKwatRA8jYOTogAaLUhTFfUYMBp14YR9Cp/iJvIDfZodVnHztQ0hIZGw8Vd/sJdHHD5imNV9IQJCL6lRCpxZ0Cv+YV4tyJWxFfYiVUdtgUkrF4NS+j8xhKMBJSexTkmtivwzpaFzYM2osyhF/m/GVvDBLenYQizeo= Received: from DB7PR07MB4556.eurprd07.prod.outlook.com (52.135.141.14) by DB7PR07MB3915.eurprd07.prod.outlook.com (52.134.99.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.13; Mon, 30 Jul 2018 07:38:27 +0000 Received: from DB7PR07MB4556.eurprd07.prod.outlook.com ([fe80::10fa:ae08:1e34:67ac]) by DB7PR07MB4556.eurprd07.prod.outlook.com ([fe80::10fa:ae08:1e34:67ac%4]) with mapi id 15.20.1017.010; Mon, 30 Jul 2018 07:38:27 +0000 From: "Elo, Matias (Nokia - FI/Espoo)" To: "dev@dpdk.org" CC: "jerin.jacob@caviumnetworks.com" , "Van Haaren, Harry" Thread-Topic: eventdev: rte_event_dev_start() all queues are linked requirement Thread-Index: AQHUJ9hNxCmmwHvsL0+l1w2oHNJslg== Date: Mon, 30 Jul 2018 07:38:27 +0000 Message-ID: <21037D32-C2B9-40FF-92E6-55F6FA725E24@nokia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3445.9.1) x-originating-ip: [131.228.32.171] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR07MB3915; 6:2wvItAOhifzWao1MJ+UNxy2ocU0wvOHttLcMxRZzbrar2b14Jcza65yvQUr/1vTusD/p30gQ4qlJxyN8nlq2MvDai0NeONvoNL7IRBCPz5CwqXN0DkgghPwXTlwGL8VVuJKju4PKvnXnlXVwUe4bPevJkh1eqQsLJ38FE3Bv7Nz44dx18ipV4T6u4XUX2gl0Wi0dsk8/7B/+9YV11N005X50ig53kojZ1cTiT32bIfgXUUG2N+aRzN7nWmKZSu4uLscoIrVOsBZTXObZZp0rwRE4na4NsFEjEMw3BZR/pTkRknG1acxs5G5gHxP5sXJinvl3XbtIdVH54bPZay4bzJbuE+JyOTD+JT20vSNtL6mlt5MpKI64feHsW6XrmxcXCUJB9P8pjtyehU9cSFs+fD6MlExGZgfE+0SyY6+w3b9Cu/Qk2LtopCf/dFiWceQ2qzclufVb744xmD6Wp/YCQw==; 5:UMZZGCM8cU6+XshsxTa25Of1h/VqJYV5qpWIy1tAz7FIfhFSMQhyhwRNATANC8tvYxRT7nphYjEWQB0gzl2aI3wUfs101x0379iPMYWH9Sy2PUd9jLydQ2Mk9WERMwB2Sb3wR9/d7wd1c1qsEJXey91htk55kk8X3Vew9u2mTl0=; 7:8SqRdFG2YxN0g5KvzMnfSE+K+S6wLG5/5w007OPLYIzKPK6Hqa0z+V6CoZ5+ppM8mphI5rQiiCkhhuqKpNH9SfM8ce7kub9AcASB71LnSaVGQ8IcJSqD1rDlBTDjtGTDwg1IqOCcoRdmkTOE8FMRO8+jnYPX2mkDiPlRycwpcw0CquGUThqh1jExu3geWfBM0bSpoYcmXLemOQj8ySKindRwllJSZ0KIOw+If30vDhu2d/d/0ns3GMXDLfsqLUUW x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 2cf08ddc-d6e9-4446-ea6c-08d5f5ef7062 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600074)(711020)(4618075)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7193020); SRVR:DB7PR07MB3915; x-ms-traffictypediagnostic: DB7PR07MB3915: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matias.elo@nokia.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(278428928389397)(17755550239193); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231311)(11241501184)(806099)(944501410)(52105095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:DB7PR07MB3915; BCL:0; PCL:0; RULEID:; SRVR:DB7PR07MB3915; x-forefront-prvs: 0749DC2CE6 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(136003)(366004)(376002)(39860400002)(346002)(199004)(189003)(83716003)(82746002)(6116002)(3846002)(2501003)(5250100002)(81166006)(478600001)(5640700003)(68736007)(6512007)(7736002)(305945005)(14454004)(25786009)(6486002)(66066001)(8676002)(4326008)(6436002)(81156014)(1730700003)(53936002)(256004)(57306001)(36756003)(102836004)(476003)(6506007)(2616005)(486006)(105586002)(99286004)(186003)(26005)(54906003)(106356001)(2900100001)(316002)(97736004)(2906002)(6916009)(50226002)(8936002)(5660300001)(33656002)(86362001)(2351001); DIR:OUT; SFP:1102; SCL:1; SRVR:DB7PR07MB3915; H:DB7PR07MB4556.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: dJkKsvuSKqq9eAkfFBExA87tR/idY8o7f8I1bppd+5yDF8GcL3RXNppC1rAto7RXEW5uaeaM2vkLfA7VCfBIMKQZQGwbpImOMvub9Mka+f7gXuD2uhw6VlkpCikUacMnXSqRjGMJQK0sMThExTdo/DkpJMtZZxYOKpz78X6A363gboRT/lvasxM4EwnGnIxUe421u2XrZ74xTKWUEHzgGR42/l85DkK3o8mDXR9jRbJ2pgZ86Mox8w0rEAuLNzNCIEUUY57xkx4Jd4lvSurwG8XWXdL585rh3yqBY31FYc8ZE5u+3lIiOz/e8hILXQGvZVm4luLgxpV5JusQ9YjmMGzNdIlvrpNWdc6XkeMgAMRXmJyEmdFEk86RDFVLoxameuxAuVHpgofNpXdM5ke6DA== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: <1875EF373BA1E549B39CF36B85A5CD5D@eurprd07.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nokia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2cf08ddc-d6e9-4446-ea6c-08d5f5ef7062 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2018 07:38:27.3752 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB3915 Subject: [dpdk-dev] eventdev: rte_event_dev_start() all queues are linked requirement 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: Mon, 30 Jul 2018 07:38:28 -0000 Hi, rte_event_dev_start() requires that all queues have to be linked, which mak= es writing applications which link/unlink queues at runtime cumbersome. E.g. the application has to dummy link all queues before rte_event_dev_star= t() and then unlink them after the function call. This alone wouldn't be a big = issue but rte_event_dev_start() may also be called inside rte_event_eth_rx_adapter_create() implementation causing additional complex= ity. To me this check seems more like eventdev implementation specific limitatio= n, which should be solved by the particular implementation and not enforced by= the API to all applications. From an application point of view enqueueing event= s to an unlinked queue and expecting something meaningful to happen is an error anyway. So, would it be conceivable to remove this particular requirement? -Matias=