From patchwork Mon Oct 8 08:25:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shahaf Shuler X-Patchwork-Id: 46237 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3A7EF4CC7; Mon, 8 Oct 2018 10:25:50 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 1EBEC4C8D for ; Mon, 8 Oct 2018 10:25:44 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from shahafs@mellanox.com) with ESMTPS (AES256-SHA encrypted); 8 Oct 2018 10:30:25 +0200 Received: from unicorn01.mtl.labs.mlnx. (unicorn01.mtl.labs.mlnx [10.7.12.62]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id w988Pcn7019636; Mon, 8 Oct 2018 11:25:38 +0300 From: Shahaf Shuler To: yskoh@mellanox.com Cc: xuemingl@mellanox.com, rasland@mellanox.com, dev@dpdk.org Date: Mon, 8 Oct 2018 11:25:20 +0300 Message-Id: X-Mailer: git-send-email 2.12.0 Subject: [dpdk-dev] [PATCH 0/3] Representor fixes for BlueField device 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Setting BlueField device with representors introduced some corner cases that were overlooked during the development of representors for x86. This series enables the PMD to run on both x86 and BlueField with representors enabled. Shahaf Shuler (3): net/mlx5: support missing counter in extended statistics net/mlx5: add representor specific statistics net/mlx5: always use representor ifindex for ioctl drivers/net/mlx5/mlx5.h | 16 ++++++-- drivers/net/mlx5/mlx5_ethdev.c | 41 ++++++++------------ drivers/net/mlx5/mlx5_mac.c | 2 +- drivers/net/mlx5/mlx5_stats.c | 88 ++++++++++++++++++++++-------------------- 4 files changed, 76 insertions(+), 71 deletions(-)