]> 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)
commitef8470172778eda667251638be9810a6a12fd131
tree1c8112798b23ce79e5e936e357b7c508a153aef9
parent41429a8f0f5f074cd78d98b7f679550001607da2
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