提交 b59281ac 编写于 作者: A Axel Haslam 提交者: Greg Kroah-Hartman

greybus: loopback: Add reserved fields to transfer request

All loopback transfer operations should have an identical header
format in order to facilitate bandwidth and data movement analysis.
Suggested-by: NBryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: NAxel Haslam <ahaslam@baylibre.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@google.com>
上级 ee97e24a
......@@ -1053,8 +1053,14 @@ struct gb_uart_serial_state_request {
#define GB_LOOPBACK_TYPE_TRANSFER 0x03
#define GB_LOOPBACK_TYPE_SINK 0x04
/*
* Loopback request/response header format should be identical
* to simplify bandwidth and data movement analysis.
*/
struct gb_loopback_transfer_request {
__le32 len;
__le32 reserved0;
__le32 reserved1;
__u8 data[0];
} __packed;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册