diff options
author | Jesse Brandeburg <[email protected]> | 2019-04-16 10:24:36 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2019-05-23 10:51:54 -0700 |
commit | 8d5fce190333b3e4614772fe4ac617a2d36dc77c (patch) | |
tree | 917e752cf87bbb8035232b58c8fe997c3b5cc1ca /drivers/net/ethernet/intel/ice/ice_switch.c | |
parent | 0ab54c5f2fe8929d04d965bc3e05325e37de45ba (diff) |
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 <[email protected]>
Signed-off-by: Anirudh Venkataramanan <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_switch.c')
0 files changed, 0 insertions, 0 deletions