bpf, docs: Add extended call instructions
authorDave Thaler <dthaler@microsoft.com>
Sun, 26 Mar 2023 03:31:17 +0000 (03:31 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 26 Mar 2023 03:58:36 +0000 (20:58 -0700)
commit8cfee110711ed60bfdd39af0107ddef01d6b72c3
tree76277eeeb8242967e411df438f2a9c9e5ce6ed0a
parent8d2759608c1f39fc2d60702bf0a7421be246d209
bpf, docs: Add extended call instructions

Add extended call instructions.  Uses the term "program-local" for
call by offset.  And there are instructions for calling helper functions
by "address" (the old way of using integer values), and for calling
helper functions by BTF ID (for kfuncs).

V1 -> V2: addressed comments from David Vernet

V2 -> V3: make descriptions in table consistent with updated names

V3 -> V4: addressed comments from Alexei

V4 -> V5: fixed alignment

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Acked-by: David Vernet <void@manifault.com>
Link: https://lore.kernel.org/r/20230326033117.1075-1-dthaler1968@googlemail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Documentation/bpf/instruction-set.rst