diff options
author | David S. Miller <davem@davemloft.net> | 2016-11-15 11:50:51 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-15 11:50:51 -0500 |
commit | e6ca4f16a6950537132d0752581c967df2d911c4 (patch) | |
tree | c2ccc9a89f2752122521989a721ac31a8cf9fc41 /include/net | |
parent | bb598c1b8c9bf56981927dcb8c0dc34b8ff95342 (diff) | |
parent | 5db58faf989f16d1d6a3d661aac616f9ca7932aa (diff) |
Merge branch 'bpf-lru'
Martin KaFai Lau says:
====================
bpf: LRU map
This patch set adds LRU map implementation to the existing BPF map
family.
The first few patches introduce the basic BPF LRU list
implementation.
The later patches introduce the LRU versions of the
existing BPF_MAP_TYPE_LRU_[PERCPU_]HASH maps by leveraging
the BPF LRU list.
v2:
- Added a percpu LRU list option which can be specified as
a map attribute.
[Note: percpu LRU list has nothing to do with the map's value]
- Removed the cpu variable from the struct bpf_lru_locallist
since it is not needed.
- Changed the __bpf_lru_node_move_out to __bpf_lru_node_move_to_free in
patch 1 to prepare the percpu LRU list in patch 2.
- Moved the test_lru_map under selftests
- Refactored a few things in the test codes
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions