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

Reply via email to