Skip to contentSkip to conversation

new QoS/TM API and tree

DISCUSSION Thomas Monjalon 3 participants 8 messages Mar 28, 2017

lore
Share & tools
lore
#0 lore raw

At the last techboard meeting, it has been accepted to create a new git tree for the ongoing QoS work.
(see minutes http://dpdk.org/ml/archives/dev/2017-March/061009.html)

Quoting http://dpdk.org/ml/archives/dev/2017-March/060387.html
"
Can you please create a next-tree for QoS Traffic Management with the following details:
Maintainer: Cristian
Committers: Hemant, Jerin, Cristian
"

The last detail to discuss is the name of this tree.
As it is probably going to be an important amount of work, this tree can live indefinitely as a next- tree to be pulled before each RC1. The suggested names were dpdk-next-qos and dpdk-next-tm.

The question is equivalent to choose a name for the new API. Should it be rte_qos or rte_tm?

Please let's think how it can evolve in future versions.

#1 lore raw

Hi Thomas,

Quoted 20 lines

-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Tuesday, March 28, 2017 9:44 AM
To: [email protected]
Cc: Dumitrescu, Cristian <[email protected]>; [email protected]; [email protected]
Subject: new QoS/TM API and tree

At the last techboard meeting, it has been accepted to create a new git tree for the ongoing QoS work.
(see minutes http://dpdk.org/ml/archives/dev/2017-March/061009.html)

Quoting http://dpdk.org/ml/archives/dev/2017-March/060387.html
"
Can you please create a next-tree for QoS Traffic Management with the following details:
Maintainer: Cristian
Committers: Hemant, Jerin, Cristian
"

Quoted 7 lines

The last detail to discuss is the name of this tree.
As it is probably going to be an important amount of work, this tree can live indefinitely as a next- tree to be pulled before each RC1. The suggested names were dpdk-next-qos and dpdk-next-tm.

The question is equivalent to choose a name for the new API. Should it be rte_qos or rte_tm?

Quality of Service (QoS) is a very generous concept that includes the egress Traffic Management features such as hierarchical scheduling, traffic shaping, congestion management, etc.; the QoS concept also includes the ingress Traffic Metering and Policing.

Therefore, I think the sensible approach is:
API name (already debated on V2 thread: rte_scheddev, rte_tm, rte_tman, etc): rte_tm Repository name: dpdk-next-qos or dpdk-next-tm (your choice)

Quoted 2 lines

Please let's think how it can evolve in future versions.

Thanks,
Cristian

#2 lore raw

2017-03-28 09:41, Dumitrescu, Cristian:

Quoted 6 lines

From: Thomas Monjalon [mailto:[email protected]]

Quoted 5 lines

The last detail to discuss is the name of this tree.
As it is probably going to be an important amount of work, this tree can live indefinitely as a next- tree to be pulled before each RC1. The suggested names were dpdk-next-qos and dpdk-next-tm.

Quoted 10 lines
Quoted 2 lines

The question is equivalent to choose a name for the new API. Should it be rte_qos or rte_tm?

Quality of Service (QoS) is a very generous concept that includes the egress Traffic Management features such as hierarchical scheduling, traffic shaping, congestion management, etc.; the QoS concept also includes the ingress Traffic Metering and Policing.

Therefore, I think the sensible approach is:
API name (already debated on V2 thread: rte_scheddev, rte_tm, rte_tman, etc): rte_tm Repository name: dpdk-next-qos or dpdk-next-tm (your choice)

Quoted 1 line

Please let's think how it can evolve in future versions.

The question is:
Are we sure that every features included in this "next" repo will be only about Traffic Management?

Detailed in two questions:
- Are we sure the QoS API of ethdev will be only about Traffic Management?
- Do we want to manage other QoS code areas in this "next" repo?

#3 lore raw
Quoted 27 lines

-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Tuesday, March 28, 2017 10:57 AM
To: Dumitrescu, Cristian <[email protected]>
Cc: [email protected]; [email protected]; [email protected]
Subject: Re: new QoS/TM API and tree

2017-03-28 09:41, Dumitrescu, Cristian:

Quoted 10 lines

From: Thomas Monjalon [mailto:[email protected]]

Quoted 7 lines

The last detail to discuss is the name of this tree.
As it is probably going to be an important amount of work, this tree can live indefinitely as a next- tree to be pulled before each RC1. The suggested names were dpdk-next-qos and dpdk-next-tm.

The question is equivalent to choose a name for the new API. Should it be rte_qos or rte_tm?

Quality of Service (QoS) is a very generous concept that includes the egress

Traffic Management features such as hierarchical scheduling, traffic shaping, congestion management, etc.; the QoS concept also includes the ingress Traffic Metering and Policing.

Quoted 3 lines

Therefore, I think the sensible approach is:
API name (already debated on V2 thread: rte_scheddev, rte_tm,

Quoted 8 lines

rte_tman, etc): rte_tm

Quoted 3 lines

Repository name: dpdk-next-qos or dpdk-next-tm (your choice)

Quoted 1 line

Please let's think how it can evolve in future versions.

The question is:
Are we sure that every features included in this "next" repo will be only about Traffic Management?

What we are 100% sure of is the API name of rte_tm, as this API is exclusively targeting traffic management.

I agree with you that dpdk-next-qos would be a better name for the repo (instead of dpdk-next-tm), in case we want to add other QoS functionality to ethdev over time, such as traffic metering and policing. Of course, this is subject to community interest and Tech Board approval.

Quoted 4 lines

Detailed in two questions:
- Are we sure the QoS API of ethdev will be only about Traffic Management?
- Do we want to manage other QoS code areas in this "next" repo?

#4 lore raw

2017-03-28 10:09, Dumitrescu, Cristian:

Quoted 23 lines

From: Thomas Monjalon [mailto:[email protected]]

Quoted 22 lines

2017-03-28 09:41, Dumitrescu, Cristian:

Quoted 10 lines

From: Thomas Monjalon [mailto:[email protected]]

Quoted 7 lines

The last detail to discuss is the name of this tree.
As it is probably going to be an important amount of work, this tree can live indefinitely as a next- tree to be pulled before each RC1. The suggested names were dpdk-next-qos and dpdk-next-tm.

The question is equivalent to choose a name for the new API. Should it be rte_qos or rte_tm?

Quality of Service (QoS) is a very generous concept that includes the egress

Traffic Management features such as hierarchical scheduling, traffic shaping, congestion management, etc.; the QoS concept also includes the ingress Traffic Metering and Policing.

Quoted 3 lines

Therefore, I think the sensible approach is:
API name (already debated on V2 thread: rte_scheddev, rte_tm,

rte_tman, etc): rte_tm

Quoted 3 lines

Repository name: dpdk-next-qos or dpdk-next-tm (your choice)

Quoted 1 line

Please let's think how it can evolve in future versions.

Quoted 11 lines
Quoted 3 lines

The question is:
Are we sure that every features included in this "next" repo will be only about Traffic Management?

What we are 100% sure of is the API name of rte_tm, as this API is exclusively targeting traffic management.

I agree with you that dpdk-next-qos would be a better name for the repo (instead of dpdk-next-tm), in case we want to add other QoS functionality to ethdev over time, such as traffic metering and policing. Of course, this is subject to community interest and Tech Board approval.

Quoted 3 lines

Detailed in two questions:
- Are we sure the QoS API of ethdev will be only about Traffic Management?
- Do we want to manage other QoS code areas in this "next" repo?

I think it should be dpdk-next-qos and manage also the existing QoS libs. Can we have an agreement by most of the techboard members please?

#5 lore raw
Quoted 30 lines · Thomas Monjalon

2017-03-28 10:09, Dumitrescu, Cristian:

Quoted 29 lines

From: Thomas Monjalon [mailto:[email protected]]

Quoted 17 lines

2017-03-28 09:41, Dumitrescu, Cristian:

Quoted 10 lines

From: Thomas Monjalon [mailto:[email protected]]

Quoted 7 lines

The last detail to discuss is the name of this tree.
As it is probably going to be an important amount of work, this tree can live indefinitely as a next- tree to be pulled before each RC1. The suggested names were dpdk-next-qos and dpdk-next-tm.

The question is equivalent to choose a name for the new API. Should it be rte_qos or rte_tm?

Quality of Service (QoS) is a very generous concept that includes the egress

Traffic Management features such as hierarchical scheduling, traffic shaping, congestion management, etc.; the QoS concept also includes the ingress Traffic Metering and Policing.

Quoted 3 lines

Therefore, I think the sensible approach is:
API name (already debated on V2 thread: rte_scheddev, rte_tm,

Quoted 8 lines

rte_tman, etc): rte_tm

Quoted 3 lines

Repository name: dpdk-next-qos or dpdk-next-tm (your choice)

Quoted 1 line

Please let's think how it can evolve in future versions.

The question is:
Are we sure that every features included in this "next" repo will be only about Traffic Management?

What we are 100% sure of is the API name of rte_tm, as this API is exclusively targeting traffic management.

Quoted 8 lines
Quoted 5 lines

I agree with you that dpdk-next-qos would be a better name for the repo (instead of dpdk-next-tm), in case we want to add other QoS functionality to ethdev over time, such as traffic metering and policing. Of course, this is subject to community interest and Tech Board approval.

Quoted 3 lines

Detailed in two questions:
- Are we sure the QoS API of ethdev will be only about Traffic Management?
- Do we want to manage other QoS code areas in this "next" repo?

I think it should be dpdk-next-qos and manage also the existing QoS libs. Can we have an agreement by most of the techboard members please?

IMO, If we are moving all QoS related libraries(lib/librte_meter, lib/librte_sched and proposed tm library) to next tree then probably 'next-qos' make sense. If the scope is limited only for proposed tm library then next-tm make sense.

Quoted 1 line
#6 lore raw
Quoted 56 lines

-----Original Message-----
From: Jerin Jacob [mailto:[email protected]]
Sent: Tuesday, March 28, 2017 11:21 AM
To: Thomas Monjalon <[email protected]>
Cc: [email protected]; Dumitrescu, Cristian <[email protected]>; [email protected]; [email protected]
Subject: Re: new QoS/TM API and tree

Quoted 13 lines · Thomas Monjalon

2017-03-28 10:09, Dumitrescu, Cristian:

Quoted 12 lines

From: Thomas Monjalon [mailto:[email protected]]

Quoted 11 lines

2017-03-28 09:41, Dumitrescu, Cristian:

Quoted 10 lines

From: Thomas Monjalon [mailto:[email protected]]

Quoted 7 lines

The last detail to discuss is the name of this tree.
As it is probably going to be an important amount of work, this tree can live indefinitely as a next- tree to be pulled before each RC1. The suggested names were dpdk-next-qos and dpdk-next-tm.

The question is equivalent to choose a name for the new API. Should it be rte_qos or rte_tm?

Quality of Service (QoS) is a very generous concept that includes the

egress

Quoted 1 line
Quoted 1 line
Quoted 1 line

Traffic Management features such as hierarchical scheduling, traffic

shaping,

Quoted 1 line
Quoted 1 line
Quoted 1 line

congestion management, etc.; the QoS concept also includes the

ingress

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Traffic Metering and Policing.

Quoted 3 lines

Therefore, I think the sensible approach is:
API name (already debated on V2 thread: rte_scheddev, rte_tm,

rte_tman, etc): rte_tm

Quoted 2 lines

Repository name: dpdk-next-qos or dpdk-next-tm (your choice)

Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line

Please let's think how it can evolve in future versions.

The question is:
Are we sure that every features included in this "next" repo will be only about Traffic Management?

What we are 100% sure of is the API name of rte_tm, as this API is

exclusively targeting traffic management.

Quoted 2 lines
Quoted 2 lines

I agree with you that dpdk-next-qos would be a better name for the repo

(instead of dpdk-next-tm), in case we want to add other QoS functionality to ethdev over time, such as traffic metering and policing. Of course, this is subject to community interest and Tech Board approval.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Detailed in two questions:
- Are we sure the QoS API of ethdev will be only about Traffic

Management?

Quoted 2 lines
Quoted 1 line
Quoted 1 line

- Do we want to manage other QoS code areas in this "next" repo?

Quoted 9 lines
Quoted 2 lines

I think it should be dpdk-next-qos and manage also the existing QoS libs. Can we have an agreement by most of the techboard members please?

IMO, If we are moving all QoS related libraries(lib/librte_meter, lib/librte_sched and proposed tm library) to next tree then probably 'next- qos'
make sense. If the scope is limited only for proposed tm library then next-tm make sense.

Agree. Let's call the repo dpdk-next-tm and let's limit the scope to TM API, according to the mandate approved by the Tech Board.

Thomas, can we please create this tree asap without any further delay? We need to start the driver development and we are currently blocked by the repo not being created yet. Thanks!

#7 lore raw

2017-03-28 10:24, Dumitrescu, Cristian:

Quoted 3 lines

Agree. Let's call the repo dpdk-next-tm and let's limit the scope to TM API, according to the mandate approved by the Tech Board.

Thomas, can we please create this tree asap without any further delay? We need to start the driver development and we are currently blocked by the repo not being created yet. Thanks!

The repository is created:
http://dpdk.org/browse/next/dpdk-next-tm/

Private committer accesses are secured with SSH key.