From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0040.outbound.protection.outlook.com [104.47.37.40]) by dpdk.org (Postfix) with ESMTP id 159FD1B45F; Fri, 29 Jun 2018 12:01:08 +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=Z7d3WfoyMdbEYzeKclljhURjYvnW5s9B1v6q7t/pq48=; b=lyXmt3x5Hcg2s+ynPl08hUCGfwL1fHLPJS7bBzLxw/yfzVScNY5jUAH/iRUqjJJT/PFMn2Dvml4nA/PvKNmPhxCYlWdelkZXdRQVPq5xBXtcIJ40qy/97+mNkeQIVqZMImozvyGSSOulmUmpTOvZaL28NJVGeLCWH8pOKstPKF4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin.caveonetworks.com (111.93.218.67) by CY1PR07MB2524.namprd07.prod.outlook.com (2a01:111:e400:c636::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.906.23; Fri, 29 Jun 2018 09:45:18 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: thomas@monjalon.net, ferruh.yigit@intel.com, Jerin Jacob , stable@dpdk.org Date: Fri, 29 Jun 2018 15:14:43 +0530 Message-Id: <20180629094443.26540-1-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: MA1PR01CA0099.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:1::15) To CY1PR07MB2524.namprd07.prod.outlook.com (2a01:111:e400:c636::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 401c5aa3-995b-4b30-1829-08d5dda5074f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600026)(711020)(2017052603328)(7153060)(7193020); SRVR:CY1PR07MB2524; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2524; 3:Ub+XIUUnxi7WBPjKPxXT1dmeRS3K5qV4DnBKvm/nsjAzG2W9dDSQ7cdHK6B/vwzqCwYeu5mh3xcMt6Jsgcf1sswS8t9n0wB14/IlQ9HlDsi/HqE+REaT0ylU1A6QTo3UfoLPo5WV9FRds9E9DcYzCwpYDyZlHTPMJ2u8PpQIBD08vYPe2saK7B7BGlTedaqddBS+A8eGYB0i/mn40HtCezh/aMk2G3QqNuN1c11lp9ILT+X4CmoXiFDx5M3bMbUi; 25:9xSm21eoQ9st9/5UtcDsW+FDYl8qUkMZdW83Ievwqjnb9CzQ6GOXtlY1Y8mu/U4ApsNW+ajrmVVTFQJ95ZiRS3wUjOup05s/zBE7NP6k7A+SsGqbw4UtxTk0vO2l1RjsAMgT9/1FMAAvTWRKPfqSRnTqqFWOJfsx3wfPDKAme5LsJdx/UEcUdSLAP+PDUEj5BcpO6SOnRKhakJ50lnfE1FY9pbTNpmQg4FsIfe4nkQKgrJGcO4ieP8VZXGhn0EYzXUPTLYQpF6jWGfyP+qfrRgU01EVY1iTgPmZPd2IOH1RA4bHxT4vO7/hBBBSq+RWAlXN3jF09U7fun8Ecwa6v0g==; 31:7BM7BHVgPb022vWJRHllL5cauVDqBi6rzUmaklngrE5n8pz5YVDk+FFMx3bTHQMwxI8pQgMdlS4b6UakV4WW+emVfbHQkTS7SbRo182eI3WIx+DWltqoZD2XrVC8w8SVeEQoF5IPrW/CUZXxWWOPYQgujqhL/kGOZzPKByUQZxLlzPpC9PlZFj19zzs6m2q9MgSjY+PN0uRweNB6iNNdjrp1phrhU1VPwdnezPuTutk= X-MS-TrafficTypeDiagnostic: CY1PR07MB2524: X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2524; 20:HzWYS+ugFQPdfa4+Cz8ErwU7mbE5HMI3B9pOL8npvo9MchoQ9WjrDh/DI6qrFxZneNHBFnrYmQiuq0mGpAb7Vy0kuggb5WBWSTr5F0tuRvPsa6rEbTaDE8UhcSSp82hT4fo4i2ynfFmYzV7LZWg4X+SrMFCmYqFG2Ee06X3Ez1olb1oGT4Thxcccxhkh2d/5REmCk6MDk4jA34bnaOH8HF1Adar0aBXIFvdS6xoThnv/uf35ikiXGxjzW9xPZ5b50sYybWWKzELeaqpzHN0P2fEgnkZlrGbqFFcfIBgse4kVrQZlxDUTmYmqAnCp/3DMt+WNtKIIqoVyDyJtbq5g7+L3rBEwe0oSPf7syQSZzDAa7y3kyLeNpQvsAnRO+6pkbNcfO5M2BFw7H4k+S7wNTLxMbQcZkdyoQyjEwSIzrrEfoPKYx8d5XikzRcZyx4s3GuKx9aCSsopxkNc729ekNR9cx4C0DUQaRzj2CGpO+EZSidTYdowmfjBHVOaC/UVf6v4zwonbFADJfF1VtNAPT8to9jxKua5BQX9/oGCWL+MXfRZqqQpctdqa2NKHUzqDcpNJ2TcjIODwIRaqqB8EU6lklXVCs2Nujvu3Oi7ankM=; 4:p1zJubCWvX9Y4vDlwMJyhLR5MJ4sSaY/j0lj0JvQ+pz2UlMJwRIAlPQ8PbYbmzxFVQFh9y4tQoDdDuQz/BGytqFia26gwfRVq2nenlemmJ5+z4jtTNs3XxBfhBcdSYndHM+PmcbR51F3k/4j26eOeuw6ffi6xE5wHFQtSzFOl4X7ZDio0PGQgCgkGYSlkakgPHnQefRf/RcofahpqnPCtmMbbG7U6gtQq2WEG419oBPQ3LiXTs/zYkGcQMlQFIeWtMk8ZWHB19sB9M/KBhhrHg== 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)(3231254)(944501410)(52105095)(3002001)(10201501046)(93006095)(149027)(150027)(6041310)(20161123562045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:CY1PR07MB2524; BCL:0; PCL:0; RULEID:; SRVR:CY1PR07MB2524; X-Forefront-PRVS: 0718908305 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(346002)(376002)(366004)(39860400002)(136003)(189003)(199004)(386003)(36756003)(53936002)(68736007)(2616005)(26005)(66066001)(486006)(50466002)(1857600001)(47776003)(106356001)(2351001)(105586002)(4326008)(69596002)(2906002)(476003)(316002)(16586007)(5660300001)(956004)(48376002)(25786009)(44832011)(42882007)(6486002)(6512007)(478600001)(97736004)(186003)(3846002)(5009440100003)(81166006)(81156014)(52116002)(16526019)(8676002)(51416003)(7736002)(72206003)(6916009)(6116002)(8936002)(6666003)(2361001)(305945005)(6506007)(50226002)(1076002)(53416004); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR07MB2524; H:jerin.caveonetworks.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR07MB2524; 23:4QSheJ/RbnyY79VKFbMx7JANAaYbOtLJOjKRMjA8x?= =?us-ascii?Q?wrroqWEKSOmpaC/dIvkf3M8aYB1klhmfDP4FYVqR8LcinF58b4N4p9YDifsu?= =?us-ascii?Q?Zk8TA0ET/w6Z8MAUTaHhfhkS5qM0giIAYC1jE4WTeZwrzlQpXAl6nhCIXQj4?= =?us-ascii?Q?yjQ7o4LEmUnj4n/8bl+8shy0x6n6Mq67GYmQNdwzorbCbZhMCUYXz/TZ3fpJ?= =?us-ascii?Q?5OJZ6NgBUI4kS//JDAvFApck2/xnVuBdOHSKIu49TFNZ26Xlq+eJQnoWEU0y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KluE7KmuyiWd2HkzTodg==; 5:LaQ6OsQKbXpOb+oqtFlGS8s6G5OAfBU3VEZqSYSBjbynWliRE0YaV29bj3cfmDhoFwvA8ikIbpSWzzu+1LUSbrLaXUx99b1M2RzbYsikAES60sJ3z21PUDzWy8Yzlfn9p8AF9uuJpVoOoiIlFDoc7fz+A9Nt++8W+T4Uckx52yk=; 24:0mHnaVoKHj3u0hE+WQ9lzp/AQJDiJEnc9bipzRhXNxW0QOoG58RnpV86neERQQxP1m259tLDuHp9BHmlZPWdcp2dbZdinjrzV0E6abxw43g= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2524; 7:Lw4Thr2QY36N+rrrVr7iz6Nmh9XkaHqedw3Y/2oquB/osr0Pj81ocDEZHRdt55n8Hjr1fGJjPveTYc3CFJyxdAJzzJ6WT7NhPLNB2Ne0GtgkTRERhHOnLlPFiy8PJ0td8r8WWk+AdwXpq1w5Xn2OV46/n69ZMB1lAbpHHNAO10oagvSjalId2UB5EOIuY7AATEnaLihnGbLenGnUlfkFjI8URcYEQblTRmDtQtNlaIlyl61ohFFRZnr5k7nLBYxT X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2018 09:45:18.7264 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 401c5aa3-995b-4b30-1829-08d5dda5074f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2524 Subject: [dpdk-stable] [dpdk-dev] [PATCH] ethdev: fix queue mapping documentation 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: Fri, 29 Jun 2018 10:01:08 -0000 The RTE_MAX_ETHPORT_QUEUE_STATS_MAPS does not exists, change to the correct definition(RTE_ETHDEV_QUEUE_STAT_CNTRS) Fixes: 5de201df8927 ("ethdev: add stats per queue") Cc: stable@dpdk.org Signed-off-by: Jerin Jacob --- lib/librte_ethdev/rte_ethdev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index 36e3984ea..375ea24ce 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -2144,7 +2144,7 @@ void rte_eth_xstats_reset(uint16_t port_id); * @param stat_idx * The per-queue packet statistics functionality number that the transmit * queue is to be assigned. - * The value must be in the range [0, RTE_MAX_ETHPORT_QUEUE_STATS_MAPS - 1]. + * The value must be in the range [0, RTE_ETHDEV_QUEUE_STAT_CNTRS - 1]. * @return * Zero if successful. Non-zero otherwise. */ @@ -2164,7 +2164,7 @@ int rte_eth_dev_set_tx_queue_stats_mapping(uint16_t port_id, * @param stat_idx * The per-queue packet statistics functionality number that the receive * queue is to be assigned. - * The value must be in the range [0, RTE_MAX_ETHPORT_QUEUE_STATS_MAPS - 1]. + * The value must be in the range [0, RTE_ETHDEV_QUEUE_STAT_CNTRS - 1]. * @return * Zero if successful. Non-zero otherwise. */ -- 2.18.0