]> git.karo-electronics.de Git - karo-tx-linux.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)
commit4031ae6edb92f7e0aade76357813211ae0520a5c
tree1c8112798b23ce79e5e936e357b7c508a153aef9
parent8a0da21be84019d605af2c9a92b20a084db77de1
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