From 05ab36ac6841461272e05f0f76f9e456c61ae07d Mon Sep 17 00:00:00 2001 From: Andrei-Liviu Simion Date: Fri, 27 Feb 2015 15:56:56 -0700 Subject: [PATCH] dp: mst: Updated the sideband message body structure for larger messages. Larger messages will need to be split into multiple fragments. - The MsgData member carries all information. - The FragmentNum member indicates the last fragment processed. - The header reflects the latest fragment. Signed-off-by: Andrei-Liviu Simion --- XilinxProcessorIPLib/drivers/dp/src/xdp_mst.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/XilinxProcessorIPLib/drivers/dp/src/xdp_mst.c b/XilinxProcessorIPLib/drivers/dp/src/xdp_mst.c index 9332e372..7e0505c5 100644 --- a/XilinxProcessorIPLib/drivers/dp/src/xdp_mst.c +++ b/XilinxProcessorIPLib/drivers/dp/src/xdp_mst.c @@ -107,7 +107,7 @@ typedef struct */ typedef struct { - u8 MsgData[62]; /**< The raw body data of the sideband + u8 MsgData[256]; /**< The raw body data of the sideband message. */ u8 MsgDataLength; /**< The number of data bytes stored as part of the sideband message @@ -125,6 +125,12 @@ typedef struct message. */ XDp_SidebandMsgBody Body; /**< The body segment of the sideband message. */ + u8 FragmentNum; /**< Larger sideband messages need to be + broken up into multiple + fragments. For RX, this number + indicates the fragment with + which the current header + corresponds to. */ } XDp_SidebandMsg; /**