Enhance cache filter for list commands
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | cache: Include chains, flowtables and objects in netlink debug outputsrc/ src/ | +52 | 0 replies | |
| 2/5 | cache: Respect family in all list commandssrc/ tests/ | +51 | 4 replies | |
| 3/5 | cache: Relax chain_cache_dump filter applicationsrc/ | +1 | 1 reply | |
| 4/5 | cache: Filter for table when listing sets or mapssrc/ tests/ | +5 | 1 reply | |
| 5/5 | cache: Filter for table when listing flowtablessrc/ tests/ | +4 | 1 reply |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Pablo Neira Ayuso | Eric Garver |
|---|---|---|
| Series | T-b | |
| 1/5 | ||
| 2/5 | R-b | |
| 3/5 | R-b | |
| 4/5 | R-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [nft PATCH 0/5] Enhance cache filter for list commands
Reducing the amount of data fetched from kernel improves performance with large rule sets but also reduces adverse side-effects if multiple versions of nftables access the same kernel rule set. Being able to ignore parts of the rule set one is not interested in allows for (more or less) safe coexistence if each tool is operating on the data it created itself only.
This series reduces caching for list commands which specify a family and/or table. To help testing this, patch 1 extends netlink debug output to include chains, flowtables and objects so a test case may check if they are fetched or not.
The remaining patches actually increase filter use.
Phil Sutter (5):
cache: Include chains, flowtables and objects in netlink debug output
cache: Respect family in all list commands
cache: Relax chain_cache_dump filter application
cache: Filter for table when listing sets or maps
cache: Filter for table when listing flowtables
src/cache.c | 11 ++-- src/mnl.c | 60 ++++++++++++++++++--- tests/shell/testcases/listing/cache_filters | 53 ++++++++++++++++++ 3 files changed, 113 insertions(+), 11 deletions(-) create mode 100755 tests/shell/testcases/listing/cache_filters
Signature · 1 line
2.51.0