bpf: hide internal program argument type
authorJerin Jacob <jerinj@marvell.com>
Wed, 14 Aug 2019 13:09:53 +0000 (18:39 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 12 Oct 2019 12:27:19 +0000 (14:27 +0200)
commit7fa2537226cd348dd0282630bc0db537a4897b29
treecb0011743a46bcae371ea4990f511e01782d516c
parent082482cef4f6e07c4c4167ef99bac6eac906181b
bpf: hide internal program argument type

RTE_BPF_ARG_PTR_STACK is used as internal program
arg type. Rename to RTE_BPF_ARG_RESERVED to
avoid exposing internal program type.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Tested-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_bpf/bpf_validate.c
lib/librte_bpf/rte_bpf.h