net/ice/base: optimize data structures
authorLeyi Rong <leyi.rong@intel.com>
Wed, 19 Jun 2019 15:18:17 +0000 (23:18 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Jun 2019 18:31:48 +0000 (20:31 +0200)
commit9396e6dab52e472e2090df5a6700e2e249f6c2dc
tree3c8a0dcd307239a1e8756c67ec360b7c778527a3
parentf02c720671992ca65a87228b5896f91d7fa62629
net/ice/base: optimize data structures

Move a bunch of members around to make more efficient use of
memory, eliminating holes where possible. None of these members
are hot path so cache line alignment is not very important here.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/base/ice_controlq.h
drivers/net/ice/base/ice_flex_type.h
drivers/net/ice/base/ice_flow.c
drivers/net/ice/base/ice_flow.h