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 872E01CAA78 for ; Wed, 4 Feb 2026 03:17:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770175062; cv=none; b=FureKByQGigI7CHH45w1aQEVjEIeiOfniRgWQBHQDjD2kaSZApEeVj8COnvcJ+BLQkOCq0lryJtQzYDkz1Aqv+QIkEdLJab968fagc3xzSgBc7majPqf7+kTPheP2U7z94swaj1NRhgzkywbjF006h4BcRzXXAGJbnOJHrpaTiE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770175062; c=relaxed/simple; bh=l0F7Ms9ZqYA86BYadsP1gpUptbU4m0N3ul42adQfls0=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mwoUGPT3oEPR3v3U5a39vndH1G/nY0NJnMcLOT198ywn6OHTKWpf0zpCeXQtTKKmUNN4B4Msni3a7OYa0L4eSMYLtlF0Ac1jc/Z6ho+mGyd7QlepjPXDoHWwDvlYcPm9ZTAcCuQP+dtEJM4s7NPkKr0wVhEAmZ5yA0Xq8ByLqI0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pQP9sxCO; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pQP9sxCO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0CACC116D0; Wed, 4 Feb 2026 03:17:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1770175062; bh=l0F7Ms9ZqYA86BYadsP1gpUptbU4m0N3ul42adQfls0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=pQP9sxCOyC6sPpYpzvSkqKilD+xQajqkXZ/QKu+xAEFoZQD98wulnTYuvfC+iy0DP OFCYEIhs42OYuduzgRNymym6wmyrSxRwDicm+s7pWMi9+WlNi4lPWddwp4L+Lqo1i4 olbUoqB82aRY//JaYdEtGG6QqpL0uoPVveXGhVXVXeFRG/wZL7Z733HDoqvyj6qaj/ LeR5MhbYAWcIeRg038cGudjXagj5YJjO0yptBv0cNTS+tUfVx/rAHGzyXDJz5VXmBP WHzmnkELt+2rGas4g1gX1n0juaUjeo7GNUQPtbok0p1qO07PRZfODeabC0uKi67xHS axJi8G5RJaoqw== Date: Tue, 3 Feb 2026 19:17:40 -0800 From: Jakub Kicinski To: Eric Dumazet Cc: "David S . Miller" , Paolo Abeni , Simon Horman , Willem de Bruijn , netdev@vger.kernel.org, eric.dumazet@gmail.com Subject: Re: [PATCH net-next] net: add vlan_get_protocol_offset_inline() helper Message-ID: <20260203191740.2404d44c@kernel.org> In-Reply-To: <20260202082200.650516-1-edumazet@google.com> References: <20260202082200.650516-1-edumazet@google.com> 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 Mon, 2 Feb 2026 08:22:00 +0000 Eric Dumazet wrote: > +struct type_depth { > + __be16 type; > + u16 depth; > +}; Should we prefix the struct name with vlan_ Seeing type_depth made me think the function is returning some compiler metadata :S Maybe it's just me.