From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0054.outbound.protection.outlook.com [104.47.32.54]) by dpdk.org (Postfix) with ESMTP id 2E0AD2BD3; Tue, 17 Jul 2018 19:14:39 +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=ErizDcK6N50yJurFK27KcFpoYhwesphxIfYN59o0rQU=; b=kDBK1it48uzbRL/2byxsmkMY1aHn/BwaT7nF5FudYLNifRSQ2Fhpsq+mPz4HAdHAhR54weH1PETJT64wkzmV/m3swk9dZWTVT/AzJqgxU4VjhR7K6GHNakuTZHjzVFtfaRqj9nyNirHxiYWh8rR8tDZ5nQkea8ie4/u8HxKc+NI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin.caveonetworks.com (50.233.148.155) by BL0PR07MB4995.namprd07.prod.outlook.com (2603:10b6:208:49::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.952.19; Tue, 17 Jul 2018 17:14:34 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: cristian.dumitrescu@intel.com, Jerin Jacob , stable@dpdk.org Date: Tue, 17 Jul 2018 22:44:17 +0530 Message-Id: <20180717171417.31425-1-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [50.233.148.155] X-ClientProxiedBy: MWHPR15CA0069.namprd15.prod.outlook.com (2603:10b6:301:4c::31) To BL0PR07MB4995.namprd07.prod.outlook.com (2603:10b6:208:49::24) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1cebbb90-94d0-4e01-6e01-08d5ec08c5cf X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:BL0PR07MB4995; X-Microsoft-Exchange-Diagnostics: 1; BL0PR07MB4995; 3:YgjbksmGS4DrVuY8AD2sM9rMdaOXi5T9nwESvyQHdKQgYtKbJTE+TQJbSfxhntPhpN3i84LLvO1nbn00BzfC59N5ZKYCP0Od6KmTNVwQmVAL0nQ3HqeYE9E8yraBpoXUWFVVzZtUMaMsGo4ITz58dQa73iZpGoBATryzZUichYU7vPoQXLZ4+6sZ2khef6h9OpL/FPYBzDPv+qHeaxOrmZ8m2NGnxmM3cHpUkORmAppQGeF5+Rbp8QaswUdtEvDk; 25:MEtXOjyemSidhoxCVusJUMEDubp5HC2CtkGJFwM34gXDyASB9po7tX5oVs4ZP1iGGeRyFJaWLzLEoOc+AL1lVBXV7K+0XabcbenJCQNjSVfZO7EW43jC0Ce/tkXwVdiYRXRlCOiVwX9RkXbyG2KxHd7f3Tfk69cNIyZ3SFZYR8JRycS+ZFrdNjJ4WGWLUKE7RbUqWroL9B9hN4L+2B89qJNv72BpICPNQXtmgxvlRGvnFLBLRqbab9wBWYL/1kH2pr8Uh1/D3V2Kl1fnm5LGYcphXeN01buWZK2UoqA6pJYShPoR4YUVthxsyUgZvApxewxy2wSaBeETrn5f5r1c0Q==; 31:IEO2mozGIl2enQan27FCZAybyuhMALd/WST/uRqa8Exkclm89vnW8qPWvS8XTbWJTEA73LwjPzrcUP5ymzOjCluisEp6YM1rQ+lcdKoPo25lkzWOa+TE9O52nWhZxzFqowwEGPMjhtHNKNATb9ElcE0s3IwER5OVjCkG935TkU8gAx29rHuuB0GQp2cVBi6GXIbP6eIt7WR2galXyPvak+QGjguWs9SARRR0QY2MY6c= X-MS-TrafficTypeDiagnostic: BL0PR07MB4995: X-Microsoft-Exchange-Diagnostics: 1; BL0PR07MB4995; 20:1NeGSqHyTma51p2jWNmyMtWgy/HAsySQDlYoizjzp/nbRzxqv55Wbni3mA35omZtIKAEINab07Z05cseVkRG4Jvy+EW3HrbTDyYyjIEQ8pt+wMs+2pc6UMcD+GrIzWqQ+ilvzDcSnMNRcfUpYK9W3Hd7pO7vjqojNWOGMlRee6VQm23n1jCd7K5xfujNSKtEASro7c0Qy0BYphn/Fpv7yfmLnvTjaVR5yTmZQBT8oN1XHbQvQ2e5Q6XkcZ/6vbTkop3SvZdUXuJp+q61L9cVaIinPfzqu1qFKig6xNoC7GzNi14uQUC6bgPwBRuN34O9OExc52eyZHoCT8QGeCCyX2iqpDah6m9FpkdqsJtsyu3/8rg8WcQBpLpeI0RREoWDscV2gMS+W+5LkYjHaRuiiF2YRe/zG2j5lreXpqakQ6OweLq+hqq+IbIqbdNHCEk2oI9Rcd63AADXjTOQFtA7D8kyIpNq1+es/RuQp1S9l9xab3LSBd2Bq9MB6wALaVrQdiRRa4dgoWqwh/YRhG5s6uu6kPjd+Cr4HI96hAbuTdIUuXXkepaJFBZ/x5VXhkBCDqaoITa2HkS+ACrIqROuqZqmrYsusk+QVwx5sIgPqDo=; 4:0OvY1xcI4mUAlWp0/U6ZtA21P1CBJW2oXp9Vex9o8qBLmTH6ZbleBTZaqKpOLLblxVeuUy1I+lJnm0yai4kSmFyPwepDOKDlo1EBBKUeuOfcats3ZhVP2xTKjIvWCxlbh9P+h2wk7LVc+k2kNGquBIhKg/Gwn/2ARDJfPXR8I3Szl5/oWuX3067+ZIJl2gik5AJpIVzAtg5XPguVkg3eua6PxHcn4vgnKAb9BqCnV0/fQdw45mkocdLxgEUSZy/w2ouYaUaVJSnPq6lWw1E4yg== 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)(8121501046)(5005006)(3231311)(944501410)(52105095)(93006095)(10201501046)(3002001)(149027)(150027)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:BL0PR07MB4995; BCL:0; PCL:0; RULEID:; SRVR:BL0PR07MB4995; X-Forefront-PRVS: 073631BD3D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(346002)(366004)(396003)(39840400004)(136003)(199004)(189003)(8936002)(50466002)(25786009)(44832011)(48376002)(81156014)(53416004)(42882007)(4326008)(66066001)(47776003)(5660300001)(6916009)(81166006)(51416003)(2351001)(6666003)(6506007)(316002)(386003)(2906002)(36756003)(52116002)(8676002)(486006)(16586007)(53936002)(3846002)(26005)(2616005)(97736004)(1076002)(186003)(68736007)(478600001)(6486002)(50226002)(16526019)(956004)(72206003)(6512007)(1857600001)(305945005)(7736002)(2361001)(69596002)(106356001)(105586002)(476003)(6116002); DIR:OUT; SFP:1101; SCL:1; SRVR:BL0PR07MB4995; H:jerin.caveonetworks.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-Exchange-Diagnostics: =?us-ascii?Q?1; BL0PR07MB4995; 23:Y9cPLkcf4kJRmyzw5iJ8eWMctxOQF+g9IuUbyyhKA?= =?us-ascii?Q?bIpvy6JzWBj7RiGOhMkGvukjj25fp5GxByEP8QojWCAB1FfsyOxsvq+5I/32?= =?us-ascii?Q?+mNgLGcpHj0UOKDgiFiq2HWnKYyhJWH47ugi1ICJLOS5pK5jZ2Dj851oQtCv?= =?us-ascii?Q?jFChRSoQnVTuwXr33GU+7BN61ZloCV/tv+z2jwOYzF9zxy+lpOnWtcx5wR+4?= =?us-ascii?Q?tHODGVxlLBwvWKdPrRCDx67tZuANH9ovpR5klNjMC7KdnSOA2s1bBOYTJOOL?= =?us-ascii?Q?rjayNwf43lam9T8/RzRqKfHUaxIQoHJQBBn4B1POa7VgDszoX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E5BLnUPrFhy3Bljnv98zTAw1QtXp9DzEF7epdyYnXbCnunoICUjIyy6aAufOcwNo69Bh8HhrKBav2WPcpb5yLpJg=; 24:GHaqze+FBrs0ef5GNMo2pHTcOaHT+T96o78KtNd9TqlpyJ92qPZkfCcTgvCY4fAXfh8Lh7fe8il3mSfhSW9AM64c+VWgqTJBRgxdDFjaSVU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BL0PR07MB4995; 7:t2B5cjAmCJ9bJTft+xJfg+n+hYwKOXMHDe5RTQZX/YpKKDTPI8tv1xG+1CjHrMRFQ9/ZorSjgDe6katqxwTMymjp5wevvp1/Fjea5frA3WSn2EtVYxXCzDK5idx4SLHb+OLNNF28eG8h5Ws88kqHlHDwAn7+PY0BZz4Ok0Y94N8gvqyVGIENTYMiT1ZV0flOieKy2H/sP4J4v4U+vG+iMhKL+qjhrXxawOEL1oZVgYaxqsHX8ECI229iKxPnfxrw X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jul 2018 17:14:34.2506 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1cebbb90-94d0-4e01-6e01-08d5ec08c5cf X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR07MB4995 Subject: [dpdk-dev] [PATCH] eal: fix bitmap documentation 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, 17 Jul 2018 17:14:41 -0000 n_bits comes as first argument, align doxygen comment. n_bit need to not be multiple of 512 as n_bits are rounding to RTE_BITMAP_CL_BIT_SIZE. Fixes: 14456f59e9f7 ("doc: fix doxygen warnings in QoS API") Fixes: de3cfa2c9823 ("sched: initial import") Cc: stable@dpdk.org Signed-off-by: Jerin Jacob --- lib/librte_eal/common/include/rte_bitmap.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_eal/common/include/rte_bitmap.h b/lib/librte_eal/common/include/rte_bitmap.h index 7d4935fcc..d9facc642 100644 --- a/lib/librte_eal/common/include/rte_bitmap.h +++ b/lib/librte_eal/common/include/rte_bitmap.h @@ -198,12 +198,12 @@ rte_bitmap_get_memory_footprint(uint32_t n_bits) { /** * Bitmap initialization * - * @param mem_size - * Minimum expected size of bitmap. + * @param n_bits + * Number of pre-allocated bits in array2. * @param mem * Base address of array1 and array2. - * @param n_bits - * Number of pre-allocated bits in array2. Must be non-zero and multiple of 512. + * @param mem_size + * Minimum expected size of bitmap. * @return * Handle to bitmap instance. */ -- 2.18.0