From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-187.mta0.migadu.com (out-187.mta0.migadu.com [91.218.175.187]) (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 324E76E5FD for ; Tue, 16 Apr 2024 06:47:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.187 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713250042; cv=none; b=FM5zgx06sv/+LZ9jEkqSSbRXQjQOt9hUHZ5VPynKkT36OOkhff8SpL/WvYjJUVCG723IT5KmMcBsH3Jx+aPdf1ABKCGZvdBO4QRfD5xnk71/ehCk4GufgbR5EiQzBi5iezDuiUPOZl64k5L5wglqOVMstVwM6AlEKrzORnD0b6A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713250042; c=relaxed/simple; bh=KJGx9L/Y2VXsTFjWdCI2wBba8I/NOm8/O1NN/CJ6FpA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=s0vXGDhakILx1GlUw2UpMcb4MHkDmSjbDg8+Iiu4Sn6WEreKNs4/KpO/bR54ffnXEDyE5frgrgiXjy7/Qj6fWTFv8CY4D/kKPBGLEpXM7zDUp7ylcf8HQIz7YoXM+qoMEd1LgqgtHL9COAV4lBEnbjij66wK+spCck9yua/ofb8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=bQI5xsD9; arc=none smtp.client-ip=91.218.175.187 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="bQI5xsD9" Message-ID: <3df13496-a644-4a3a-9f9b-96ccc070f2a3@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1713250037; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KJGx9L/Y2VXsTFjWdCI2wBba8I/NOm8/O1NN/CJ6FpA=; b=bQI5xsD9HsnJRF1cXVgXGozf3UwBouiwrOwIuPC/+nF51wOHacDzAMnt8jZ2vyJ1B0vcmJ PypP1dc6ODTwK3LSuzm3SaRTIkXOH5TipzVlPU1HmOzqSnsXVtYG0TRWs9g3P2Fn5AWAHz AZ9JdAduCnkzfn1uxDE1as2NYlyRSkg= Date: Mon, 15 Apr 2024 23:47:08 -0700 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH v2 bpf-next 4/6] selftests/bpf: Add IPv4 and IPv6 sockaddr test cases To: Jordan Rife , bpf@vger.kernel.org Cc: linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Eduard Zingerman , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Mykola Lysenko , Shuah Khan , Kui-Feng Lee , Artem Savkov , Dave Marchevsky , Menglong Dong , Daniel Xu , David Vernet , Daan De Meyer , Willem de Bruijn References: <20240412165230.2009746-1-jrife@google.com> <20240412165230.2009746-5-jrife@google.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Martin KaFai Lau Content-Language: en-US In-Reply-To: <20240412165230.2009746-5-jrife@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 4/12/24 9:52 AM, Jordan Rife wrote: > This patch lays the groundwork for testing IPv4 and IPv6 sockaddr hooks > and their interaction with both socket syscalls and kernel functions > (e.g. kernel_connect, kernel_bind, etc.) and moves the test cases from > the old-style bpf/test_sock_addr.c self test into the sock_addr > prog_test. Can the test_sock_addr.{c,sh} be retired after this patch? If that is the case, please create another patch to remove them in the next respin.