Thread (3 messages) 3 messages, 3 authors, 2020-11-23

Re: [PATCH bpf] net, xsk: Avoid taking multiple skbuff references

From: Björn Töpel <hidden>
Date: 2020-11-23 14:07:57
Also in: bpf

On 2020-11-23 14:53, Daniel Borkmann wrote:
[...]
Hm, but this way free_on_busy, even though constant, cannot be optimized 
away?
Can't you just move the dev_xmit_complete() check out into 
dev_direct_xmit()
instead? That way you can just drop the bool, and the below 
dev_direct_xmit()
should probably just become an __always_line function in netdevice.h so you
avoid the double call.
Good suggestion! I'll spin a v2.


Björn
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help