linux/drivers/net/ethernet/intel/fm10k
Jacob Keller 7fef39322c fm10k: pack TLV overlay structures
This patch adds the __attribute__((packed)) indicator to some structures
which are overlayed onto a TLV message. These structures must be packed
as small as possible in order to correctly align when copied into the
mailbox buffer. Without doing so, the receiving mailbox code incorrectly
parses the values and we get invalid message responses from the switch
manager software.

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-06-17 14:21:22 -07: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: fix unused warnings 2015-04-14 15:23:36 -07:00
fm10k_debugfs.c fm10k: fix unused warnings 2015-04-14 15:23:36 -07:00
fm10k_ethtool.c fm10k: use an unsigned int for i in ethtool_get_strings 2015-06-17 14:20:52 -07:00
fm10k_iov.c fm10k: force LPORT delete when updating VLAN or MAC address 2015-06-17 14:21:15 -07:00
fm10k_main.c fm10k: fold fm10k_pull_tail into fm10k_add_rx_frag 2015-06-17 14:20:18 -07:00
fm10k_mbx.c fm10k: mbx_update_max_size does not drop all oversized messages 2015-04-14 15:56:35 -07:00
fm10k_mbx.h fm10k: Add support for PF <-> VF mailbox 2014-09-23 03:59:20 -07:00
fm10k_netdev.c fm10k: remove extraneous NULL check on l2_accel 2015-06-17 14:20:56 -07:00
fm10k_pci.c fm10k: use dma_set_mask_and_coherent in fm10k_probe 2015-06-17 14:21:10 -07:00
fm10k_pf.c fm10k: re-map all possible VF queues after a VFLR 2015-06-17 14:21:18 -07:00
fm10k_pf.h fm10k: pack TLV overlay structures 2015-06-17 14:21:22 -07: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: Resolve various spelling errors and checkpatch warnings 2015-03-03 01:07:23 -08:00
fm10k_tlv.h fm10k: Add support for mailbox 2014-09-23 03:59:14 -07:00
fm10k_type.h fm10k: Resolve various spelling errors and checkpatch warnings 2015-03-03 01:07:23 -08:00
fm10k_vf.c fm10k: Have the VF get the default VLAN during init 2015-04-14 15:07:27 -07:00
fm10k_vf.h fm10k: Add support for ptp to hw specific files 2014-09-23 03:59:22 -07:00
fm10k.h fm10k: use separate workqueue for fm10k driver 2015-04-14 15:38:06 -07:00
Makefile fm10k: Add support for PTP 2014-09-23 03:59:23 -07:00