From patchwork Thu Jan 17 15:05:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eran Ben Elisha X-Patchwork-Id: 1026718 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=mellanox.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43gS8B3HTpz9sCh for ; Fri, 18 Jan 2019 02:06:18 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728176AbfAQPFj (ORCPT ); Thu, 17 Jan 2019 10:05:39 -0500 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:55133 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728039AbfAQPFi (ORCPT ); Thu, 17 Jan 2019 10:05:38 -0500 Received: from Internal Mail-Server by MTLPINE1 (envelope-from eranbe@mellanox.com) with ESMTPS (AES256-SHA encrypted); 17 Jan 2019 17:05:33 +0200 Received: from dev-l-vrt-198.mtl.labs.mlnx (dev-l-vrt-198.mtl.labs.mlnx [10.134.198.1]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x0HF5WoO029214; Thu, 17 Jan 2019 17:05:33 +0200 From: Eran Ben Elisha To: netdev@vger.kernel.org, Jiri Pirko , "David S. Miller" , Ariel Almog , Aya Levin , Eran Ben Elisha , Moshe Shemesh Cc: Feras Daoud , Saeed Mahameed Subject: [PATCH net-next 15/27] Documentation: mlx5: Update kernel documentation Date: Thu, 17 Jan 2019 17:05:09 +0200 Message-Id: <1547737521-29888-16-git-send-email-eranbe@mellanox.com> X-Mailer: git-send-email 1.8.4.3 In-Reply-To: <1547737521-29888-1-git-send-email-eranbe@mellanox.com> References: <1547737521-29888-1-git-send-email-eranbe@mellanox.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Feras Daoud Initial kernel documentation for mlx5 core driver. This change includes also documentation for the new devlink region param : DEVLINK_PARAM_GENERIC_ID_REGION_SNAPSHOT. Signed-off-by: Feras Daoud Signed-off-by: Saeed Mahameed --- Documentation/networking/mlx5.rst | 39 +++++++++++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 40 insertions(+) create mode 100644 Documentation/networking/mlx5.rst diff --git a/Documentation/networking/mlx5.rst b/Documentation/networking/mlx5.rst new file mode 100644 index 000000000000..4c44996d2132 --- /dev/null +++ b/Documentation/networking/mlx5.rst @@ -0,0 +1,39 @@ +.. SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB + +Linux* Base Driver for Mellanox Core VPI Network Connection +=========================================================== + +Copyright (c) 2018, Mellanox Technologies inc. + +Contents +======== + +- Command Line Parameters + +Command Line Parameters +======================= + +Devlink tool +------------ +The driver utilizes the devlink device configuration tool for setting driver +configuration, as well as displaying device attributes. + +:Devlink supported parameters: + +- DEVLINK_PARAM_GENERIC_ID_REGION_SNAPSHOT: + + - This parameter enables capturing region snapshot of the crspace during critical errors. + - The default value of this parameter is disabled. + + - Example: + devlink region show + List available address regions and snapshot. + + devlink region del pci/0000:00:05.0/cr-space snapshot 1 + Delete snapshot id 1 from cr-space address region from device pci/0000:00:05.0. + + devlink region dump pci/0000:00:05.0/cr-space snapshot 1 + Dump the snapshot taken from cr-space address region with ID 1 + + devlink region read pci/0000:00:05.0/cr-space snapshot 1 address 0x10 legth 16 + Read from address 0x10, 16 Bytes of snapshot ID 1 taken from cr-space address region diff --git a/MAINTAINERS b/MAINTAINERS index 4d04cebb4a71..d886bef6f06a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9743,6 +9743,7 @@ Q: http://patchwork.ozlabs.org/project/netdev/list/ S: Supported F: drivers/net/ethernet/mellanox/mlx5/core/ F: include/linux/mlx5/ +F: Documentation/networking/mlx5.rst MELLANOX MLX5 IB driver M: Leon Romanovsky