RE: [RPRWG] Credit A0 maybe zero or negative?
Jiang Zhou,
Draft 2.3 has been rephrased to make more clear that both the MAC control shaper and the service class specific shaper have to be passed for any control frame. Therefore, none of the credits will drop below zero.
John Lemon
-----Original Message-----
From: Jiang zhou [mailto:zjiang@xxxxxxxxxxxxxxxxxxx]
Sent: Friday, June 13, 2003 12:56 AM
To: RPRWG (E-mail)
Subject: [RPRWG] Credit A0 maybe zero or negative?
For the MAC control frame sending it needs subtract both shM and shA0. If
control frame set PT as A0,it maybe result credit to zero or negative.
In the transmit seletction table:
!EntryInMacControl() ||passM == 0 2 CHECK
sizeOfMacControl > spaceInPTQ 3 CHECK
¡ª 4 TxMacControl()
If now the passM !=0 and passA0 =0(creditA0 < sizeMTU) and there is long
control frame(near sizeMTU) in control queue. More no frame in PTQ or STQ.
So according 4 this frame is sent out. When it sends MAC need subtract the
creditA0.
If the control frame length > creditA0 , crditA0 may be negative.
Best Regards
Jiangzhou
zjiang@xxxxxxxxxxxxxxxxxxx