From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 39136C8F6 for ; Fri, 7 Jul 2023 15:00:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 70778C433C7; Fri, 7 Jul 2023 15:00:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688742026; bh=L4IqKd3lr0lSrHIljFba1vlx8uRdvshoxs3E6tmWO74=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=UotZmOybOJlsTHFyy1Ffhe9MB2FU/sWQcu6++/W+AYRot/ckUkH2iEa6+iJVgq5h8 VjNGvVHBuRW64xdnrgGrOIFParNFdqovpS6iVkYhluFL0bd+renXBzAs7IIQENezMM 4leABVeDsuABVcc3lGaG6a3FEoG+AwFDweip/J1x2ujHQokneSpTlh2W2wpSHr95Rd jC+ZInNIFqp+/9hyYENws40y78/oRVNCR7bspkP/aFoRe5xb9UCT8MUmsAiBT7QxcW WzoGRadZ4dIcXoE9fvpVR72eKlh+pIxMVo7JCPjLkXQVHZfar01FCQFK59EWtc64z8 0O77xxS/kjN7w== Date: Fri, 7 Jul 2023 08:00:25 -0700 From: Jakub Kicinski To: Ilya Maximets Cc: Eric Garver , Aaron Conole , netdev@vger.kernel.org, dev@openvswitch.org, Paolo Abeni , Eric Dumazet , "David S. Miller" , Adrian Moreno , Eelco Chaudron Subject: Re: [ovs-dev] [PATCH net-next 2/2] net: openvswitch: add drop action Message-ID: <20230707080025.7739e499@kernel.org> In-Reply-To: <6060b37e-579a-76cb-b853-023cb1a25861@ovn.org> References: <20230629203005.2137107-1-eric@garver.life> <20230629203005.2137107-3-eric@garver.life> <6060b37e-579a-76cb-b853-023cb1a25861@ovn.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 7 Jul 2023 12:30:38 +0200 Ilya Maximets wrote: > A wild idea: How about we do not define actual reasons? i.e. define a > subsystem and just call kfree_skb_reason(skb, SUBSYSTEM | value), where > 'value' is whatever userspace gives as long as it is within a subsystem > range? That already exists, right? Johannes added it in the last release for WiFi.