summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSridhar Samudrala <sridhar.samudrala@intel.com>2017-05-11 11:23:18 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-06-01 14:23:55 -0700
commita33c83c4353b2efc4d883bad06a86a9ba2dde4fc (patch)
treea9d245fe5db78927ce37a3730676dfd0b98f4456 /include
parent735e35c56bbc91621942dc5111b2970beb00e75a (diff)
virtchnl: Add pad fields to a couple of structures
This removes holes and makes structure sizes consistent across 32 and 64 bit builds. Signed-off-by: Sridhar Samudrala <sridhar.samudrala@intel.com> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/avf/virtchnl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/avf/virtchnl.h b/include/linux/avf/virtchnl.h
index dab76e947b9f..72466c69f749 100644
--- a/include/linux/avf/virtchnl.h
+++ b/include/linux/avf/virtchnl.h
@@ -275,8 +275,10 @@ struct virtchnl_rxq_info {
u16 splithdr_enabled; /* deprecated with AVF 1.0 */
u32 databuffer_size;
u32 max_pkt_size;
+ u32 pad1;
u64 dma_ring_addr;
enum virtchnl_rx_hsplit rx_split_pos; /* deprecated with AVF 1.0 */
+ u32 pad2;
};
/* VIRTCHNL_OP_CONFIG_VSI_QUEUES
@@ -295,6 +297,7 @@ struct virtchnl_queue_pair_info {
struct virtchnl_vsi_queue_config_info {
u16 vsi_id;
u16 num_queue_pairs;
+ u32 pad;
struct virtchnl_queue_pair_info qpair[1];
};