• Q
    bpf: add documentation for eBPF helpers (65-66) · 2d020dd7
    Quentin Monnet 提交于
    Add documentation for eBPF helper functions to bpf.h user header file.
    This documentation can be parsed with the Python script provided in
    another commit of the patch series, in order to provide a RST document
    that can later be converted into a man page.
    
    The objective is to make the documentation easily understandable and
    accessible to all eBPF developers, including beginners.
    
    This patch contains descriptions for the following helper functions:
    
    Helper from Nikita:
    - bpf_xdp_adjust_tail()
    
    Helper from Eyal:
    - bpf_skb_get_xfrm_state()
    
    v4:
    - New patch (helpers did not exist yet for previous versions).
    
    Cc: Nikita V. Shirokov <tehnerd@tehnerd.com>
    Cc: Eyal Birger <eyal.birger@gmail.com>
    Signed-off-by: NQuentin Monnet <quentin.monnet@netronome.com>
    Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net>
    2d020dd7
bpf.h 84.8 KB