iproute2/rdma
Leon Romanovsky 1174be72d1 rdma: Add filtering infrastructure
This patch adds general infrastructure to RDMAtool to handle various
filtering options needed for the downstream resource tracking patches.

The infrastructure is generic and stores filters in list of key<->value
entries. There are three types of filters:

1. Numeric - the values are intended to be digits combined with '-' to
mark range and ',' to mark multiple entries, e.g. pid 1-100,234,400-401
is perfectly legit filter to limit process ids.

2. String - the values are consist from strings and "," as a denominator.

3. Link - special case to allow '/' in string to provide link name, e.g.
link mlx4_1/2.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2018-02-05 17:23:52 -08:00
..
.gitignore rdma: Add basic infrastructure for RDMA tool 2017-08-21 17:07:44 -07:00
Makefile devlink, rdma, tipc: properly define TARGETS without HAVE_MNL 2018-01-05 16:32:17 -08:00
dev.c rdma: Move per-device handler function to generic code 2017-12-27 07:47:35 -08:00
link.c rdma: Add option to provide "-" sign for the port number 2018-02-05 17:23:52 -08:00
rdma.c rdma: Add filtering infrastructure 2018-02-05 17:23:52 -08:00
rdma.h rdma: Add filtering infrastructure 2018-02-05 17:23:52 -08:00
utils.c rdma: Add filtering infrastructure 2018-02-05 17:23:52 -08:00