+2
−0
+5
−0
+2
−0
+3
−0
+3
−0
Loading
Various opts structures in SPDK have a size member, to enable ABI compatibility should fields be added in the future. But this requires the strucures to be packed, otherwise for example a structure may be padded at the end, and a new field added may just consume some of that padding. So add STATIC_ASSERTS for the current sizes in this patch. Upcoming patches will make the structures packed and add in reserved fields to fill in holes. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I9107d01d7b533f8542385a3538894bcd9f8c465d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14086 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
Dong Yi <dongx.yi@intel.com> Community-CI: Mellanox Build Bot