projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
735e35c
)
virtchnl: Add pad fields to a couple of structures
author
Sridhar Samudrala
<
[email protected]
>
Thu, 11 May 2017 18:23:18 +0000
(11:23 -0700)
committer
Jeff Kirsher
<
[email protected]
>
Thu, 1 Jun 2017 21:23:55 +0000
(14:23 -0700)
This removes holes and makes structure sizes consistent across
32 and 64 bit builds.
Signed-off-by: Sridhar Samudrala <
[email protected]
>
Signed-off-by: Jesse Brandeburg <
[email protected]
>
Tested-by: Andrew Bowers <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
include/linux/avf/virtchnl.h
patch
|
blob
|
history
diff --git
a/include/linux/avf/virtchnl.h
b/include/linux/avf/virtchnl.h
index dab76e947b9f90ddda58491a2f4f9c36ba08b652..72466c69f7493c37c837200265d118e5e1e5f227 100644
(file)
--- 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];
};