Open pchaigno opened 3 years ago
Ah, thanks for filing this issue. :)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
WIP list of macros used in the datapath:
We use a lot of different macros in the datapath, to define config. values and enable/disable features. It might be a good idea to document all those in e.g. a
bpf/README.md
. Hopefully, some quick script can help us keep the list up-to-date. The option names are often not enough to clarify the semantics/intents (e.g.,IPV4_LOOPBACK
orSECCTX_FROM_IPCACHE
). Macros defined in the code (i.e., constants) should already have comments and may not need to be part of the list.Doing so would likely uncover a couple inconsistencies and stale macros.
bpf/README.md
with short descriptions and other relevant information.