RE: [PATCH 08/50] bnx2x: use dev_hw_addr_random() instead of random_ether_addr()

From
David Laight <hidden>
Date
2012-02-09 10:00:06
Also in
lkml
Reply to
Danny Kukawka, 2012-02-08
 
+	if (dev->addr_assign_type & NET_ADDR_RANDOM)
+		dev->addr_assign_type ^= NET_ADDR_RANDOM;
Why not just:
	dev->addr_assign_type &= ~NET_ADDR_RANDOM;
the cache is probably dirty and it won't be a critical path.

	David
Thread (72 messages) 72 messages, 16 authors, last reply 2012-02-11
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