Re: [PATCH net-next] ethtool: Declare netdev_rss_key as __read_mostly.

2016-02-06 Thread David Miller
From: Kim Jones Date: Tue, 2 Feb 2016 03:51:16 + > netdev_rss_key is written to once and thereafter is read by > drivers when they are initialising. The fact that it is mostly > read and not written to makes it a candidate for a __read_mostly > declaration. > > Signed-off-by: Kim Jones > S

[PATCH net-next] ethtool: Declare netdev_rss_key as __read_mostly.

2016-02-02 Thread Kim Jones
netdev_rss_key is written to once and thereafter is read by drivers when they are initialising. The fact that it is mostly read and not written to makes it a candidate for a __read_mostly declaration. Signed-off-by: Kim Jones Signed-off-by: Alan Carey Acked-by: Rami Rosen --- include/linux/net