]> git.baikalelectronics.ru Git - kernel.git/commit
skbuff: Move rxhash and vlan_tci to consolidate holes in sk_buff
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 27 Jan 2012 06:22:53 +0000 (06:22 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 10 Feb 2012 23:57:47 +0000 (15:57 -0800)
commit54b0f1c7ededf1415cce1270c1b431749e39546d
tree1c8112798b23ce79e5e936e357b7c508a153aef9
parent4e1b926a8db7b6025760edd3ccd2ab562d6cab9f
skbuff: Move rxhash and vlan_tci to consolidate holes in sk_buff

This change helps to reduce the overall size of the sk_buff by moving
rxhash and vlan_tci so that the u16 values and u8 bitfields can be better
combined to create only one hole instead of multiple.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
include/linux/skbuff.h