Thread (24 messages) 24 messages, 4 authors, 2023-02-28

Re: [PATCH v2 net-next 3/5] net: dsa: microchip: add eth mac grouping for ethtool statistics

From: Vladimir Oltean <olteanv@gmail.com>
Date: 2023-02-17 16:42:51
Also in: lkml

On Fri, Feb 17, 2023 at 04:01:15PM +0100, Alexander Lobakin wrote:
quoted
+		++mib->cnt_ptr;
Reason for the pre-increment? :)
because it's kool

Somebody not that long ago suggested that pre-increment is "less resource consuming":
https://patchwork.kernel.org/project/netdevbpf/patch/677a5e37aab97a4f992d35c41329733c5f3082fb.1675407169.git.daniel@makrotopia.org/#25197216

Of course, when pressed to explain more, he stopped responding.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help