Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2693482rdb; Tue, 26 Dec 2023 01:43:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IFY8aihSj59LGPxV4XHaA3hDSmoOa5x3rqQC5sFz7oNujoVG3zhO2segyitQaXnCduHhG9A X-Received: by 2002:a05:6214:1bc8:b0:67f:33dd:633 with SMTP id m8-20020a0562141bc800b0067f33dd0633mr9580589qvc.9.1703583803260; Tue, 26 Dec 2023 01:43:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703583803; cv=none; d=google.com; s=arc-20160816; b=UwyNIT9IYzU24AChAy+G9yTeV4jK0MubtOlGXVoisiqrt+T2c1AVUwQRsLTgILzlnX zV2hoWDlh68WIOhDezhrzUAkn56g/71f2cTP3XT5XwRXcR2aeH8ojXl/7GmJVZ6WR1h6 p+4LZJHTUedAHUu7nIOgRDxZl1GbQc5SKSHxbFbtWGLwAwVWgrZ/E8TCredMs9BT+VAC FqNOomz8OnYryPqgUFpAaZ4T/w4N2n0msi+WXxhlYw92aL21G88l4mZXWs1cDUkokQdA 5HAMqQElLMRWROjmKZ3/aZYyqrIHi3y2vgPVgDLaLwGSY0ezqa/j3FZwccv7ANqYgxeG recQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=JZxsk+Jzb07h2zuZtmSvZ0zyWEXPJHnNQin19esIT5o=; fh=xJ4MGWUfLIY6kC5wtXQrQqroeNPseZURI9Z+Z0OAFDg=; b=vHM/C/iPh1Yv6LGSm3Qfg2s1MFhUqb75rZRdhdvxnHW5abUQWf26aWm3ogcKiZ5Snh ppNUKBKiOh/BRdDY5cvuxXiU8/RD7fkXXKsASimIXQrC1MThXTCpd/1yX/lwk2/T5/KF goCTpl90i8e6ubPOdcioA8B07K3YMIAmJHw356WcEdQOEQHm+p36gY9DED1PRChcqDNC nabslVR5vcn5jhtzX8yuRcbjad/1QRpha/j2Vp/beaUNBwneMcBNRuHJv+KP0JH0pSRX agDmtF16PEEV+DLdfwxSgM6/pGmculqN3phe+Hcniz7Ppx8OLkbjdpB0UI9fc70LqImb VmgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="eNa/a31B"; spf=pass (google.com: domain of linux-kernel+bounces-11449-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11449-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id b19-20020a0cb3d3000000b0067f38efba40si11771295qvf.144.2023.12.26.01.43.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 01:43:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11449-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=@linux.dev header.s=key1 header.b="eNa/a31B"; spf=pass (google.com: domain of linux-kernel+bounces-11449-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11449-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 0B57B1C21DCA for ; Tue, 26 Dec 2023 09:43:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 545BA4D134; Tue, 26 Dec 2023 09:43:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="eNa/a31B" X-Original-To: linux-kernel@vger.kernel.org Received: from out-189.mta1.migadu.com (out-189.mta1.migadu.com [95.215.58.189]) (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 1F5DC4D582 for ; Tue, 26 Dec 2023 09:43:09 +0000 (UTC) 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 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1703583788; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=JZxsk+Jzb07h2zuZtmSvZ0zyWEXPJHnNQin19esIT5o=; b=eNa/a31B2+Tvl3x5TdZ+1l5iF9uhme41x+em/lthqENyNR5zztGqw/1yvZk7Lo5dNBiXb8 5h4JKBfpcTMd1EuzLCW8EzpZA9MMbPhkNvoVaTwBEyXRN6x/iNdAZSqcRthIpmsaN22JPD TfMJWyMsCH4R8VybN845OZhdkVd+YEA= From: George Guo To: horms@kernel.org, pablo@netfilter.org, kadlec@netfilter.org, fw@strlen.de, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, George Guo Subject: [PATCH 01/14] netfilter: cleanup enum nft_set_class Date: Tue, 26 Dec 2023 17:42:42 +0800 Message-Id: <20231226094255.77911-1-dongtai.guo@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT From: George Guo Correct comments for nlpid, family, udlen and udata in struct nft_table, and afinfo is no longer a member of enum nft_set_class. Signed-off-by: George Guo --- include/net/netfilter/nf_tables.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index b157c5cafd14..18ec566cbc34 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h @@ -351,9 +351,9 @@ struct nft_set_desc { /** * enum nft_set_class - performance class * - * @NFT_LOOKUP_O_1: constant, O(1) - * @NFT_LOOKUP_O_LOG_N: logarithmic, O(log N) - * @NFT_LOOKUP_O_N: linear, O(N) + * @NFT_SET_CLASS_O_1: constant, O(1) + * @NFT_SET_CLASS_O_LOG_N: logarithmic, O(log N) + * @NFT_SET_CLASS_O_N: linear, O(N) */ enum nft_set_class { NFT_SET_CLASS_O_1, -- 2.39.2