What is the significance Credit based shaping table configuration symbol CBS_PRIO? [SJA1105S]

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is the significance Credit based shaping table configuration symbol CBS_PRIO? [SJA1105S]

Jump to solution
536 Views
sameer_wasnik
Contributor I

As per document "UM11040 Software user manual" section 5.2.10, the description of symbol CBS_PRIO  is that it - "Specifies the priority queue to which the credit-based shaping block is applied". 
I have a confusion on this parameter as description says it needs to be used for priority queue/fifo but the name of symbol suggests that it represents priority. I have sample code of switch in which this parameter is used to set priority. 
Can some one please confirm the significance of CBS_PRIO, if it represent priority or priority queue?
sja1105 credit based traffic shaping sja1105s 

1 Solution
483 Views
bpe
NXP Employee
NXP Employee


The documentation shall be trusted. CBS_PRIO establishes the link between
a credit-based shaping block and a priority queue. It is not clear
what exactly sample code you are talking about, but I see no contradiction
there based on what you said, because from the switch configuration
standpoint, giving a priority is essentially assigning a priority queue.

Regards,

Platon

View solution in original post

1 Reply
484 Views
bpe
NXP Employee
NXP Employee


The documentation shall be trusted. CBS_PRIO establishes the link between
a credit-based shaping block and a priority queue. It is not clear
what exactly sample code you are talking about, but I see no contradiction
there based on what you said, because from the switch configuration
standpoint, giving a priority is essentially assigning a priority queue.

Regards,

Platon