Thread (1 message) 1 message, 1 author, 2017-06-08

Re: [PATCH net-next 2/8] qed: Revise ll2 Rx completion

From: David Miller <hidden>
Date: 2017-06-08 23:24:33
Also in: linux-rdma

From: Yuval Mintz <Yuval.Mintz-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
Date: Thu, 8 Jun 2017 19:13:17 +0300
quoted hunk
+struct qed_ll2_comp_rx_data {
+	u8 connection_handle;
+	void *cookie;
+	dma_addr_t rx_buf_addr;
+	u16 parse_flags;
+	u16 vlan;
+	bool b_last_packet;
+
+	union {
+		u8 placement_offset;
+		u8 data_length_error;
+	} u;
+	union {
+		u16 packet_length;
+		u16 data_length;
+	} length;
+
+	u32 opaque_data_0;
+	u32 opaque_data_1;
+
+	/* GSI only */
+	u32 gid_dst[4];
+	u16 qp_id;
+};
+
Again, a lot of unnecessary padding in the structure due to suboptimal
member ordering.

Please fix this.

Thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help