diff options
author | 2015-11-09 14:04:08 -0800 | |
---|---|---|
committer | 2015-12-22 04:32:14 -0800 | |
commit | 8c2a029c7eff14510fed04cef2848c6d21ed92dd (patch) | |
tree | ac410d69617d6676c4066641a10f0bb3cf788ea6 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | fm10k: don't initialize fm10k_workqueue at global level (diff) | |
download | linux-dev-8c2a029c7eff14510fed04cef2848c6d21ed92dd.tar.xz linux-dev-8c2a029c7eff14510fed04cef2848c6d21ed92dd.zip |
fm10k: correctly pack TLV structures and explain reasoning
The TLV format for little endian structures is actually 4 byte aligned
copy. To this end, we need to add an additional __aligned(4) marker
along with __packed to ensure that these structures are actually 4 byte
aligned and packed correctly. Use of just __packed will not work as this
will result in 1byte alignment which is incorrect. Add a comment
explaining the reasoning behind why these structures need the special
treatment.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions