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 CD1CA2C80 for ; Thu, 11 Apr 2024 00:49:41 +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=1712796581; cv=none; b=P+k+2p1X15i/uD34GbDWb4fkRAd1ZkfQ59u/8tqJ95Pe/cEGeD9pcmgC95KxwyiW/u26JJQjVLBAw5eHtpUxTWo5nip9aCOaF8qJesbqSVjs4G8WBmsSKH0N4BRNLY/4XMcK2IyD179YHHpJ0VPEVF99eTCV0YX9nz5Df6n5yyI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712796581; c=relaxed/simple; bh=uBvl+V48Ip1bx6RPlfDKU6fhpzEDYqZ+Px/zO5ASnWM=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=fdV1F6RfdUZV4kAaCjo1KLtCtJwwlNcK7XKDrjg1uenoTLAixmdkSNkbcaB8/UsGRSMDqB6cFLE0e92auTGTrMvVutNOkPPmyk8ZNgrPaSsvJkLysLsSZdlabLzwNMqsdqMgNjuwueIZ4giY2SidBIj9lQ5Zc0D4pT5uipzZrlI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=t3JuuYOl; 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="t3JuuYOl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4803C433F1; Thu, 11 Apr 2024 00:49:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712796581; bh=uBvl+V48Ip1bx6RPlfDKU6fhpzEDYqZ+Px/zO5ASnWM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=t3JuuYOl8dKciiSv/7r8AzmyfNRBiVVtFg385l1za40aXoqT/1w5p9phBPBsanl8l 8yhF1pSYrwoUeicP3NXbUqGDZKNNCuDR1K8VsC7jh9wEb4Lzd7PQHoj1Bsg9Z+PMlr NvZEjlsUKTs0VhfcWCRmSf43fo0k9xPnnuGbjDgNir7s0Wqx+ivAgc3E/uuTMZVR1y 3imx9NQr9owFronxClMTSim8xR8sEa76/E8LlYtnV11SrlNg3SdYDuunwkw9d3uROT dTPuxRlMTrqVhxSWE9PnTbRFH46eDOCnVUwgBY17tme1M2+5ulLQB4l4mO2xvQtQN8 umosOJKawU1ZQ== Date: Wed, 10 Apr 2024 17:49:40 -0700 From: Jakub Kicinski To: Antony Antony Cc: Steffen Klassert , "David S. Miller" , David Ahern , Eric Dumazet , "Paolo Abeni" , , Herbert Xu , , Tobias Brunner Subject: Re: 14141 Message-ID: <20240410174940.14739138@kernel.org> In-Reply-To: References: <20ea2ab0472ecf2d1625dadb7ca0df39cf4fe0f5.1712226175.git.antony.antony@secunet.com> <20240408191534.2dd7892d@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 10 Apr 2024 19:48:46 +0200 Antony Antony wrote: > > Could you turn this into a selftest? > > I thought about it, and I didn't find any selftest file that match this > test. This test need a topology with 4, ideally 5, namespaces connected in a line, and ip xfrm. > > git/linux/tools/testing/selftests/net/pmtu.sh is probably the easiest I > can think off. > > git/linux/tools/testing/selftests/net/xfrm_policy.sh seems to be a bit > more complex to a extra tests to. > > Do you have any preference? which file to add? Whatever's easiest, I don't have much experience with either of those. You can also create a new file, it's perfectly fine, just make sure you add it to the makefile so kselftest knows about it