Libxdp function xdp_program__run_prio
Definition
It allow to retrieve the value of the priority of the program.
Note
The higher the value, the later the program will run. The lower the value, the earlier the program will run.
Returns
unsigned int
on success, or a negative error in case of failure:
-EINVAL if arguments are invalid
Usage
unsigned int xdp_program__run_prio(const struct xdp_program *xdp_prog);
Example
Docs could be improved
This part of the docs is incomplete, contributions are very welcome