Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp456570lqr; Wed, 5 Jun 2024 10:41:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXiYs2cMvm6+H5LnHVK55Yc0x0FTh6bXinILOQd1YwPO+g/l/cdYh9QY2KZdoyvmZcYZ6w/6udKbHCc4VYLZVx1xyNDXTVTAPQNznEnyQ== X-Google-Smtp-Source: AGHT+IEg8A330o5bhqp4i3El0url5G8waljfd9D+B0x/nsmIbcu/RidpmzeTN/f1AK4EwNdoc+Dd X-Received: by 2002:a05:6359:45a9:b0:199:58e4:5f1 with SMTP id e5c5f4694b2df-19c6c8fa6c5mr391622155d.25.1717609282514; Wed, 05 Jun 2024 10:41:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717609282; cv=pass; d=google.com; s=arc-20160816; b=ZE2sKj7GOpUTjyEBO/lIldrydUdG5E299yml4xZdGIb3xbfOKHyzsZsgyYJjXGvL1u MoyJg2Z6z2XBE+GI+JxRIPSpZH2qXeiBnPzmTlnabS0+ti10k6fgXnmnAc/pzRhxSQMl n0CrpxfkRPZ2FCzQujdBuRZRWr2DNeox9AaHuR5HUdDEibrvDgup8A5tk4DF0hm0dMac mD81OkX8QacZj2QYP564MiL2Xk1hj4KJdHQzjmqMLCe6p41OhUOcqDhkjK6jPqB0yJYi VMBI5yhBdjJqIlTADhMpVL/lpcJmlLTi4pj8UfyM1opWkRFsqRUySboFWgV+oFM+zFmn 5ggw== 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=oRCudjCBZglMVEtFZ1wsBH2p78pn49xRBD8fZ6tyagE=; fh=BNswkUGPjBfeRN/UtaD8wIHntqUjNJCOOuL6KxAymfY=; b=ehxIeZlGwZ13xBaq4kxLe8VDvFA5diLjh0oN5AnANoC8F4WpP2u3RvN0o1d/H6fhr/ 2CYRJAK2JCdJUTXxCo5SxfoBVLtOeAdd8KwuPBkbZrGevRnWPn/km1BYzHr2D87WNhh1 RCfi00qcuj0SYnASlYgsX5H17OfBym0SdVTCq85e+oHOrmlaRyMkj74aIg1mOCp13gvG XEbYKEoo6fu8UdI0HaLhpVYAVdQ5YbtuVfwZ4Rh7oWQkOh7/5r/nqdZJFBSGHGBYnUo4 qthty5TdKmMPIAveOVgJ1adSvVVFqjSDtORjeSlI5K6goeDjC9GsDqxFT5PhNxaLDVol EY1g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=o8fGFWbU; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-202980-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202980-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35b40c8b3si663427a12.478.2024.06.05.10.41.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 10:41:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202980-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=o8fGFWbU; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-202980-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202980-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CEDBDB22EBF for ; Wed, 5 Jun 2024 17:37:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9B21713A877; Wed, 5 Jun 2024 17:37:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="o8fGFWbU" Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.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 6B84C7346E for ; Wed, 5 Jun 2024 17:37:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717609047; cv=none; b=p5ov6jdycj6kDn7ZIvYF3EMkPvSo3EKLkaGDnwcw7MJKDIFYJMkuRu+SrEVla66uy8vGV+r1SVevRNCvGye7/jbMTNIbfLha//tK3zhKEjhFOdJvg2fstf4SL8B3n+5ZGjjfvFZmAMUk/ogIjjitj7rI+Lo2+VCEF96l+0UCVOE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717609047; c=relaxed/simple; bh=VNJYs+kGaMCopwBQ+lusDjSQTVikl64WzNj7Py69ocg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=CT8zCKVIucc7sQhJXQ+Cn0LYuVF7yM+sJogXfKFe6Ou8DIUOtegH8cgJNmMEd1ZdNNxRsSdn7TAs3But2MSY/XPt4hzXanaEkdZlFT/w0MXB+KWAHQ9KfNDFUiMS4v5UmvLuZF9bgLT/LW6ajACK1ZtE9ox/RwQOomgScsXGmvs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=o8fGFWbU; arc=none smtp.client-ip=209.85.208.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-57a16f4b8bfso1975a12.0 for ; Wed, 05 Jun 2024 10:37:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1717609045; x=1718213845; 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=oRCudjCBZglMVEtFZ1wsBH2p78pn49xRBD8fZ6tyagE=; b=o8fGFWbUmy7sg+2z3zHDp5pvWOcu7rmIHx32kgsPC0MFw0eDEIV8vwMEUBhtJuRf+4 YoTd1c4H8j7QPquPWy8HZ50oN2W6qDC9HC9XzC43YSjEyBgQaLmMH7d8jwduKAs+py50 YudZjZ5+BInoKJPbYo94i2M5SkHeLF5D2TLLkcczl24PWlYRPGYf/liHqtNobHqNgTDf FJ1bqz0kJd94RLrgic7PYeqLtMpcnxmHfMJQ+muXnlSTHqnqkOZL3CAI/55oP4XlgyE5 93Q8++M2ALq3HbOsroDVDU0lOj+FtXW9fBtutDAfnJU/ydbcZ2IAafFpMOhHVLT3zqu1 oRCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717609045; x=1718213845; 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=oRCudjCBZglMVEtFZ1wsBH2p78pn49xRBD8fZ6tyagE=; b=n0S8RU6D6O+MmZeI3g8l29dyRVtw9JJGEocz5rn5BNUGRF6yQsXlS3tK5IqkqqlgHr vHYZ6CkcwAgSrEHCk2Whj0z3K6O4vgI59lzlxNd/wCaTxwEiJaMLyXQLbFnRneweIUhv DAGiHM1Gr0Nt/PeYXpd8Bqw230fAZ/QTYNE5U94z1KN48xsWv+K718UezYCFuYyDdNnK B+W2X07K+Cr5wLJ/i/pQb2hYfWUrgsGeMAhZzhgaSon/sJhWkJIjfK1O1MrY5jUtfQM8 j7sy+ov87ugpMgp6M1L8Vvv1/ge5OuJT9P3cT32voO0/TyvfhKxkh/Ff/nyhuRm3zvkr T2+g== X-Forwarded-Encrypted: i=1; AJvYcCWqacNOHv8JybikJssn7r8escOz65BgPZMDBFBjs7jEPI7smFm5AfM4QMT6ZsGpdDyi/ioFdYwnVxXw0Jw4DVOGmLrGnm1ExxfzVjSL X-Gm-Message-State: AOJu0YzBk1P3DN/SVoqWZCZbetxLDxVgQUDDpZb1CP6BZKVmO2hpPLL0 75K1c/6heBdHr3ytVm0JW0pklTll8HxuxtV8hM3fI3MRa9b8xP4KwoEKyQMPOqgJxkV3YmgtPj6 najYenIpW61KrpHXJQs4ENcdvjd54rpAMhoMk X-Received: by 2002:aa7:d6c3:0:b0:578:4e12:8e55 with SMTP id 4fb4d7f45d1cf-57aa6ead48bmr144a12.1.1717609044559; Wed, 05 Jun 2024 10:37:24 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240605-tcp_ao-tracepoints-v2-0-e91e161282ef@gmail.com> <20240605-tcp_ao-tracepoints-v2-3-e91e161282ef@gmail.com> In-Reply-To: From: Eric Dumazet Date: Wed, 5 Jun 2024 19:37:09 +0200 Message-ID: Subject: Re: [PATCH net-next v2 3/6] net/tcp: Move tcp_inbound_hash() from headers To: Dmitry Safonov <0x7f454c46@gmail.com> Cc: "David S. Miller" , Jakub Kicinski , Paolo Abeni , David Ahern , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Jonathan Corbet , Mohammad Nassiri , Simon Horman , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-doc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jun 5, 2024 at 7:35=E2=80=AFPM Dmitry Safonov <0x7f454c46@gmail.com= > wrote: > > Hi Eric, > > Thanks for the review, > > On Wed, 5 Jun 2024 at 09:07, Eric Dumazet wrote: > > > > On Wed, Jun 5, 2024 at 4:20=E2=80=AFAM Dmitry Safonov via B4 Relay > > wrote: > > > > > > From: Dmitry Safonov <0x7f454c46@gmail.com> > > > > > > Two reasons: > > > 1. It's grown up enough > > > 2. In order to not do header spaghetti by including > > > , which is necessary for TCP tracepoints. > > > > > > Signed-off-by: Dmitry Safonov <0x7f454c46@gmail.com> > > > > Then we probably do not need EXPORT_SYMBOL(tcp_inbound_md5_hash); anymo= re ? > > Certainly, my bad. I will remove that in v3. > No problem, also make it static, in case this was not clear from my comment= .