aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/libfc/fc_frame.c
diff options
context:
space:
mode:
authorVasu Dev <vasu.dev@intel.com>2011-09-27 21:37:57 -0700
committerJames Bottomley <JBottomley@Parallels.com>2011-10-02 12:55:07 -0500
commited26cfece6177310ad8f5896651a3187ce02711c (patch)
tree2997e4c698ce773d1fb6867a6daea0cfdd264737 /drivers/scsi/libfc/fc_frame.c
parent5c609ff937a91cf09b1f8d7612cd00bc046c27f7 (diff)
[SCSI] libfc: cache align struct fc_fcp_pkt fields
Re-arrange its fields to avoid padding and have better cacheline alignments. Removed not used start_time, end_time and last_pkt_time fields. This all reduced this struct size to 448 from 480 and that also reduced one cacheline on x86_64 beside eliminating 8 pads. However kept logical fields together. Signed-off-by: Vasu Dev <vasu.dev@intel.com> Tested-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Yi Zou <yi.zou@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/libfc/fc_frame.c')
0 files changed, 0 insertions, 0 deletions