diff options
author | 2019-04-16 10:24:36 -0700 | |
---|---|---|
committer | 2019-05-23 10:51:54 -0700 | |
commit | 8d5fce190333b3e4614772fe4ac617a2d36dc77c (patch) | |
tree | 917e752cf87bbb8035232b58c8fe997c3b5cc1ca /drivers/Makefile | |
parent | ice: Use bitfields when possible (diff) | |
download | linux-dev-8d5fce190333b3e4614772fe4ac617a2d36dc77c.tar.xz linux-dev-8d5fce190333b3e4614772fe4ac617a2d36dc77c.zip |
ice: Reorganize ice_vf struct
The ice_vf struct can be used hundreds of times in our
driver so it pays to use less memory per struct.
ice_vf prior to this commit:
/* size: 112, cachelines: 2, members: 25 */
/* sum members: 101, holes: 4, sum holes: 8 */
/* bit holes: 2, sum bit holes: 11 bits */
/* padding: 3 */
/* last cacheline: 48 bytes */
ice_vf after this commit:
/* size: 104, cachelines: 2, members: 25 */
/* sum members: 100, holes: 3, sum holes: 4 */
/* bit holes: 1, sum bit holes: 3 bits */
/* last cacheline: 40 bytes */
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/Makefile')
0 files changed, 0 insertions, 0 deletions