Re: [net-next 1/3] net: dsa: optimize tx timestamp request handling

From
Richard Cochran <richardcochran@gmail.com>
Date
2021-04-18 15:11:30
Also in
lkml, netdev
Reply to
Vladimir Oltean, 2021-04-18
On Sun, Apr 18, 2021 at 12:18:42PM +0300, Vladimir Oltean wrote:
How about not passing "clone" back to DSA as an argument by reference,
but instead require the driver to populate DSA_SKB_CB(skb)->clone if it
needs to do so?

Also, how about changing the return type to void? Returning true or
false makes no difference.
+1

Thanks,
Richard
Thread (16 messages) 16 messages, 4 authors, last reply 2021-04-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help