]> git.baikalelectronics.ru Git - kernel.git/commit
ethtool: Declare netdev_rss_key as __read_mostly.
authorKim Jones <kim-marie.jones@intel.com>
Tue, 2 Feb 2016 03:51:16 +0000 (03:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Feb 2016 08:13:49 +0000 (03:13 -0500)
commitbb79fbec2c6c99ced1d75d6846914afa0082920f
tree7e28780cf157ed7c135e10a06a52757538201b63
parent9b69f997fa1aaa32017b73eb3cff12b86eba4c83
ethtool: Declare netdev_rss_key as __read_mostly.

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 <kim-marie.jones@intel.com>
Signed-off-by: Alan Carey <alan.carey@intel.com>
Acked-by: Rami Rosen <rami.rosen@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/ethtool.c