From patchwork Thu Dec 14 02:08:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saeed Mahameed X-Patchwork-Id: 13492207 X-Patchwork-Delegate: kuba@kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 07B4B184E for ; Thu, 14 Dec 2023 02:08:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jF7Gov9H" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4AC0C433C8; Thu, 14 Dec 2023 02:08:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702519724; bh=9GLGJpeOE3NzuK1dnnT1fcd5mix5534yE3LtBtVUq88=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jF7Gov9HiEKHiMKdt5wEuXVg7EVeaa49g68sRiqP26+HBgkGG7mehGQIqHx8bJo2N bZ+vw58dFXKk/Aosn6l+duNYnBIWV2jBOcpbEQrgD4HI+NSxGFrxI8KgKZ0k1IpJTr 8EDulCvgyGctnuwqA4UjpJVsbGpOg74584pSjD9uMf5hbyTvCipXzNFsMYzgrobLVL WB3kZ7oRecL78rjsZ5o0YRXFie4MTzYvMiQ03HVH8hynRTy+HMitFdwzoMT1ONnPfw tHpUVq5pKg39c8PnrZ872BNCoIUwxQfPXHVBpZF1Cuxir+fMhKISG3/ttZkZb5iMq8 Wv/qGlRhxG8Lw== From: Saeed Mahameed To: "David S. Miller" , Jakub Kicinski , Paolo Abeni , Eric Dumazet Cc: Saeed Mahameed , netdev@vger.kernel.org, Tariq Toukan , Gal Pressman Subject: [net-next 05/11] net/mlx5e: Remove TLS-specific logic in generic create TIS API Date: Wed, 13 Dec 2023 18:08:26 -0800 Message-ID: <20231214020832.50703-6-saeed@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231214020832.50703-1-saeed@kernel.org> References: <20231214020832.50703-1-saeed@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org From: Tariq Toukan TLS TISes are created using their own dedicated functions, don't honor their specific logic here. Signed-off-by: Tariq Toukan Reviewed-by: Gal Pressman Signed-off-by: Saeed Mahameed --- drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c index 26a98cfb0a59..b49b7c28863c 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c @@ -3357,9 +3357,6 @@ int mlx5e_create_tis(struct mlx5_core_dev *mdev, void *in, u32 *tisn) MLX5_SET(tisc, tisc, transport_domain, mdev->mlx5e_res.hw_objs.td.tdn); - if (MLX5_GET(tisc, tisc, tls_en)) - MLX5_SET(tisc, tisc, pd, mdev->mlx5e_res.hw_objs.pdn); - if (mlx5_lag_is_lacp_owner(mdev)) MLX5_SET(tisc, tisc, strict_lag_tx_port_affinity, 1);