Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpf, ipcache: unconditionally assume support for LPM trie maps #24258

Merged
merged 2 commits into from
Mar 13, 2023

Commits on Mar 9, 2023

  1. bpf, ipcache: unconditionally assume support for LPM trie maps

    LPM trie maps are available since kernel version 4.11 [1], [2]. For Cilium v1.14,
    the minimum required kernel version is 4.19.57 [3]. Thus we can now
    unconditionally assume support for that map type.
    
    [1] https://github.com/iovisor/bcc/blob/master/docs/kernel-versions.md#map-types
    [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b95a5c4db09bc7c253636cb84dc9b12c577fd5a0
    [3] https://docs.cilium.io/en/latest/operations/system_requirements/#base-requirements
    
    For #22116
    
    Signed-off-by: Tobias Klauser <tobias@cilium.io>
    tklauser committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    d85a54d View commit details
    Browse the repository at this point in the history
  2. bpf: unconditionally assume map name support

    For Cilium v1.14, the minimum required kernel version is 4.19.57 [1].
    Thus we can now unconditionally assume support for map names which are
    available in version >= 4.15.
    
    [1] https://docs.cilium.io/en/latest/operations/system_requirements/#base-requirements
    
    For #22116
    
    Signed-off-by: Tobias Klauser <tobias@cilium.io>
    tklauser committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    b6c67ba View commit details
    Browse the repository at this point in the history