From mboxrd@z Thu Jan 1 00:00:00 1970 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 496E0299AAB; Sat, 2 May 2026 17:08:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777741690; cv=none; b=nYu8ObIs9FZMX5RQT7EQVQIP6Xlb9kCcWNmWLqbnSwy8lsndRRxyWEaYR9JHXTeZq1H0fHaoidDYXaEpeiwEnan6HF2RpA0MWALBMDhAgYCL0Q2D0ma/vRnGnuGynfjJ0ipBveUQlJN/35BM10Rylu1KVhOO3JDlDPX73zoOWYk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777741690; c=relaxed/simple; bh=30Uahu0v/XehWUtxu9l0X2lqpXU+V5dHVU5p7Ysft0E=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DV1DGEYaak5vTy8ybMrFGnRnT0k/0uQXouBl+tzO8gVu6kfzd8uETNEzXpldnmeKR1RwNhUiqZ0oD7DncBxz5Gs1NPArw7/tXeHeeyT7LlOP1Znq6eAMXcmJICuGt68P/UbpT43g9kOYgtiQU91tdp++6JRmO04Kj0aXsa4I434= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Sz1l8ErP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Sz1l8ErP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83176C19425; Sat, 2 May 2026 17:08:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1777741689; bh=30Uahu0v/XehWUtxu9l0X2lqpXU+V5dHVU5p7Ysft0E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Sz1l8ErPMSmuGu5loMwMeOHJJoP6PmNqPQEEDsbePAJyAKGYVdDFxggRkgSIO3wbN mli1wfSei6iPbPT2uItrmqj1BH8TsgUMa+cWkKiccABu1tCJ5CkHosnPd32seXAkfp ou9Os54dP2xL/HZj8MMkT9eLrdrD1FDe8l/SIzut01aUyHI8SHRbaafO4TmBrqZhNU bX4eWLrt78am3eiKB/W/ffXIlJ/WjdmRI4UfJQdK4d08E2hLhqzCjjF9qs0OFQAj4+ /oiy/XBt4dsMGYEuu1K7xJWHxp81h+xVmhQfdQpvKtD22tFfimRV+s+cz77T9B2WuR vKWY6zIFLUPHQ== Date: Sat, 2 May 2026 18:08:04 +0100 From: Simon Horman To: Tariq Toukan Cc: Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andrew Lunn , "David S. Miller" , Saeed Mahameed , Leon Romanovsky , Mark Bloch , Patrisious Haddad , Jianbo Liu , Kees Cook , Dragos Tatulea , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, Gal Pressman , Leon Romanovsky Subject: Re: [PATCH net-next] net/mlx5: Add vhca_id_type support to IPsec alias creation Message-ID: <20260502170804.GN15617@horms.kernel.org> References: <20260430061958.225245-1-tariqt@nvidia.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260430061958.225245-1-tariqt@nvidia.com> On Thu, Apr 30, 2026 at 09:19:58AM +0300, Tariq Toukan wrote: > From: Patrisious Haddad > > When creating an alias FT for MPV IPsec, if alias creation with > sw_vhca_id is supported use it instead of using the hw_vhca_id. > > This in turn allows IPsec to work properly after live migration, > in case a VF was live migrated and his hw_vhca_id changed due to > migration which can happen if you migrate to a VF with a different index > than yours, IPsec would fail to start post migration, this patch > resolves the issue by using sw_vhca_id instead which doesn't change post > migration. > > Signed-off-by: Patrisious Haddad > Reviewed-by: Leon Romanovsky > Signed-off-by: Tariq Toukan Reviewed-by: Simon Horman