linux/drivers/net/ethernet/intel/fm10k
Jacob Keller 8c2a029c7e 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>
2015-12-22 04:32:14 -08:00
..
fm10k_common.c fm10k: Resolve various spelling errors and checkpatch warnings 2015-03-03 01:07:23 -08:00
fm10k_common.h fm10k: Add support for ptp to hw specific files 2014-09-23 03:59:22 -07:00
fm10k_dcbnl.c fm10k: conditionally compile DCB and DebugFS support 2015-12-13 15:27:59 -08:00
fm10k_debugfs.c fm10k: conditionally compile DCB and DebugFS support 2015-12-13 15:27:59 -08:00
fm10k_ethtool.c fm10k: cleanup overly long lines 2015-12-13 15:28:38 -08:00
fm10k_iov.c fm10k: add support for extra debug statistics 2015-09-22 15:58:27 -07:00
fm10k_main.c fm10k: don't initialize fm10k_workqueue at global level 2015-12-22 04:20:19 -08:00
fm10k_mbx.c fm10k: cleanup overly long lines 2015-12-13 15:28:38 -08:00
fm10k_mbx.h fm10k: add statistics for actual DWORD count of mbmem mailbox 2015-12-05 23:55:18 -08:00
fm10k_netdev.c net: Rename NETIF_F_ALL_CSUM to NETIF_F_CSUM_MASK 2015-12-15 16:50:08 -05:00
fm10k_pci.c fm10k: initialize xps at driver load 2015-12-13 15:28:43 -08:00
fm10k_pf.c fm10k: cleanup overly long lines 2015-12-13 15:28:38 -08:00
fm10k_pf.h fm10k: correctly pack TLV structures and explain reasoning 2015-12-22 04:32:14 -08:00
fm10k_ptp.c fm10k: fix incorrect free on skb in ts_tx_enqueue 2015-06-17 14:20:36 -07:00
fm10k_tlv.c fm10k: cleanup namespace pollution 2015-12-13 15:28:32 -08:00
fm10k_tlv.h fm10k: cleanup namespace pollution 2015-12-13 15:28:32 -08:00
fm10k_type.h fm10k: use BIT() macro instead of open-coded bit-shifting 2015-12-13 15:28:26 -08:00
fm10k_vf.c fm10k: whitespace cleanups 2015-12-13 15:28:21 -08:00
fm10k_vf.h fm10k: Add support for ptp to hw specific files 2014-09-23 03:59:22 -07:00
fm10k.h fm10k: initialize xps at driver load 2015-12-13 15:28:43 -08:00
Makefile fm10k: conditionally compile DCB and DebugFS support 2015-12-13 15:27:59 -08:00