From nobody Mon Nov 25 22:36:36 2024 Received: from mail-pl1-f226.google.com (mail-pl1-f226.google.com [209.85.214.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 87D181CC178 for ; Wed, 23 Oct 2024 16:49:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.226 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729702175; cv=none; b=UtYObbho2NIOD8mWYrdeChSrD0qn848Rh9sWQwAa2/Fg2o9AdfMP3EUZAAGF8cvkHU/rVcpSCVysaNJezMFcga9vq4JWvYAEVefe/a3YGBRFWifmP4Db3gXLu7TCbiFJULKSiv8CBUANG8H8qzjP6xS93fPVNFig63JiaLMXUlM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729702175; c=relaxed/simple; bh=1Qd+2UIw5mTpdPBN1+YzSM7lu4G3D+Yef7o0N57hWqU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PpsV3Hvo/3xZGOh0Cu1+8HtzHVWb6tgoNJdwNypRsG5raqjTI3zQkekohu/2etAsiFluSBb9i//RyOeUf5Al/fc9uSoo7N5tm4+6seMA4aX9Zx6z8AjRTMQ469tI08i13YP0xxEAEnE45NIFx9faWzk6gzdRXz5I71XsUb3Fj1c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=purestorage.com; spf=fail smtp.mailfrom=purestorage.com; dkim=pass (2048-bit key) header.d=purestorage.com header.i=@purestorage.com header.b=gbbs8smV; arc=none smtp.client-ip=209.85.214.226 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=purestorage.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=purestorage.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=purestorage.com header.i=@purestorage.com header.b="gbbs8smV" Received: by mail-pl1-f226.google.com with SMTP id d9443c01a7336-20cb8954ec9so6025715ad.3 for ; Wed, 23 Oct 2024 09:49:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=purestorage.com; s=google2022; t=1729702173; x=1730306973; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=KfrVJPD6wQsyemhoHqMNM3VAmkUeo82vYBV9ptYW5bA=; b=gbbs8smVnLhiz02n0BC34EQziTaqrwZ+TmthVQWZNNGI+kQlXmBl/y6BAPKk77soBM fKwS22DXlUFT0qVHZgRt9Ad7q3FafOoOLnf7AAeqPQoBtLOl21j0FWeRG3QVp2tSJVUw Juyj7qxyA5xdbe8N36ubAZfE97j3nVLNAEkJckSazKzubAM78GWqgNR8jZ+hmw4YNgiQ UFHVaQ24BqHcG6AbXAOXDRggR4FIm8x76xIugFbAbt44btN+he2B6/d4UnQCJEtrCPti qVHBqTO/r/cC9DmWkXyjzQiS9Sn+zEHBoZL1IZ5pDTQCblQa4HrAI7KvsaGzNFGd0o26 MTVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729702173; x=1730306973; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KfrVJPD6wQsyemhoHqMNM3VAmkUeo82vYBV9ptYW5bA=; b=wpaiebIr9sYx0Y+TXUZjJ++XCM9hoV/CJ+ZEv+3w//wPsb2+Bg1HzJ8pNhmYOk8zYx zCdaVDHVsW7jMCWW7KCOQqICdfIrj+043kBUX9zmhaGYxCvsG3vDC2b/djjTdh40tc2g lQh+H9ct7pNWoKOivor4xozcYkeine1Wf6Tdo6FDkRPpy6rM4rBh1r7WQZHsglxJvOK5 C/XPIuVeLAnh+W2iiobC68yNM4DLXOVIgPRWIOUttYw+kqNNBCnzAISR4rDuvW16TTe6 6bhETPz3XviNdfRQ6qBuQ/m47VzImWx80NQsiTuVZHAKnKLDOmgoVJbS6LGyAX86pYkJ Ql1Q== X-Forwarded-Encrypted: i=1; AJvYcCW9STBiMVLzT3lqDgUkXr+1RF42t7/hqTq8V12vucqF3TmfXkbmyMypxDDVbrlhjtxheGdqQRybECGD6Ak=@vger.kernel.org X-Gm-Message-State: AOJu0YxBdlEUo+qnxAIIyhI+XNWHhyG6xwI5wuFWMYBhnBIvdf6dJMui V9nCiVIxG7W6Pg1xcvFZU7i6apsqgFGRRV/sO0/cqfmnnPNWK9r4J+VZBH8bk58/ujmuDJUrE4/ Y18I7iv1enKzTk+tq+64fc6JVhuXKTSG1 X-Google-Smtp-Source: AGHT+IGpi4/pmXTMK1N8jp+RIMLveFc6P+F8kPqtYgzHyaG4VHfRlGhO9+E0PrID1AZP6Sao7JzqQolTTrEK X-Received: by 2002:a17:903:2447:b0:20c:d04f:94ad with SMTP id d9443c01a7336-20fa9e2627emr19253295ad.4.1729702172699; Wed, 23 Oct 2024 09:49:32 -0700 (PDT) Received: from c7-smtp-2023.dev.purestorage.com ([208.88.159.128]) by smtp-relay.gmail.com with ESMTPS id d9443c01a7336-20e7f1a11c5sm2540035ad.144.2024.10.23.09.49.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 09:49:32 -0700 (PDT) X-Relaying-Domain: purestorage.com Received: from dev-csander.dev.purestorage.com (dev-csander.dev.purestorage.com [10.7.70.37]) by c7-smtp-2023.dev.purestorage.com (Postfix) with ESMTP id D51EF340213; Wed, 23 Oct 2024 10:49:31 -0600 (MDT) Received: by dev-csander.dev.purestorage.com (Postfix, from userid 1557716354) id C887CE40BE0; Wed, 23 Oct 2024 10:49:01 -0600 (MDT) From: Caleb Sander Mateos To: Saeed Mahameed , Tariq Toukan , Leon Romanovsky , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Caleb Sander Mateos , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] mlx5: fix typo in "mlx5_cqwq_get_cqe_enahnced_comp" Date: Wed, 23 Oct 2024 10:48:38 -0600 Message-ID: <20241023164840.140535-1-csander@purestorage.com> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" "enahnced" looks to be a misspelling of "enhanced". Rename "mlx5_cqwq_get_cqe_enahnced_comp" to "mlx5_cqwq_get_cqe_enhanced_comp". Signed-off-by: Caleb Sander Mateos Reviewed-by: Kalesh AP Reviewed-by: Simon Horman Reviewed-by: Tariq Toukan --- drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 2 +- drivers/net/ethernet/mellanox/mlx5/core/en_rx.c | 4 ++-- drivers/net/ethernet/mellanox/mlx5/core/wq.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c b/drivers/ne= t/ethernet/mellanox/mlx5/core/en_main.c index e601324a690a..604c0a72aa6c 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c @@ -1124,11 +1124,11 @@ static void mlx5e_flush_rq_cq(struct mlx5e_rq *rq) { struct mlx5_cqwq *cqwq =3D &rq->cq.wq; struct mlx5_cqe64 *cqe; =20 if (test_bit(MLX5E_RQ_STATE_MINI_CQE_ENHANCED, &rq->state)) { - while ((cqe =3D mlx5_cqwq_get_cqe_enahnced_comp(cqwq))) + while ((cqe =3D mlx5_cqwq_get_cqe_enhanced_comp(cqwq))) mlx5_cqwq_pop(cqwq); } else { while ((cqe =3D mlx5_cqwq_get_cqe(cqwq))) mlx5_cqwq_pop(cqwq); } diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_rx.c b/drivers/net/= ethernet/mellanox/mlx5/core/en_rx.c index 8e24ba96c779..d81083f4f316 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_rx.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_rx.c @@ -2434,11 +2434,11 @@ static int mlx5e_rx_cq_process_enhanced_cqe_comp(st= ruct mlx5e_rq *rq, { struct mlx5_cqe64 *cqe, *title_cqe =3D NULL; struct mlx5e_cq_decomp *cqd =3D &rq->cqd; int work_done =3D 0; =20 - cqe =3D mlx5_cqwq_get_cqe_enahnced_comp(cqwq); + cqe =3D mlx5_cqwq_get_cqe_enhanced_comp(cqwq); if (!cqe) return work_done; =20 if (cqd->last_cqe_title && (mlx5_get_cqe_format(cqe) =3D=3D MLX5_COMPRESSED)) { @@ -2464,11 +2464,11 @@ static int mlx5e_rx_cq_process_enhanced_cqe_comp(st= ruct mlx5e_rq *rq, INDIRECT_CALL_3(rq->handle_rx_cqe, mlx5e_handle_rx_cqe_mpwrq, mlx5e_handle_rx_cqe, mlx5e_handle_rx_cqe_mpwrq_shampo, rq, cqe); work_done++; } while (work_done < budget_rem && - (cqe =3D mlx5_cqwq_get_cqe_enahnced_comp(cqwq))); + (cqe =3D mlx5_cqwq_get_cqe_enhanced_comp(cqwq))); =20 /* last cqe might be title on next poll bulk */ if (title_cqe) { mlx5e_read_enhanced_title_slot(rq, title_cqe); cqd->last_cqe_title =3D true; diff --git a/drivers/net/ethernet/mellanox/mlx5/core/wq.h b/drivers/net/eth= ernet/mellanox/mlx5/core/wq.h index e4ef1d24a3ad..6debb8fd33ff 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/wq.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/wq.h @@ -242,11 +242,11 @@ static inline struct mlx5_cqe64 *mlx5_cqwq_get_cqe(st= ruct mlx5_cqwq *wq) =20 return cqe; } =20 static inline -struct mlx5_cqe64 *mlx5_cqwq_get_cqe_enahnced_comp(struct mlx5_cqwq *wq) +struct mlx5_cqe64 *mlx5_cqwq_get_cqe_enhanced_comp(struct mlx5_cqwq *wq) { u8 sw_validity_iteration_count =3D mlx5_cqwq_get_wrap_cnt(wq) & 0xff; u32 ci =3D mlx5_cqwq_get_ci(wq); struct mlx5_cqe64 *cqe; =20 --=20 2.45.2