From mboxrd@z Thu Jan 1 00:00:00 1970 From: "lvenyong" Subject: QoS: The difference of traffic class between subport and pipe in QoS Date: Wed, 31 Aug 2016 19:34:01 +0800 Message-ID: <005201d2037b$920bbff0$b6233fd0$@com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: To: Return-path: Content-Language: zh-cn List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" HI ! Is there difference of traffic class between subport and pipe in QOS ? After read prog_guide-2.2.pdf we kown that the scheduling hierarchy is port, subport, pipe, traffic class and queue. But the traffic class both in subport and pipe appeared in example of qos_sched . [subport 0] tb rate = 1250000000 ; Bytes per second tb size = 1000000 ; Bytes tc 0 rate = 1250000000 ; Bytes per second tc 1 rate = 1250000000 ; Bytes per second tc 2 rate = 1250000000 ; Bytes per second tc 3 rate = 1250000000 ; Bytes per second tc period = 10 ; Milliseconds pipe 0-4095 = 0 ; These pipes are configured with pipe profile 0 ; Pipe configuration [pipe profile 0] tb rate = 305175 ; Bytes per second tb size = 1000000 ; Bytes tc 0 rate = 305175 ; Bytes per second tc 1 rate = 305175 ; Bytes per second tc 2 rate = 305175 ; Bytes per second tc 3 rate = 305175 ; Bytes per second tc period = 40 ; Milliseconds Thanks