Add BPF_PROG_ARRAY for BPF_MAP_TYPE_PROG_ARRAY
Define a new macro to make it easier to declare a program array.
Also replace BPF_TABLE("prog") in examples and tests with
BPF_PROG_ARRAY.
Signed-off-by: Gary Lin <glin@suse.com>
Showing
Please register or sign in to comment