Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4231243ybb; Tue, 7 Apr 2020 03:27:51 -0700 (PDT) X-Google-Smtp-Source: APiQypKao4tU1EALi39pGKL4m5kOEMGb7Xn/f6G0Y/w1CVDlDpiQ5q3y6UmpEiFSa5uvM5neIT3s X-Received: by 2002:a9d:220e:: with SMTP id o14mr908751ota.88.1586255271385; Tue, 07 Apr 2020 03:27:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586255271; cv=none; d=google.com; s=arc-20160816; b=IH+gRFsRJ0+/RSylSOEfzZ7Zjx3lDwo2jGXH7O9vrHAMkz8z95xaS2pAdtUUxJ7QUq F6tfXxPgNexiTCXsvoYZw5d4XoY8d6iKWTMGJFIK1tOzyf6J0TmFF+Apv5gZpYFSMmTX bzz+4YRAQsRl8xheHLZ8cCxJ8dksRsnFAwJIBStdHmm9U51My2JMUdGhC0PdIsSJ4m8f 2GK6UnisjP8qkVGTpDeMW30G0JKnX6NaiLOe08qU97I4ijJ8bjMenK+7Gvg6UgDwTdvA U6kD5WdpAbhDGXm/NebwzH7s1PksjtwL6Kp2VCk0tN0j20qEHfE3rYbDmGByxSY0e1/N WOQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=btY4AFcjswfO6YPqHeLx6SqGYEEbAChNmfZesXeyK/U=; b=vDmsYa5v4CZkCku4vubRMba5dT4i8ggnV6I6T8KX3nU2ITgvSHCAMszuVIkRIiwcY/ UMttUKejLGQ4zYmBoDYqVGobX+AOTRAh7yzx2x7R4GVJKv2WicPT7r7zW/2OSQr9rg3K vq/JPyM4qWa96auSdgTaBujxLpZfdJT2dOWNxCcdM5YSFyyskDCfkJr7V+ATtOSfnToA 1FJrbcrnsagUjOeYsniOFHrCB23H5gx7VWJgKV6Nb7rdohoVs9G7pGq9E9v41MYtPwmk x6UGgJ9CZlVVme/lR8xrcr/tGjkUqyLM9A9cUPMSOBfyho1Huh8C+mqQKVmtqQ0sI3p7 zf5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yBaiIVbw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l22si1039569otd.53.2020.04.07.03.27.39; Tue, 07 Apr 2020 03:27:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yBaiIVbw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729058AbgDGKZ4 (ORCPT + 99 others); Tue, 7 Apr 2020 06:25:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:36670 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729052AbgDGKZy (ORCPT ); Tue, 7 Apr 2020 06:25:54 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ED89B2074B; Tue, 7 Apr 2020 10:25:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586255154; bh=CiDUe5Q2TUEW9mCUg7IqKdEful4ga79obeogsJc9u9Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yBaiIVbwnMc7dh0RHU55VwOxrBeWNLt3hYSuyl6kSCjQkbrQO3mc+jF9DAK3VgCP3 IG4e+X8VAGHiNNRFecTv1Gw8N2vXcx1pTVycmJcdAkfLLlsDfI74jLxkjMY99N2yu1 yRprbCCWPfAuuTaew9gxGkNX69KFARMj2Z6++wcY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tariq Toukan , Boris Pismenny , Saeed Mahameed Subject: [PATCH 5.5 34/46] net/mlx5e: kTLS, Fix wrong value in record tracker enum Date: Tue, 7 Apr 2020 12:22:05 +0200 Message-Id: <20200407101503.119978133@linuxfoundation.org> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200407101459.502593074@linuxfoundation.org> References: <20200407101459.502593074@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tariq Toukan commit f28ca65efa87b3fb8da3d69ca7cb1ebc0448de66 upstream. Fix to match the HW spec: TRACKING state is 1, SEARCHING is 2. No real issue for now, as these values are not currently used. Fixes: d2ead1f360e8 ("net/mlx5e: Add kTLS TX HW offload support") Signed-off-by: Tariq Toukan Reviewed-by: Boris Pismenny Signed-off-by: Saeed Mahameed Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.h @@ -38,8 +38,8 @@ enum { enum { MLX5E_TLS_PROGRESS_PARAMS_RECORD_TRACKER_STATE_START = 0, - MLX5E_TLS_PROGRESS_PARAMS_RECORD_TRACKER_STATE_SEARCHING = 1, - MLX5E_TLS_PROGRESS_PARAMS_RECORD_TRACKER_STATE_TRACKING = 2, + MLX5E_TLS_PROGRESS_PARAMS_RECORD_TRACKER_STATE_TRACKING = 1, + MLX5E_TLS_PROGRESS_PARAMS_RECORD_TRACKER_STATE_SEARCHING = 2, }; struct mlx5e_ktls_offload_context_tx {