aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJonathan Lemon <[email protected]>2021-01-06 14:18:31 -0800
committerJakub Kicinski <[email protected]>2021-01-07 16:06:37 -0800
commit75518851a2a0c047def521aaf87db401de098352 (patch)
treea167f12c49f067eeb0ddd7f0a8836b2d36b8fc56 /tools/perf/scripts/python
parentd6adf1b103bfe264a494c770f27fe985ab67202c (diff)
skbuff: Push status and refcounts into sock_zerocopy_callback
Before this change, the caller of sock_zerocopy_callback would need to save the zerocopy status, decrement and check the refcount, and then call the callback function - the callback was only invoked when the refcount reached zero. Now, the caller just passes the status into the callback function, which saves the status and handles its own refcounts. This makes the behavior of the sock_zerocopy_callback identical to the tpacket and vhost callbacks. Signed-off-by: Jonathan Lemon <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions