From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mail.toke.dk (Postfix) with ESMTPS id 68D43A2002B for ; Wed, 9 Aug 2023 22:39:12 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=Vs4x4QY8 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4B72B6493F; Wed, 9 Aug 2023 20:39:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9BE7C433C7; Wed, 9 Aug 2023 20:39:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691613550; bh=rq2wXj+gxl3x0uMei6ht6EQ2n0BWRHtFxM8peXs/z/I=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=Vs4x4QY89JlD1nL5EF3yLn0Q1LJ5mdMJtIhUS7lrL3TNNKjy5PwEai8EI+CeLONwG aR3guH1sa7h5/E1OOBOui2X3+vOsgF6YAbdpwT7Y66MigK8ZNPjNcvr4Cz6x+V/bgH 58IZA1ec/yeCj14Vkqa6zw6h5xNBOoI40iWTJ7xL7XuoV4NFq8lmjzJ24xhY09leUJ RiEaBPgZRk/RdeCFNZI1r3uWR4ZwVTTxuPw0yPPBbcDFmuElh2czHQh3GkTN+Q2rHS Lb4TJMERzXskltSC2wyubiFSFymhW63q8bMlTyr+bmXfGC23rfL9hM6nBBsU7cYjJD el+98k03Sv87w== Message-ID: <54dc8831-a001-c17d-7b7e-ab1337c7f75c@kernel.org> Date: Wed, 9 Aug 2023 22:39:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: Stanislav Fomichev , bpf@vger.kernel.org References: <20230809165418.2831456-1-sdf@google.com> <20230809165418.2831456-10-sdf@google.com> From: Jesper Dangaard Brouer In-Reply-To: <20230809165418.2831456-10-sdf@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID-Hash: J5CJR7O2QFR6K2HGE2QAG5INZA56EK6Q X-Message-ID-Hash: J5CJR7O2QFR6K2HGE2QAG5INZA56EK6Q X-MailFrom: hawk@kernel.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, martin.lau@linux.dev, song@kernel.org, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, haoluo@google.com, jolsa@kernel.org, kuba@kernel.org, toke@kernel.org, willemb@google.com, dsahern@kernel.org, magnus.karlsson@intel.com, bjorn@kernel.org, maciej.fijalkowski@intel.com, hawk@kernel.org, netdev@vger.kernel.org, xdp-hints@xdp-project.net X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] Re: [PATCH bpf-next 9/9] xsk: document XDP_TX_METADATA_LEN layout List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On 09/08/2023 18.54, Stanislav Fomichev wrote: > +Example > +======= > + > +See ``tools/testing/selftests/bpf/xdp_hw_metadata.c`` for an example > +program that handles TX metadata. Also see https://github.com/fomichev/xskgen > +for a more bare-bones example. Will you consider maintaining this AF_XDP example here: https://github.com/xdp-project/bpf-examples E..g. the kernels old samples/bpf/xdpsock program moved here: https://github.com/xdp-project/bpf-examples/tree/master/AF_XDP-example --Jesper p.s. Compile fail for fomichev/xskgen on my system