What does "kfuncs have no UAPI guarantees" mean? #52
-
There are at least two places in the documentation stating that "kfuncs have no UAPI guarantees":
IMHO these statements without further explanation result confusing. When I first read it, I was like "The UAPI is (as the first reference also states) the User-Space API, but helper functions are not used in User-Space!". I knew that they belong to the declared BPF API and therefore they have higher guarantees than KFuncs. But I could not fully understand the relationship with the UAPI, and a search at the UAPI Specifications was not yielding any result either. Until realizing that the canonical helper functions declaration is in include/uapi/linux/bpf.h... That is what is meant by the implicit statement that "helper functions have UAPI guarantees", right? If that is all right, then we might want to first document the UAPI guarantees on helper functions to put KFuncs in contrast. Otherwise IMHO the introduction page is already requiring a too high level of expertise. I can try to propose something once I get an answer to the question. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yes, that is all correct.
That is fair! lets do it |
Beta Was this translation helpful? Give feedback.
-
Initial draft proposal: #53 |
Beta Was this translation helpful? Give feedback.
Yes, that is all correct.
That is fair! lets do it