summaryrefslogtreecommitdiff
path: root/bpfc
AgeCommit message (Expand)AuthorFilesLines
2013-06-04xutils: eliminate xutils, move rest to epoll2Daniel Borkmann1-2/+0
2013-06-04sock: add socket management functionsDaniel Borkmann1-0/+1
2013-06-04xutils: break out string handling and lockingDaniel Borkmann1-0/+1
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann2-0/+16
1190'>patch) treedf943cac9dd4a634ae3432340b274076180ea420 parentb862815c3ee7b49ec20a9ab25da55a5f0bcbb95e (diff)
lib: Introduce priority array area manager
This introduces a infrastructure for management of linear priority areas. Priority order in an array matters, however order of items inside a priority group does not matter. As an initial implementation, L-sort algorithm is used. It is quite trivial. More advanced algorithm called P-sort will be introduced as a follow-up. The infrastructure is prepared for other algos. Alongside this, a testing module is introduced as well. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat
-rw-r--r--MAINTAINERS8
-rw-r--r--include/linux/parman.h76
-rw-r--r--lib/Kconfig3
-rw-r--r--lib/Kconfig.debug10
-rw-r--r--lib/Makefile3
-rw-r--r--lib/parman.c376
-rw-r--r--lib/test_parman.c395
7 files changed, 871 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS