Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp574972lqh; Tue, 7 May 2024 07:51:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUBTOaTT3I3AHf1LAP8Rozi9mlHayy122+rInUIjf41rZ/Btz5HNJdvIglq+G3jmrjceEg6swJjTNxoALutL/y/Yd3U3q4ZjCDldcnRAg== X-Google-Smtp-Source: AGHT+IFhSRkFoxBCCU+nGN2QyGnnoOBL3/Fbm66SkuNnbDIR9uG8Uh2GUAuFn6IDvUg2y/j6qTtO X-Received: by 2002:a05:6808:3093:b0:3c8:65d1:7a3a with SMTP id bl19-20020a056808309300b003c865d17a3amr15238782oib.55.1715093506617; Tue, 07 May 2024 07:51:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715093506; cv=pass; d=google.com; s=arc-20160816; b=yPmYUjFec9omubxSbB1ex7KhEBNBPQODXdWAvT75PRCLAjJCXpnCXGbJPQ6Clumcm/ VVFLQRIkgRjYu8mdeIvVTr5nVx6Yi+aEf5LYQ1wkk4+auLBfiTHOOwDXe59OZJGvrcw+ eJgw1zshQ+DkHFFgc3TBSK86W473BolLEowYM5PzvV4izGPKq5EMWUjqNMCkPu/nB6dR FEabAIBTKfbKEgcgBnyLOs3a2rojmPY0anTOkUXi4MyVmRBii3bDi31vWmNnhoIrvBxe ltHitt09ia74FJ6AtJ2k36HfBjoG5cOu9FZrsssH7wVtSui6RLCqYcefCBua2AwgQHBK LXGQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=vnRmtUcfDdB44V0fx8MJBtpQNFlOxDchfgegz24nVno=; fh=Yq/dpM7lmnm9nSbRU5KXevZP9oToC3AmUVsb9A6KYy0=; b=KJtnbooOsm/r7KHM6fvSjv39Pp/SX2AZ0KXW0UfZHCI7vS5c09whd9DPqoJeBn4lz9 X2d3zJ1Q7vHjLu4c13do62L6WqE9k5MO6G43QnH6SvZospgJ6gRwMJwPiWU9LRn7iQ67 WBEBetMI+E1Zv8BA2Kyjs/Y/689qlbm9mORZOvQ1lZxcbI4QRV08RR12BvLcpGka/p+7 salqoiQtu4Kg2ANyuopwQT3mBwV8CqQbgFDRG8GB89iU/NXaV++bkdSMSCs7mS81gp/o ievv/mEioAMt2P20y5IMzE4SC8jLWA9vw2Rs0nWbxyHtNA4+BrPx4OtFKJJ8tH5I6fgB ECww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hQVwh5Ep; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-171621-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171621-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id j12-20020a05622a038c00b00436969a8c4csi11894158qtx.572.2024.05.07.07.51.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 07:51:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171621-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hQVwh5Ep; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-171621-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171621-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4803A1C234F1 for ; Tue, 7 May 2024 14:51:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A74511635BD; Tue, 7 May 2024 14:49:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="hQVwh5Ep" Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5657C1607AD; Tue, 7 May 2024 14:49:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715093390; cv=none; b=UmjkIdvsjRfh7h4ExrYSd1YQfoQpV/xxT7aQk0eHAbrDT/2/r0i4R/MY8MEEy+UBBiq2342VOULK+Aq54dUFa1M4PfuP2LfCAQFgyfCQPJ0xVSAQisMvVFW4HUQei9z6fHaFMW1yVbESSeQj/+dWKb2qjxVXGLtlV1kg/tnjr30= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715093390; c=relaxed/simple; bh=xfqyY4/5grH1OWHSQBdFFIJMUsvolggHOKTUaOh1qSs=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=R7Fm70UgjOnlMt5/4wGGC73mHhiKaXGmXHvE+MBaU/cuLcOWGeAfvYgOxp8CGtlJO4Cs+E9TkG+QP1VfliFNrRlgUUEunF7glGYmBRqp4vvQkAhL7uvA14rofscyM85O4/h0Mx6HY64p9T0bxtZqcFCgGkNw7qKAkoa8Y/vgbHc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=hQVwh5Ep; arc=none smtp.client-ip=209.85.128.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-41b9dff6be8so21858965e9.3; Tue, 07 May 2024 07:49:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715093388; x=1715698188; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=vnRmtUcfDdB44V0fx8MJBtpQNFlOxDchfgegz24nVno=; b=hQVwh5Epmk9Q/n7P/ln526QT1YXt3tIAaDx8R26FoM4IFwKtcirdydUIYjVsybfAkx CqO4Qq/6NWtGWaOkBl1R2ol2ZZEFNqdRdNsW3MLPbJ/0wWH9JQ1MmTS7HKeaBGEwbSGv SSzhinz1hO9keiFyhtbtwZejlUtdVrQVFfJ+WY1XOUORRnyURXoidS/41q6yS7XWp/Pe OGuhDbCCZhrEsMjHGTXlT0rTN47B5wY3NeiJ+3v/JuVAkhPZ3OTc8Dt1fxiWV/AysmKh /d/HJxS0aIHfWeQ8U2nuhrbEw3skS1EGH1g04lW5WcwNTJBttIDOKi3MiDrnFUrQK5/y 1ROg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715093388; x=1715698188; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vnRmtUcfDdB44V0fx8MJBtpQNFlOxDchfgegz24nVno=; b=mNCba3qHT668seCQzzInDGABNjQCQZnKAc3tuvWmL3MVok9uT3xn2RSLhyQQrTWUou 2IA0e4omAUlvCokspepGbcI+RaR9qkQv2lfQjqkb7BoZ3yXUyui2Qt4uaKIouoM6rtYj 6QVcxo/svBlc/FlM6fUsEya8wtdo366iO1zFT7VIIlMhVXki3XEYl7P8XZu6vZV/sINS JgFNuuTkL/TZA+hXXixWIi3Vuml6LMZscMdIy8Rt+QzHAgCmpNDA2rmh9goMAapzIaJE ciBvOlaeBq1dgs5UIlx55eEGcElavEWUQjCLmssJE1agfXqxaIauUvnpF/jBGlfOvBoH SCAA== X-Forwarded-Encrypted: i=1; AJvYcCUsL9cTR+w8XBKn7s1esDaK83dcABy+eISa+iyIhLJxwHEd9XTBkhQgv4ydBX3j4wynkb9bpmRTClPKsoujOcFugC1AyE242fVCH0l3l1RYeYItny0IH8IXv39iJlb2WtsX/pCE0Letuvp8GDmL+fWyy6Q2RnHcvhu5PF0foLT8scpHC/RU4Mzt/9DRdrlsIpmmCslbAc0xInbm X-Gm-Message-State: AOJu0YwJ49k1JuN8FHPfZA/S22Pnb6PKds4sio4d4JPk9c6YPaIxazUe SxB1hvnZ5xcgyaiogeHtWuVJhKEoiSrQrhpzUX+h7xOIJQLlo3FRh+dTH5oPHIP0xMWmomHBBv8 0pa03yVHzSH4ouKiSjYwGBtYjXJE= X-Received: by 2002:a5d:5147:0:b0:34b:81b3:2c62 with SMTP id ffacd0b85a97d-34fcafcce2fmr3976f8f.35.1715093387541; Tue, 07 May 2024 07:49:47 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240507-upstream-bpf-next-20240506-mptcp-subflow-test-v1-0-e2bcbdf49857@kernel.org> <20240507-upstream-bpf-next-20240506-mptcp-subflow-test-v1-3-e2bcbdf49857@kernel.org> In-Reply-To: <20240507-upstream-bpf-next-20240506-mptcp-subflow-test-v1-3-e2bcbdf49857@kernel.org> From: Alexei Starovoitov Date: Tue, 7 May 2024 07:49:36 -0700 Message-ID: Subject: Re: [PATCH bpf-next 3/4] selftests/bpf: Add mptcp subflow example To: "Matthieu Baerts (NGI0)" Cc: MPTCP Upstream , Mat Martineau , Geliang Tang , Andrii Nakryiko , Eduard Zingerman , Mykola Lysenko , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Shuah Khan , LKML , Network Development , bpf , "open list:KERNEL SELFTEST FRAMEWORK" , Nicolas Rybowski , Geliang Tang Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, May 7, 2024 at 3:53=E2=80=AFAM Matthieu Baerts (NGI0) wrote: > > From: Nicolas Rybowski > > Move Nicolas's patch into bpf selftests directory. This example added a > test that was adding a different mark (SO_MARK) on each subflow, and > changing the TCP CC only on the first subflow. > > This example shows how it is possible to: > > Identify the parent msk of an MPTCP subflow. > Put different sockopt for each subflow of a same MPTCP connection. > > Here especially, we implemented two different behaviours: > > A socket mark (SOL_SOCKET SO_MARK) is put on each subflow of a same > MPTCP connection. The order of creation of the current subflow define= s > its mark. > The TCP CC algorithm of the very first subflow of an MPTCP > connection is set to "reno". why? What does it test? That bpf_setsockopt() can actually do it? But the next patch doesn't check that it's reno. It looks to me that dropping this "set to reno" part won't change the purpose of the rest of selftest. pw-bot: cr