Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp822987lqh; Thu, 28 Mar 2024 19:03:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU/dmgaGFQSPbxWv1M1qJ04dZ4F29vGQWONnI5DDpf6Z2D2wpxKM03CYng164T/qzAcwNc1rVq2a2ugwyD9CF/dHjKeCt2/iunH0xfF1w== X-Google-Smtp-Source: AGHT+IH6W+EZTeBYy7wiBIj9iyj7qwdaH26HXHX5lHXkFMsoI8JxGkFAK0scDScK2E4AVQMASDdJ X-Received: by 2002:a17:903:486:b0:1e0:fb8c:f469 with SMTP id jj6-20020a170903048600b001e0fb8cf469mr1099837plb.18.1711677827939; Thu, 28 Mar 2024 19:03:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711677827; cv=pass; d=google.com; s=arc-20160816; b=En12s+7nMfXy35D/z7ZTfRcVOX6VI9RyGjU2YzVxZY6Bj77JDiLXxwDzX6h0AUHwuR gO/ieurh3ZomagMJ04BzagWatK7mSUDoWF6Yckkyj+hhKN0LZF9NEKTh8UE8iuMvByvg 2+/akZH7K+jthhOAOLtjsEyiTp/OmE9y6CDYbl2DG0AtFPaiAbWiY8KUk3VlG0/Pg4eY Hs6uR1yDKgIUcrLAC1RkM1zcH2X3+eXr5gxvWOvdZU6dfzN1FzdwnW6UEmqpNVIsnOmW IM5K2WOAY0AF3rGk1+5ft35QOor+G77GSYchcXchx2Fh21ylH5U5zAVnE0MBz9fewL45 zi1g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=RmiND9fJytE7hp4aS6EZvp2Qf4FYwUyLzLHSobY4D+U=; fh=RQLRWxXvA8trGayMYseErJBJKd0uTiJ7Uccsv8Z9s2I=; b=MKrnk6rP98F4DlgyGLwQhyxZAdkco3xURiDb4WECJFXQRKGi8bOegCfs7JqjPZGM/U P2c20e9I9yLasHIxENng6C1VBCzqtVxZobZWrwHbuJgDkWSGcq1fRyCrAt5OYTpTSjO6 dOOHYuVVS0drNWVSIgqQNj4nvIB0JrpoMpX04kHl2/RXHUbcIu6EWLjvGNSlWew8Gj3m fyJj6esl3qLy4ZHiWXFU/a/S/4oGEUMYoLSddMAKpdBOd7UqqyGqF2E1PGYB4N4VebdF WO6m27LfHPJLd+YBRUpTPXuRUHfTqaR1dFb7XMX7SAEmXJ60P3kEh6ZG4LYPDJhuK4jA EoAw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=RH0NkW3B; arc=pass (i=1 spf=pass spfdomain=flex--drosen.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-124005-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124005-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h7-20020a170902680700b001ddb7328cb0si2516628plk.29.2024.03.28.19.03.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 19:03:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124005-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=RH0NkW3B; arc=pass (i=1 spf=pass spfdomain=flex--drosen.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-124005-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124005-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9584028C34A for ; Fri, 29 Mar 2024 02:03:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 80A5E85629; Fri, 29 Mar 2024 01:55:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="RH0NkW3B" Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.201]) (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 8A2407BAEC for ; Fri, 29 Mar 2024 01:54:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711677300; cv=none; b=QTvRRd8POtrR2m2M2lvuusQQN/D+Nwkkv56x5cNAhwbSIB8F2fg6pdWcZpFoCoMMngZBBOiGRCcFBgSpz1/FsIANUediY0xz9rso1BHc7Q0uTI3UEynCxt1h89rGGx61jr+tlx20q+xuFwcN2IYXr1JPXh8YupjvIWDLY4iaov8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711677300; c=relaxed/simple; bh=9iXCNP+EW0+2+JC2nl2OoNy89uZqvybM8NUQJ2K/ih4=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=KTUKf+DMyN0JZf6yAL50qjarz8Yo2MEoy694zRRtWps6EbmEduy0eryT1b96lWvGbgCEA1NvEi1KrIPkoHBcA58m37kKq1G1Wlppuvd7vxjYpJoexjbbcbDPLKaxAU9V8Fx2GzPw0Hd8GeRV8qXb6YRkjGXMEf5LX2IZ2fM1jvI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--drosen.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=RH0NkW3B; arc=none smtp.client-ip=209.85.219.201 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=flex--drosen.bounces.google.com Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-dd0ae66422fso2959483276.0 for ; Thu, 28 Mar 2024 18:54:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1711677297; x=1712282097; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=RmiND9fJytE7hp4aS6EZvp2Qf4FYwUyLzLHSobY4D+U=; b=RH0NkW3B64RQtwllzuYjxkJLeWIXvju90EGmkhpDAz0nu27JSAa8QfHI3qW91Vqow+ eRXrh0VfoR/RqJXz9uPpOW9nnkwroxtdVxgvB4pEoRVZdrKSJ/BaFrWhT8nhwXouMuE7 DuVQbnWdIAXCWUWT4cEr9RUtloHYA0IxI7huyL16H040Xc5u8FQg7bGz53WOyIGrEjgS zJS2In2dshIrjarZ0Y6nr8UbNEn9WON+ce0oQnx0RKdEoIjFOCbiLF6Cth/OKtBVlIeq LBEdaDwUPogsXUH6HIvcXNM472ZnUFGwQENthMc1Bc1hsSGKCE27Y7oR0gYUmYXWeaER 4x8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711677297; x=1712282097; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RmiND9fJytE7hp4aS6EZvp2Qf4FYwUyLzLHSobY4D+U=; b=mfAmldtEof39E0pOmFtvpp8HF45QJNxobTKqD6cc0qKHq/lgDKZX9IYo5lED48Bswc h9NMqiQrM6RXhC7jPc4mDcS0b3yw1hNTIUS3oxRUHRPqWYebjoSC6SKfvBn3OTLwtsWW 38eF/NhQsFw+4Elx0vhB0fDZhvKvBAY5nXXZ2SUQgY2AqAvMeO39gCAwVIsoN7CXmwOg Eu/ITJFkpiKM1vNHN2joAd7IXXSdUJmaE+Xau/zZy68f9UKW5II6Wtp8z8gef41dPMGb s13OrrHXE1VkdquVb75tvOONIkZQh2p7nL6aayQ2XJCz71BwHntF78HsVmiPDC4pg/hY tXCg== X-Forwarded-Encrypted: i=1; AJvYcCWv6oaxklWSlmC7zACTQwj//JPfduGewrgK5nH3PHbfTGVrUKnmq+z+0WQicpDKXni9/FNulKt3zgM5j7lwt4Ws1cWMrV3lI4QRUORq X-Gm-Message-State: AOJu0YwB0HkGtK3pjeBpRNV+TTfpA0SFyi8Tr/Y04pyKpYR39YEFpfF1 QSFMJ8XA2UvPb2JaRIdAC5hCm/chRw6AG/hbhafTYlK38sQsB+y+WvZezjxdgAGgSma7+iaueYj x7Q== X-Received: from drosen.mtv.corp.google.com ([2620:15c:211:201:fcce:d6ab:804c:b94b]) (user=drosen job=sendgmr) by 2002:a05:6902:1004:b0:dda:c4ec:7db5 with SMTP id w4-20020a056902100400b00ddac4ec7db5mr365495ybt.4.1711677296744; Thu, 28 Mar 2024 18:54:56 -0700 (PDT) Date: Thu, 28 Mar 2024 18:53:40 -0700 In-Reply-To: <20240329015351.624249-1-drosen@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240329015351.624249-1-drosen@google.com> X-Mailer: git-send-email 2.44.0.478.gd926399ef9-goog Message-ID: <20240329015351.624249-26-drosen@google.com> Subject: [RFC PATCH v4 25/36] bpf: Increase struct_op max members From: Daniel Rosenberg To: Miklos Szeredi , bpf@vger.kernel.org, Alexei Starovoitov Cc: Amir Goldstein , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-unionfs@vger.kernel.org, Daniel Borkmann , John Fastabend , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Eduard Zingerman , Yonghong Song , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Shuah Khan , Jonathan Corbet , Joanne Koong , Mykola Lysenko , Christian Brauner , kernel-team@android.com, Daniel Rosenberg Content-Type: text/plain; charset="UTF-8" Fuse bpf goes a bit past the '64' limit here. This doubles the limit, although fuse-bpf currently uses 66. Signed-off-by: Daniel Rosenberg --- include/linux/bpf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/bpf.h b/include/linux/bpf.h index 785660810e6a..7a5a806e97ad 100644 --- a/include/linux/bpf.h +++ b/include/linux/bpf.h @@ -1636,7 +1636,7 @@ struct bpf_token { struct bpf_struct_ops_value; struct btf_member; -#define BPF_STRUCT_OPS_MAX_NR_MEMBERS 64 +#define BPF_STRUCT_OPS_MAX_NR_MEMBERS 128 /** * struct bpf_struct_ops - A structure of callbacks allowing a subsystem to * define a BPF_MAP_TYPE_STRUCT_OPS map type composed -- 2.44.0.478.gd926399ef9-goog