From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f176.google.com (mail-wj0-f176.google.com [209.85.210.176]) by dpdk.org (Postfix) with ESMTP id ECCE7F60E for ; Wed, 11 Jan 2017 14:46:38 +0100 (CET) Received: by mail-wj0-f176.google.com with SMTP id kq3so56791249wjc.0 for ; Wed, 11 Jan 2017 05:46:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=Jm7BIaxM6cL+Z+tS/O4vZ1KeePKRtj7CjdKk5RQOvy4=; b=sBDMH7L/ei7U7Hc4ckFXRP4FWMay6sioOWdo2c0GjsNV5CowYWhALATnTnJSexR9qG HdoVni2Xr9j0e3KDJER8mT1sJNZCB9ZlXmGtfD7Tb/ilKJALK2uest0RoLM4TVMYAjpd Zveldj5lVr8CG9lg9gp8ABwz8uDZvCui06setwB2fbdC8dgQRGEMM+BpcER6zNrX+YUc Z3kopJJkQxkPtOOkto5znRn4Lhbxt0bS6RKmsVXQ+Mo2ByJMnLCI1/i69j542wcpMV85 UUGpr0kOkDhnNK5q/tw/iwui/fpmT2K63wFHQCEuX3N4MuJsjge9/cA3yghOA1gfq+lE ZmqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=Jm7BIaxM6cL+Z+tS/O4vZ1KeePKRtj7CjdKk5RQOvy4=; b=tW4iCM+2dd16usQg2auyQcwONuHQ19J+t12fcRsLjt6gSs4x72ROOoydavQu8wPRXE usLc8sgyGTM7L6xNAM3bXfh1MgvpVRjKe6Mkj2/xfIVWppgjhVqElQ0Knja6Nm8ozQKJ 6yl9YItyJkmTHlXCOgd7ou/wSyF3HQb4hw76oOlDh7WQFEoLj3MLVeMD0yIC4JKc0kos IEhHWeFIeNzaQ6UzRKWDTu0si+ZLdtdmLaZqKl9DWenVthlO/ExY6HlVIv7COLhR4ino s0rTNUH1uQTGQv/h4Ia4KdGthOTVO78UAgOCFwf2P4nSEKg5j45lXH2/3k0qOeyrAyVY 1jZw== X-Gm-Message-State: AIkVDXJcQU98iQpiHo/Z0x1InzZwTVo8xbOOBFavmPHGg9RcqabBz+bidwN4rKuoZFsHK3J5 X-Received: by 10.194.209.136 with SMTP id mm8mr5404173wjc.149.1484142398657; Wed, 11 Jan 2017 05:46:38 -0800 (PST) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id d64sm29888039wmh.3.2017.01.11.05.46.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jan 2017 05:46:38 -0800 (PST) From: Thomas Monjalon To: Shahaf Shuler Cc: dev@dpdk.org, george.dit@gmail.com Date: Wed, 11 Jan 2017 14:46:42 +0100 Message-ID: <1660469.qnTIcQ9A6p@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [dpdk-dev] Port stats zero when using MLX5 DPDK driver 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: Wed, 11 Jan 2017 13:46:39 -0000 > > On Mon, Jan 9, 2017 at 2:32 PM, Shahaf Shuler wrote: > > It is not support on Mellanox PMD to read the primary process count= ers > > from a secondary process. It is a pity that such a basic feature is not supported. We should try to have this kind of feature better supported across every drivers. 2017-01-10 08:43, Shahaf Shuler: > supporting this functionality is not on the plans. Please could you re-consider the plans? It should not be so difficult to give access to the stats from a secondary process. Thanks > If you wish to read statistics of a running process you can use ethto= ol =E2=80=93S . > It will provide you the statistics of the port. > Note that those statistics count the number of bytes/packet which wer= e=20 > received/sent by the port. This number may not be equal to the number= > of packet/bytes which were send/received on the PMD.