Skip to content

Commit d5d7d26

Browse files
author
andrew-elder
authored
Merge pull request #530 from MarcinMiklas/avtp_pipeline_fqtss_fix
AVTP pipeline: fixed bandwitdh reservation.
2 parents 24e559f + 1cf7145 commit d5d7d26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/avtp_pipeline/qmgr/openavb_qmgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ static bool setupHWQueue(int nClass, unsigned classBytesPerSec)
122122
*/
123123
U16 openavbQmgrAddStream(SRClassIdx_t nClass, unsigned classRate, unsigned maxIntervalFrames, unsigned maxFrameSize)
124124
{
125-
unsigned fullFrameSize = maxFrameSize + OPENAVB_AVTP_ETHER_FRAME_OVERHEAD;
125+
unsigned fullFrameSize = maxFrameSize + OPENAVB_AVTP_ETHER_FRAME_OVERHEAD + 1;
126126
unsigned long streamBytesPerSec = fullFrameSize * maxIntervalFrames * classRate;
127127
int idx, nStream;
128128
U16 fwmark = INVALID_FWMARK;

0 commit comments

Comments
 (0)