aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMichal Kalderon <[email protected]>2019-10-30 11:44:11 +0200
committerJason Gunthorpe <[email protected]>2019-11-06 13:08:00 -0400
commit3411f9f01b76bd88aa6e0e013847ab6479cb4f24 (patch)
tree2c5234ba44b6a69e48e83bf407828ce33966d9ab /tools/perf/scripts/python/net_dropmonitor.py
parentb86deba977a91aaa5a4b725d7b42970e6de28d2c (diff)
RDMA/core: Create mmap database and cookie helper functions
Create some common API's for adding entries to a xa_mmap. Searching for an entry and freeing one. The general approach is copied from the EFA driver and improved to be more general and do more to help the drivers. Integration with the core allows a reference counted scheme with a free function so that the driver can know when its mmaps are all gone. This significant new functionality will be helpful for drivers to have the correct lifetime model for mmap objects. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ariel Elior <[email protected]> Signed-off-by: Michal Kalderon <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions