From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70055.outbound.protection.outlook.com [40.107.7.55]) by dpdk.org (Postfix) with ESMTP id 1039B14E8 for ; Tue, 31 Jul 2018 12:34:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5hCPVvm+os4SrKu5V/vJMD+pJGVe6IZvPIExRloUltg=; b=TIel/5BsWiV3c9oNt1bo6ZMcVyYRg81mO0/4cBscTMELML8GM7L2o4ok5omqo6Cg/edKmBQGy7M0FYG8V7XRCM3+A3ExyV9EDw7wEUUzOHwMo4i394232o7qJfINE0gyBqXmwZh7PNrlJxMcyKpEd51X2NZEJdmgVNPH4p+MKJ0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from Tophie.ap.freescale.net (14.142.187.166) by AM0PR04MB4675.eurprd04.prod.outlook.com (2603:10a6:208:75::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.995.19; Tue, 31 Jul 2018 10:34:00 +0000 From: Shreyansh Jain To: ferruh.yigit@intel.com Cc: keith.wiles@intel.com, hemant.agrawal@nxp.com, dev@dpdk.org, Shreyansh Jain Date: Tue, 31 Jul 2018 16:03:01 +0530 Message-Id: <20180731103303.14988-1-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR01CA0105.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00::21) To AM0PR04MB4675.eurprd04.prod.outlook.com (2603:10a6:208:75::17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9128e695-1c58-4a01-2045-08d5f6d1217e X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4675; X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4675; 3:QZXi3CfXWM4S5p1AQn3wmw1ZyQLC7HOh1qaDWzlqyQgJhYmaiINxQHR5MTlkNVbyVClxm/SOO533YeOpyXA5t0fgUSjIb0qTB2oO62shKZSzti93xZj0J30KTlv2697Hf04ANyKfFd/gcb9AuQEE3Oo/r4qHosfau5S8htApSdsJpFMatZFH3+sCvLlIFTLxwv1JItL348hh/ALv7F8t5vVIsZJXmAYuT1cT2sOil2SRRz7v2syvlj0AO15VdlNd; 25:ZsSNqRmSumI/mC7oz3uqHjfQlIIMCnv09Y5DoIIZv1Xv6wd+hSNZ6xRHov7Dmjqnf9/1hhQNqxLDXrv6+ZefqvxAAOjVNR2gHi/xD/pDK6jM2iIrnFXDmNI+fZsl9GKfNRCbFnivn8IMRej/18G8Ug95y0blJiaecSNvGQvVWbiooUCX9bHzp+XRdT4Ot27vPbxoC6102OxTOzoviksq5n86WXTr+cVpEBTekT7Wu1z8FbX61zzmFH/BJWUQS/4D8NcTMlziZXluNuIKu7gc7d77BIOXFDQANGb6p/+2ohDTt8G51mvjEBin/7KqrHMg744EWucFPbq1b6fy+oLOGQ==; 31:Xs4tRaiI9wFzNTU/1mkI83K3tQ2yPmKROaH2bgl0GQHiuJB8vADE4Cs7qVRoQthaqxeuwdat4wKz+tlAQNUgqFs0nf47PG5hiklbOW2744ekBM+84TZpPma+1NKacbhqjU3NyONNLf3Be8j5v4hCJ/SE9pAec7Nznc/RJvRoXTvbOLIz0ZfjCl0ZqDvQvAv7SrBxTqptXhcL1Sn+roned9Q0KpjCbj85V4GBRcvn+f8= X-MS-TrafficTypeDiagnostic: AM0PR04MB4675: X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4675; 20:Qv8R06XtEPDeLHkvjr8pc1SQGxgRm+GPrrk2x8FnKSZU8XpnRAOtWyR5pzC1peF7fmOYO0xqkaORUeGD+walhvfC28Ild3zWk8ovnOw6BxoXXpPK30Gp9Eiyk9VQaf9ODZt4t8NegDwP+59uwFaX4teyGWN8qI2NuzNaub/sCrS0rRsVoHpakdCzScZBQnnSbYpnRnLLYsGOym/kW4lUWSg1yH0ws3W2VhG7bT+VHFPWkRB/9bnRSX3XmMMfncdzXbQ7Chi1/x6GI60zkxDFDvE0QhAj3nmNy3zlBerQp7XABfBdsF2OzGZqCn4pRel3YbqbUis6qvQN6MO66hbrcxZo1Lu2duxim7b9x7bB0DRDNwy5O8SdHL18HDj2+XU5kLmPoZrUm4Zg58uAjOapxNSY60WEZdIhCFp2mQ4VCjF3+1E27vnXq9R1dCLpDmjJQmMrWSAwqQCaByMEiqZ7AK2Ga1ytRnEERsjx/Sb9u0nRMZ2itjJhOykqjTZr0dJe; 4:4lUc64XExWrAN2BBoGPq8vDMIuvYDquCBkAeGmLvHP03FhE2xsaTv9U3DxtuciGB5vcfWnCjt+33z106WUjgmwZI+hcDcwt5c2ugZP5boI40rlhlbo8I5AdthJkqYV6GWHC+R4sf7aX906OgletpnPwipp1/ss1+DjbfRbu7lOnPXalr3c9FGhAsLdaQ2mUClA493rWzgcrWywxZJtNRi5iCDzJPaY0n3qtGctWPceg3N8l7mB+4oeOwPfDZaO+TwGLEVL6BcZlA+EBDE1+HGg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231311)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:AM0PR04MB4675; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4675; X-Forefront-PRVS: 0750463DC9 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(979002)(39860400002)(136003)(376002)(396003)(366004)(346002)(189003)(199004)(106356001)(105586002)(956004)(53936002)(6506007)(305945005)(386003)(4326008)(25786009)(47776003)(2616005)(6486002)(66066001)(6512007)(55236004)(86362001)(2351001)(186003)(6116002)(2906002)(3846002)(97736004)(36756003)(478600001)(48376002)(16586007)(68736007)(50466002)(16526019)(26005)(5009440100003)(44832011)(51416003)(476003)(7736002)(52116002)(1076002)(50226002)(81166006)(5660300001)(8676002)(6916009)(316002)(81156014)(486006)(2361001)(8936002)(110426005)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4675; H:Tophie.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM0PR04MB4675; 23:TjDaMtte6GTXH/Ay58pfted/HN7cA+ezO7EQ0ciXs?= =?us-ascii?Q?EZLowXrO74Xn29592raGDrsGEYhjUCm6hWXQTohhWfASWW6Kw2pWTFDsfDvd?= =?us-ascii?Q?4z2GODx3/LkuT/svXsVjIxwqdSt6mSvlcofxKge1spmoyhl+ZCzqk+T7L5/L?= =?us-ascii?Q?k7eqkkhNDRXC70cuMi2O2FEPLaLpI5pwS+bYf8RvpHmDtwEtWTKpcph+rjA0?= =?us-ascii?Q?cIJiWZarKMIUsEgWlc3uAoaGvr6lnhuCuxaPiuI4FIcXEuzmvbuTpIAYODC9?= =?us-ascii?Q?Ky7aPCzf2Gjx95wAE+4xhhvQKpFffAAFu2x0Yd6UqPr0oYzq2TW34AP0bOpH?= =?us-ascii?Q?RgSsYtG5vg1T6rWwlsN6p/s/hdleFtv+P9b+hOsZ+q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f7wCFFmIJzhIfQRSiZRIpefrV1KHlvDpqUwxJ0fb2Uk68BOoEXQI4aQFxMa0eCFhFqY5VYGPPfAa/NZmS5liW+fw3xQf8w=; 7:zIuerq1OT2yf6oSL0nSWs0jTBL2F9Z1iIziJdUX3guGI8bi20SAD3KIUOozaHRd00fNDQKoYOHRKGhJBgQfu2Bo5ibclYjSza7k8lLzWwSFLWEC38NIp44il0r+Mj4/IWBmflRbH7/zdNkMDx+BLQiJaKd5YmmdoWBcPSjoiDJ5vouTRe4QZdrOeI7PVeDcU6UN+vev0/fsmAJfd5tQYUhtfOIHGfJoBgm6GnvNsrGVbDxlK8q0AzAzDMt9HXd3n SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2018 10:34:00.2577 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9128e695-1c58-4a01-2045-08d5f6d1217e X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4675 Subject: [dpdk-dev] [PATCH 0/2] Adding a missing queue count API in rawdev 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: Tue, 31 Jul 2018 10:34:03 -0000 Recently, off the list, Keith pointed out that the rte_rawdev_queue_count API was incomplete - only the declaration existed but no definition. This is an old miss (and embarassingly, almost two release cycle long miss!) This patch adds that and the relevant unit test case. Ferruh: Though I am sending it as a fix hoping it would be possible to merge as 'fix' for 18.08, if not, I will resend with map file changes for early merge in 1811 window. The changes are completely independent of any other API or driver impl. Shreyansh Jain (2): rawdev: fix missing queue count API raw/skeleton: implement queue count API drivers/raw/skeleton_rawdev/skeleton_rawdev.c | 13 ++++++++++++ .../skeleton_rawdev/skeleton_rawdev_test.c | 13 ++++++++++++ lib/librte_rawdev/rte_rawdev.c | 12 +++++++++++ lib/librte_rawdev/rte_rawdev.h | 1 + lib/librte_rawdev/rte_rawdev_pmd.h | 20 +++++++++++++++++++ lib/librte_rawdev/rte_rawdev_version.map | 1 + 6 files changed, 60 insertions(+) -- 2.17.1