]> git.feebdaed.xyz Git - 0xmirror/cilium.git/commitdiff
bpf, identity: set_identity_mark comment fixed
authorviktor-kurchenko <viktor.kurchenko@isovalent.com>
Fri, 12 Dec 2025 15:56:48 +0000 (16:56 +0100)
committerTimo Beckers <ti-mo@users.noreply.github.com>
Thu, 18 Dec 2025 08:50:46 +0000 (08:50 +0000)
The valid values for `cluster_id_max` property are: 255 and 511.

Signed-off-by: viktor-kurchenko <viktor.kurchenko@isovalent.com>
bpf/lib/identity.h

index d25a304592aceafb69abd4e68e0c696374348def..6e9b3a7a66c8467a8d4bdadd438d9017e6701cbc 100644 (file)
@@ -53,7 +53,7 @@ get_identity(const struct __ctx_buff *ctx __maybe_unused)
  * to a value other than the default 255, the most significant bits are taken
  * from identity and used for the most significant bits of cluster_id.
  *
- * An agent with 'max-connected-clusters=512' would set identity in the mark
+ * An agent with 'max-connected-clusters=511' would set identity in the mark
  * like the following:
  * CIIIIIII IIIIIIII XXXXXXXX CCCCCCCC
  */