Re: [PATCH bpf v3] xsk: improve documentation for AF_XDP
From: Alexei Starovoitov <hidden>
Date: 2019-10-23 17:16:58
Also in:
bpf, linux-doc
From: Alexei Starovoitov <hidden>
Date: 2019-10-23 17:16:58
Also in:
bpf, linux-doc
On Mon, Oct 21, 2019 at 1:57 AM Magnus Karlsson [off-list ref] wrote:
Added sections on all the bind flags, libbpf, all the setsockopts and all the getsockopts. Also updated the document to reflect the latest features and to correct some spelling errors. v1 -> v2: * Updated XDP program with latest BTF map format * Added one more FAQ entry * Some minor edits and corrections v2 -> v3: * Simplified XDP_SHARED_UMEM example XDP program Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
..
+ struct xdp_statistics {
+ __u64 rx_dropped; /* Dropped for reasons other than invalid desc */
+ __u64 rx_invalid_descs; /* Dropped due to invalid descriptor */
+ __u64 tx_invalid_descs; /* Dropped due to invalid descriptor */
+ };there was small space/tab damage in the above. I fixed it up and applied to bpf-next. Sounds like there could be tweaks to this doc in this release cycle when you follow up with btf and libbpf additions.