On Mon, Oct 21, 2019 at 1:57 AM Magnus Karlsson <magnus.karlsson@xxxxxxxxx> 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@xxxxxxxxx> .. > + 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.