Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3836632ybb; Mon, 6 Apr 2020 17:10:22 -0700 (PDT) X-Google-Smtp-Source: APiQypJZf24XU3PJrQb0uF96odExFvkJDeDHheZWMIyE+iSmwJs5idCx9gdZDhy0kI56XRLwGXcE X-Received: by 2002:a4a:9c86:: with SMTP id z6mr1471050ooj.68.1586218222474; Mon, 06 Apr 2020 17:10:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586218222; cv=none; d=google.com; s=arc-20160816; b=DJkwirWaii5C1Qo7agNGCiULx8e+ClqKmRS6Iqx+ACIrwv/YSxN8gF+0eO3oPXvgWr TFcQm/ViAvPZ7dWmLCo2fAQLoaN9uTUjp/JZDSx3kBTwbY2ZbjD/OgUuL0Xyg2ZAiQHL dewR0xmPcltMCEI5LXFs/b6LXB6/IlMl7/FeQcSjk+rLLfBwH1SN4kfci6a2wcpbZttV X5aEH313zLfWbdtLaHqTi4KXnYIKQadKAEMqpgFT/+0tL3G6T2NFiX6j3vL+xu8aziiJ txh7EGGy5tTf/A9G/VhYzlATH28UiCgcz73A9EyJx3d/NfYcmTuMoLX2UH7wluyp82wx s1Lg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lXWYSi6Vuks4s9unPhAA35V/4jO+hE6Sm9XvKEtHuCo=; b=glF4kdg4ZB1qjob7pLWDFwqDWi3eHLp806wRJsWDVPshkWKPHhnKRRl6c5Q5vkUabp Mtv5BhWSDetC9y5LLNYb2uie9g/xgDkDd//DMQIydNExl9WiDkV/3mFXXcSl0F1iknJb yjVe9QOJb8f1UM4PAJCR9/xSCN74YZlycd/YeWOLu+SJ4b6N2n2v7KaSiG5p5TAIhYCx XavQylBRdYT4QEpYRGR5cwaslzvLOEG4fgXUjc2mqho8JEUqvpuPWIfi1gISfXZYYUQ8 gXNLUJELqAgOT2vhKaKmyU9mcj9rZ9PdtPFO4CZwmWWjdfkC4izbJmgius9aPUrfNDDC /UsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eVNx8z+d; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r205si7913057oig.174.2020.04.06.17.10.10; Mon, 06 Apr 2020 17:10:22 -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=eVNx8z+d; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727136AbgDGAJo (ORCPT + 99 others); Mon, 6 Apr 2020 20:09:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:33474 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726437AbgDGABG (ORCPT ); Mon, 6 Apr 2020 20:01:06 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8C70620768; Tue, 7 Apr 2020 00:01:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586217665; bh=qM8LL6uEKVv7hUeypNV5D5h6B/YiokxF949tvBiBp3s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eVNx8z+dOuUhqS68n/W7Exh8iOk9kunPNtkft0hmbhq34HovW6t6aZOEPi7CpqtmJ kQ80qb3CWLc2uPKbO3ikalqX+nfEVEEuom5g5ZUquoBTLoA5UK0XogXuMcnfRhUvRu 6/MbzqUYEIwUht/N9KcjGg2FmBfXfKo8wpCbKhCU= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Tariq Toukan , Boris Pismenny , Saeed Mahameed , Sasha Levin , netdev@vger.kernel.org, linux-rdma@vger.kernel.org Subject: [PATCH AUTOSEL 5.5 05/35] net/mlx5e: kTLS, Fix wrong value in record tracker enum Date: Mon, 6 Apr 2020 20:00:27 -0400 Message-Id: <20200407000058.16423-5-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200407000058.16423-1-sashal@kernel.org> References: <20200407000058.16423-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore 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 [ Upstream commit f28ca65efa87b3fb8da3d69ca7cb1ebc0448de66 ] 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: Sasha Levin --- drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.h b/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.h index a3efa29a4629d..63116be6b1d60 100644 --- 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 { -- 2.20.1