Re: [PATCH net-next 08/19] net: usb: aqc111: Implement TX data path

From: Bjørn Mork <bjorn@mork.no>
Date: 2018-10-09 13:50:42
Also in: linux-usb

Igor Russkikh [off-list ref] writes:
+struct aq_tx_packet_desc {
+	struct {
+		u32 length:21;
+		u32 checksum:7;
+		u32 drop_padding:1;
+		u32 vlan_tag:1;
+		u32 cphi:1;
+		u32 dicf:1;
+	};
+	struct {
+		u32 max_seg_size:15;
+		u32 reserved:1;
+		u32 vlan_info:16;
+	};
+};

You might want to shift and mask instead to avoid going insane when
trying to use this header on a BE system...


Bjørn
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help