From patchwork Mon Jan 9 10:25:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiri Pirko X-Patchwork-Id: 712562 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3txrsM6mXHz9sBR for ; Mon, 9 Jan 2017 21:25:59 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=resnulli-us.20150623.gappssmtp.com header.i=@resnulli-us.20150623.gappssmtp.com header.b="OD3CORvu"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758629AbdAIKZy (ORCPT ); Mon, 9 Jan 2017 05:25:54 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33101 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758593AbdAIKZx (ORCPT ); Mon, 9 Jan 2017 05:25:53 -0500 Received: by mail-wm0-f68.google.com with SMTP id r144so12136904wme.0 for ; Mon, 09 Jan 2017 02:25:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nrHHJeO+BeQos06grdPENGr8tQYCFEAbA2KwAz07o3I=; b=OD3CORvusuagrsh8PBTY+0KL1cNewbzlMdx4OblwevVVpRpKiFz2AyZHUcIY9GLgyB iLZGmrRtc9oyn4IVyHh8dXPkBucOKWV1VH2bl5TW66BylKmY9mnveAEuc+pZWAiDPrDw BbjYO7J1JquX5WzrGFdcfdmENLqFm1FuIUgILs6XBSkyr1XDproiKfyugvk9UtYg1b0o PUK7VuAE8mClPXtZ4gaFnelm4GDBDOhK/Uvp0/56UxPUdCnldYa7YNg9KuBJtky1+Pha l074eItTieyyhzqF3pz7ZAkolOe2noEjDbcxpm6LL7PQ/2kvm4a357bxRzWstlKog+PO zLdA== 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:in-reply-to :references; bh=nrHHJeO+BeQos06grdPENGr8tQYCFEAbA2KwAz07o3I=; b=eE30ITTPq6/6gmX2qiSwy9OZThVJs81WBzHzOEQeC4xPGq8QTncimzfpdw7sZQ9oI3 QkamJwaDOahHndrZShswOK3P0mligufEoN7xSj78ZLYmFlj9jhFQM/7FZl9EISmao/QO Wn4poBFUNxHPhkLlRxIFQ9cFI0rjVqneppqQaVj+byjeRlPqdF0+uGahhGUJT41lS9Rf rC5AyMj/Ba78HhoPnDcEeZiV+iVP9+AokyHPtLrcO3kmdzCGY8N9wL9bQ1nqre5nXmLd HJGNoPfhMATKxNGErZ2UI9Aol6Rp7jtNthfdQHO9mDSqmr3Psq6AK/D9xeujl4RGuBwz qkwQ== X-Gm-Message-State: AIkVDXJAI9OK5qVUSyOtvgHwG8zI5CVDheEVbHq9BNNtWNtkfiOIBgtqQhDi1A0nnKpQjw== X-Received: by 10.223.165.138 with SMTP id g10mr11233952wrc.157.1483957552142; Mon, 09 Jan 2017 02:25:52 -0800 (PST) Received: from localhost (ip-78-45-162-92.net.upcbroadband.cz. [78.45.162.92]) by smtp.gmail.com with ESMTPSA id 123sm5775776wml.6.2017.01.09.02.25.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jan 2017 02:25:51 -0800 (PST) From: Jiri Pirko To: netdev@vger.kernel.org Cc: davem@davemloft.net, idosch@mellanox.com, eladr@mellanox.com, yotamg@mellanox.com, nogahf@mellanox.com, arkadis@mellanox.com Subject: [patch net-next 2/5] mlxsw: cmd: Fix API name comments for event-queues Date: Mon, 9 Jan 2017 11:25:45 +0100 Message-Id: <1483957548-3531-3-git-send-email-jiri@resnulli.us> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1483957548-3531-1-git-send-email-jiri@resnulli.us> References: <1483957548-3531-1-git-send-email-jiri@resnulli.us> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Elad Raz Probably some copy-paste error from "int_msix" that caused "int_" prefix to appear in the comments for all "eq_" APIs. Signed-off-by: Elad Raz Acked-by: Ido Schimmel Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/cmd.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlxsw/cmd.h b/drivers/net/ethernet/mellanox/mlxsw/cmd.h index 56e19b0..a1b4842 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/cmd.h +++ b/drivers/net/ethernet/mellanox/mlxsw/cmd.h @@ -1132,12 +1132,12 @@ static inline int mlxsw_cmd_sw2hw_eq(struct mlxsw_core *mlxsw_core, */ MLXSW_ITEM32(cmd_mbox, sw2hw_eq, int_msix, 0x00, 24, 1); -/* cmd_mbox_sw2hw_eq_int_oi +/* cmd_mbox_sw2hw_eq_oi * When set, overrun ignore is enabled. */ MLXSW_ITEM32(cmd_mbox, sw2hw_eq, oi, 0x00, 12, 1); -/* cmd_mbox_sw2hw_eq_int_st +/* cmd_mbox_sw2hw_eq_st * Event delivery state machine * 0x0 - FIRED * 0x1 - ARMED (Request for Notification) @@ -1146,19 +1146,19 @@ MLXSW_ITEM32(cmd_mbox, sw2hw_eq, oi, 0x00, 12, 1); */ MLXSW_ITEM32(cmd_mbox, sw2hw_eq, st, 0x00, 8, 2); -/* cmd_mbox_sw2hw_eq_int_log_eq_size +/* cmd_mbox_sw2hw_eq_log_eq_size * Log (base 2) of the EQ size (in entries). */ MLXSW_ITEM32(cmd_mbox, sw2hw_eq, log_eq_size, 0x00, 0, 4); -/* cmd_mbox_sw2hw_eq_int_producer_counter +/* cmd_mbox_sw2hw_eq_producer_counter * Producer Counter. The counter is incremented for each EQE that is written * by the HW to the EQ. * Maintained by HW (valid for the QUERY_EQ command only) */ MLXSW_ITEM32(cmd_mbox, sw2hw_eq, producer_counter, 0x04, 0, 16); -/* cmd_mbox_sw2hw_eq_int_pa +/* cmd_mbox_sw2hw_eq_pa * Physical Address. */ MLXSW_ITEM64_INDEXED(cmd_mbox, sw2hw_eq, pa, 0x10, 11, 53, 0x08, 0x00, true);