From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 22D645683 for ; Mon, 13 Jul 2015 13:19:26 +0200 (CEST) Received: by wgkl9 with SMTP id l9so23217914wgk.1 for ; Mon, 13 Jul 2015 04:19:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=iucN/DiDQzP951UYUcSwmPCw4fy4ZYDcNjLZ0ODcDmg=; b=dWyogGb9CdEzUyljb0TwvqvySr7QKgLAURCIjt3A46uvoH8ZKqk/RdOJGqX/9LswWO 3xuELg+69SuGN2iRk9SQW8rjVvYzb4YqN+YD9/hysSNe/OpgcXFK+VKV4iukISf38QXR iO4Kc6rpBMh2e4aE2TyJ3Xjd0zJzlyTGaLLAkf/2lbBm/KK9omaV7ANXmi/adlF/3r52 dB5ER6cAA3kzPQK5OTBrCdOUBfsp0bPX8lwG8QCOQsKS5qm3AhwJbL8TgQ+ey5TWTPbo x7EStVrb9WXHW33r9Or/kn2swQ1DrwF1CVfSm9a0uQj5kdmiCLS6Big03BvI9QbEBoyD jivw== X-Gm-Message-State: ALoCoQn7F4vI9JoXxPz52jiZFMLBLO6RJ73Y3S/wKe2A/jO4V1K0hg/i2++oz0gPQMhj9BMEKeQ3 X-Received: by 10.180.182.33 with SMTP id eb1mr21444071wic.8.1436786366044; Mon, 13 Jul 2015 04:19:26 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id uc3sm1561851wib.2.2015.07.13.04.19.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Jul 2015 04:19:25 -0700 (PDT) From: Thomas Monjalon To: Tomasz Kulasek Date: Mon, 13 Jul 2015 13:18:12 +0200 Message-ID: <31929567.hDISDemBWm@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1435589444-1988-5-git-send-email-tomaszx.kulasek@intel.com> References: <1434723200-7528-1-git-send-email-tomaszx.kulasek@intel.com> <1435589444-1988-1-git-send-email-tomaszx.kulasek@intel.com> <1435589444-1988-5-git-send-email-tomaszx.kulasek@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v3 4/8] bonding: queue stats mapping 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: Mon, 13 Jul 2015 11:19:26 -0000 2015-06-29 16:50, Tomasz Kulasek: > + for (j = 0; j < RTE_ETHDEV_QUEUE_STAT_CNTRS; j++) { > + stats->q_ipackets[j] += slave_stats.q_ipackets[j]; > + stats->q_opackets[j] += slave_stats.q_ipackets[j]; > + stats->q_ibytes[j] += slave_stats.q_ipackets[j]; > + stats->q_obytes[j] += slave_stats.q_ipackets[j]; > + stats->q_errors[j] += slave_stats.q_ipackets[j]; Wrong copy/paste.