]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - include/linux/netdevice.h
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)
commitba905f5e2f63d86ed4cfbd3d9096fb28d156f1ee
tree7e28780cf157ed7c135e10a06a52757538201b63
parentef44967850265fc6595de0d408a05e856f2da586
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