08 Jul, 2020

1 commit

  • From commit 646f02ffdd49 ("libbpf: Add BTF-defined map-in-map
    support"), a way to define internal map in BTF-defined map has been
    added.

    Instead of using previous 'inner_map_idx' definition, the structure to
    be used for the inner map can be directly defined using array directive.

    __array(values, struct inner_map)

    This commit refactors map in map test program with libbpf by explicitly
    defining inner map with BTF-defined format.

    Signed-off-by: Daniel T. Lee
    Signed-off-by: Daniel Borkmann
    Acked-by: Andrii Nakryiko
    Link: https://lore.kernel.org/bpf/20200707184855.30968-3-danieltimlee@gmail.com

    Daniel T. Lee
     

31 May, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of version 2 of the gnu general public license as
    published by the free software foundation

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 107 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Richard Fontana
    Reviewed-by: Steve Winslow
    Reviewed-by: Alexios Zavras
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190528171438.615055994@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

15 May, 2018

1 commit


30 Jun, 2017

1 commit


23 Mar, 2017

1 commit