From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qg0-f45.google.com (mail-qg0-f45.google.com [209.85.192.45]) by dpdk.org (Postfix) with ESMTP id 78E745955 for ; Thu, 21 Aug 2014 11:00:53 +0200 (CEST) Received: by mail-qg0-f45.google.com with SMTP id f51so8399067qge.4 for ; Thu, 21 Aug 2014 02:04:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=dSprP1qeQw3UI6ikZQDPn6FVkgvx7fpJpzT2yiR4xsg=; b=Wy2Dd/pczS4ku+VE+mXQjUgY5VaCkSkYzTw+MA9cOvQNtMHjneZAp53u2gwPuCEwg7 50j7CZIzFQF+209tI8nhhpk/KhmvGzLI+JEHPAuJIi2T5Efk869N4y8vWxQRBLlExRiL APhlcut/CJj/BypF9DoFOLAsYt6Q8JU6ambBre3g8jlcFqj+esJEij3gcmwBEicCJNQr kgYTgzgXJ/cJgQFnvZp/ZzGtZ5ADsy+Yg/H8W6lT27pg3o+LDOrUdhBhdZpig3+UbR95 d3tubUtt6LAUYqidDhw65i9+3blPVJc8nIIq8GE2fgOuMOPdZQyoe6Jhb+EpTYyc6yry Rubw== X-Gm-Message-State: ALoCoQnMePio51xGe2MRN+a8/2ngiirrg+Q8u8jrOCVxzxg98LW6wJj6rnglZ+4qGLR8LBoVh+Q2 MIME-Version: 1.0 X-Received: by 10.140.106.225 with SMTP id e88mr81488879qgf.20.1408611868858; Thu, 21 Aug 2014 02:04:28 -0700 (PDT) Received: by 10.140.100.244 with HTTP; Thu, 21 Aug 2014 02:04:28 -0700 (PDT) Date: Thu, 21 Aug 2014 10:04:28 +0100 Message-ID: From: Alejandro Lucero To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] About RTE_MAX_ETHPORT_QUEUE_STATS_MAPS X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2014 09:00:53 -0000 Hi, Documentation and header files describe stat_idx parameter for rte_eth_dev_set_tx_queue_stats_mapping and rte_eth_dev_set_rx_queue_stats_mapping as The value must be in the range [0, RTE_MAX_ETHPORT_QUEUE_STATS_MAPS - 1] I have not found a definition for RTE_MAX_ETHPORT_QUEUE_STATS_MAPS but the per queue counters inside struct rte_eth_stats are arrays with length RTE_ETHDEV_QUEUE_STAT_CNTRS which is defined at config/defconfig_x86_64-default-linuxapp-gcc CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=16 I assume RTE_MAX_ETHPORT_QUEUE_STATS_MAPS is equal to CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS. Can anyone confirm this? Thanks