aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/fm10k/fm10k_type.h
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2015-06-03 16:31:09 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-06-17 14:21:22 -0700
commit7fef39322ce7a0c1bbb5b48bef61b6c1aef73b96 (patch)
tree0da691eaaaf1ff45b8d637a0f9c329e815a171c1 /drivers/net/ethernet/intel/fm10k/fm10k_type.h
parentfm10k: re-map all possible VF queues after a VFLR (diff)
downloadlinux-dev-7fef39322ce7a0c1bbb5b48bef61b6c1aef73b96.tar.xz
linux-dev-7fef39322ce7a0c1bbb5b48bef61b6c1aef73b96.zip
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>
Diffstat (limited to 'drivers/net/ethernet/intel/fm10k/fm10k_type.h')
0 files changed, 0 insertions, 0 deletions