Skip to contentSkip to conversation

process: new library approval in principle

RFC PATCH In review [email protected] 6 participants 15 messages Feb 13, 2023 – Jul 25, 2023

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 process: new library approval in principle

From: Jerin Jacob <[email protected]>

Based on TB meeting[1] action item, defining the process for new library approval in principle.

[1]
https://mails.dpdk.org/archives/dev/2023-January/260035.html

---
 content/process/_index.md | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 content/process/_index.md
content/process/_index.md new file +33 -0
new file mode 100644
index 0000000..21c2642
@@ -0,0 +1,33 @@
++++
+title = "Process"
+weight = "9"
++++
+
+## Process for new library approval in principle
+
+### Rational
+
+Adding a new library to DPDK codebase with proper RFC and then full patch-sets is
+significant work and getting early approval-in-principle that a library help DPDK contributors
+avoid wasted effort if it is not suitable for various reasons.
+
+### Process
+
+1. When a contributor would like to add a new library to DPDK code base, the contributor must send
+the following items to DPDK mailing list for TB approval-in-principle.
+
+   - Purpose of the library.
+   - Scope of the library.
+   - Any licensing constraints.
+   - Justification for adding to DPDK.
+   - Any other implementations of the same functionality in other libs/products and how this version differs.
+   - Public API specification header file as RFC
+       - Optional and good to have.
+       - TB may additionally request this collateral if needed to get more clarity on scope and purpose.
+
+2. TB to schedule discussion on this in upcoming TB meeting along with author. Based on the TB
+schedule and/or author availability, TB may need maximum three TB meeting slots.
+
+3. Based on mailing list and TB meeting discussions, TB to vote for approval-in-principle and share
+the decision in the mailing list.
+
Signature · 1 line
2.39.1
#1 lore raw
Quoted 8 lines · On Mon, Feb 13, 2023 at 2:56 PM <[email protected]> wrote:

From: Jerin Jacob <[email protected]>

Based on TB meeting[1] action item, defining the process for new library approval in principle.

[1]
https://mails.dpdk.org/archives/dev/2023-January/260035.html

Ping for review.

Quoted 49 lines
---
 content/process/_index.md | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 content/process/_index.md
content/process/_index.md new file +33 -1
new file mode 100644
index 0000000..21c2642
@@ -0,0 +1,33 @@
++++
+title = "Process"
+weight = "9"
++++
+
+## Process for new library approval in principle
+
+### Rational
+
+Adding a new library to DPDK codebase with proper RFC and then full patch-sets is
+significant work and getting early approval-in-principle that a library help DPDK contributors
+avoid wasted effort if it is not suitable for various reasons.
+
+### Process
+
+1. When a contributor would like to add a new library to DPDK code base, the contributor must send
+the following items to DPDK mailing list for TB approval-in-principle.
+
+   - Purpose of the library.
+   - Scope of the library.
+   - Any licensing constraints.
+   - Justification for adding to DPDK.
+   - Any other implementations of the same functionality in other libs/products and how this version differs.
+   - Public API specification header file as RFC
+       - Optional and good to have.
+       - TB may additionally request this collateral if needed to get more clarity on scope and purpose.
+
+2. TB to schedule discussion on this in upcoming TB meeting along with author. Based on the TB
+schedule and/or author availability, TB may need maximum three TB meeting slots.
+
+3. Based on mailing list and TB meeting discussions, TB to vote for approval-in-principle and share
+the decision in the mailing list.
+
--

2.39.1

#2 lore raw
In reply to [email protected]

Thanks for formalizing our process.

13/02/2023 10:26, [email protected]:

content/process/_index.md

Quoted 2 lines
content/process/_index.md new file +0 -0

First question: is the website the best place for this process?

Inside the code guides, we have a contributing section, but I'm not sure it is a good fit for the decision process.

In the website, you are creating a new page "process". Is it what we want?
What about making it a sub-page of "Technical Board"?

content/process/_index.md line 8

Quoted 9 lines
content/process/_index.md new file +8 -0
@@ -0,0 +1,33 @@
++++
+title = "Process"
+weight = "9"
++++
+
+## Process for new library approval in principle
+
+### Rational

s/Rational/Rationale/

content/process/_index.md line 12

Quoted 4 lines
content/process/_index.md new file +4 -0
+
+Adding a new library to DPDK codebase with proper RFC and then full patch-sets is
+significant work and getting early approval-in-principle that a library help DPDK contributors
+avoid wasted effort if it is not suitable for various reasons.

That's a long sentence we could split.

content/process/_index.md line 17

Quoted 5 lines
content/process/_index.md new file +5 -0
+
+### Process
+
+1. When a contributor would like to add a new library to DPDK code base, the contributor must send
+the following items to DPDK mailing list for TB approval-in-principle.

I think we can remove "code base".

TB should be explained: Technical Board.

content/process/_index.md line 20

Quoted 3 lines
content/process/_index.md new file +3 -0
+
+   - Purpose of the library.
+   - Scope of the library.

Not sure I understand the difference between Purpose and Scope.

content/process/_index.md line 23

Quoted 3 lines
content/process/_index.md new file +3 -0
+   - Any licensing constraints.
+   - Justification for adding to DPDK.
+   - Any other implementations of the same functionality in other libs/products and how this version differs.

libs/products -> libraries/projects

content/process/_index.md line 25

Quoted 2 lines
content/process/_index.md new file +2 -0
+   - Public API specification header file as RFC
+       - Optional and good to have.

You mean providing API is optional at this stage?

content/process/_index.md line 29

Quoted 4 lines
content/process/_index.md new file +4 -0
+       - TB may additionally request this collateral if needed to get more clarity on scope and purpose.
+
+2. TB to schedule discussion on this in upcoming TB meeting along with author. Based on the TB
+schedule and/or author availability, TB may need maximum three TB meeting slots.

Better to translate the delay into weeks: 5 weeks?

content/process/_index.md line 32

Quoted 3 lines
content/process/_index.md new file +3 -0
+
+3. Based on mailing list and TB meeting discussions, TB to vote for approval-in-principle and share
+the decision in the mailing list.

I think we should say here that it is safe to start working on the implementation after this step,
but the patches will need to match usual quality criterias to be effectively accepted.

#3 lore raw
Quoted 2 lines · Thomas Monjalon

Thanks for formalizing our process.

Thanks for the review.

Quoted 7 lines

13/02/2023 10:26, [email protected]:

content/process/_index.md

Quoted 2 lines
content/process/_index.md new file +0 -0

First question: is the website the best place for this process?

Quoted 6 lines

Inside the code guides, we have a contributing section, but I'm not sure it is a good fit for the decision process.

In the website, you are creating a new page "process". Is it what we want?
What about making it a sub-page of "Technical Board"?

Since it is a process, I thought of keeping "process" page. No specific opinion on where to add it.
If not other objections, Then I can add at doc/guides/contributing/new_library_policy.rst in DPDK repo. Let me know if you think better name or better place to keep the file

Quoted 12 lines

content/process/_index.md line 8

Quoted 10 lines
content/process/_index.md new file +8 -0
@@ -0,0 +1,33 @@
++++
+title = "Process"
+weight = "9"
++++
+
+## Process for new library approval in principle
+
+### Rational

s/Rational/Rationale/

Ack

Quoted 7 lines

content/process/_index.md line 12

Quoted 5 lines
content/process/_index.md new file +4 -0
+
+Adding a new library to DPDK codebase with proper RFC and then full patch-sets is
+significant work and getting early approval-in-principle that a library help DPDK contributors
+avoid wasted effort if it is not suitable for various reasons.

That's a long sentence we could split.

OK Changing as:

Adding a new library to DPDK codebase with proper RFC and full patch-sets is significant work.

Getting early approval-in-principle that a library can help DPDK contributors avoid wasted effort
if it is not suitable for various reasons

Quoted 8 lines

content/process/_index.md line 17

Quoted 6 lines
content/process/_index.md new file +5 -0
+
+### Process
+
+1. When a contributor would like to add a new library to DPDK code base, the contributor must send
+the following items to DPDK mailing list for TB approval-in-principle.

I think we can remove "code base".

Ack

Quoted 2 lines

TB should be explained: Technical Board.

Ack

Quoted 6 lines

content/process/_index.md line 20

Quoted 4 lines
content/process/_index.md new file +3 -0
+
+   - Purpose of the library.
+   - Scope of the library.

Not sure I understand the difference between Purpose and Scope.

Purpose → The need for the library
Scope → I meant the work scope associated with it.

I will change "Scope of the library" to,

- Scope of work: Outline the various additional tasks planned for this library, such as developing new test applications, adding new drivers, and updating existing applications.

Quoted 6 lines

content/process/_index.md line 23

Quoted 4 lines
content/process/_index.md new file +3 -0
+   - Any licensing constraints.
+   - Justification for adding to DPDK.
+   - Any other implementations of the same functionality in other libs/products and how this version differs.

libs/products -> libraries/projects

Ack

Quoted 5 lines

content/process/_index.md line 25

Quoted 3 lines
content/process/_index.md new file +2 -0
+   - Public API specification header file as RFC
+       - Optional and good to have.

You mean providing API is optional at this stage?

Yes. I think, TB can request if more clarity is needed as mentioned below. "TB may additionally request this collateral if needed to get more clarity on scope and purpose"

Quoted 7 lines

content/process/_index.md line 29

Quoted 5 lines
content/process/_index.md new file +4 -0
+       - TB may additionally request this collateral if needed to get more clarity on scope and purpose.
+
+2. TB to schedule discussion on this in upcoming TB meeting along with author. Based on the TB
+schedule and/or author availability, TB may need maximum three TB meeting slots.

Better to translate the delay into weeks: 5 weeks?

Ack

Quoted 9 lines

content/process/_index.md line 32

Quoted 4 lines
content/process/_index.md new file +3 -0
+
+3. Based on mailing list and TB meeting discussions, TB to vote for approval-in-principle and share
+the decision in the mailing list.

I think we should say here that it is safe to start working on the implementation after this step,
but the patches will need to match usual quality criterias to be effectively accepted.

OK.

I will add the following,

4. Once TB approves the library in principle, it is safe to start working on its implementation.
However, the patches will need to meet the usual quality criteria in order to be effectively accepted.

Quoted 2 lines
#4 lore raw
Quoted 6 lines · Jerin Jacob
Quoted 2 lines · Thomas Monjalon

Thanks for formalizing our process.

Thanks for the review.

Ping

Quoted 137 lines
Quoted 8 lines

13/02/2023 10:26, [email protected]:

content/process/_index.md

Quoted 2 lines
content/process/_index.md new file +0 -0

First question: is the website the best place for this process?

Quoted 6 lines

Inside the code guides, we have a contributing section, but I'm not sure it is a good fit for the decision process.

In the website, you are creating a new page "process". Is it what we want?
What about making it a sub-page of "Technical Board"?

Since it is a process, I thought of keeping "process" page. No specific opinion on where to add it.
If not other objections, Then I can add at doc/guides/contributing/new_library_policy.rst in DPDK repo. Let me know if you think better name or better place to keep the file

Quoted 12 lines

content/process/_index.md line 8

Quoted 10 lines
content/process/_index.md new file +8 -0
@@ -0,0 +1,33 @@
++++
+title = "Process"
+weight = "9"
++++
+
+## Process for new library approval in principle
+
+### Rational

s/Rational/Rationale/

Ack

Quoted 7 lines

content/process/_index.md line 12

Quoted 5 lines
content/process/_index.md new file +4 -0
+
+Adding a new library to DPDK codebase with proper RFC and then full patch-sets is
+significant work and getting early approval-in-principle that a library help DPDK contributors
+avoid wasted effort if it is not suitable for various reasons.

That's a long sentence we could split.

OK Changing as:

Adding a new library to DPDK codebase with proper RFC and full patch-sets is significant work.

Getting early approval-in-principle that a library can help DPDK contributors avoid wasted effort
if it is not suitable for various reasons

Quoted 8 lines

content/process/_index.md line 17

Quoted 6 lines
content/process/_index.md new file +5 -0
+
+### Process
+
+1. When a contributor would like to add a new library to DPDK code base, the contributor must send
+the following items to DPDK mailing list for TB approval-in-principle.

I think we can remove "code base".

Ack

Quoted 2 lines

TB should be explained: Technical Board.

Ack

Quoted 6 lines

content/process/_index.md line 20

Quoted 4 lines
content/process/_index.md new file +3 -0
+
+   - Purpose of the library.
+   - Scope of the library.

Not sure I understand the difference between Purpose and Scope.

Purpose → The need for the library
Scope → I meant the work scope associated with it.

I will change "Scope of the library" to,

- Scope of work: Outline the various additional tasks planned for this library, such as developing new test applications, adding new drivers, and updating existing applications.

Quoted 6 lines

content/process/_index.md line 23

Quoted 4 lines
content/process/_index.md new file +3 -0
+   - Any licensing constraints.
+   - Justification for adding to DPDK.
+   - Any other implementations of the same functionality in other libs/products and how this version differs.

libs/products -> libraries/projects

Ack

Quoted 5 lines

content/process/_index.md line 25

Quoted 3 lines
content/process/_index.md new file +2 -0
+   - Public API specification header file as RFC
+       - Optional and good to have.

You mean providing API is optional at this stage?

Yes. I think, TB can request if more clarity is needed as mentioned below. "TB may additionally request this collateral if needed to get more clarity on scope and purpose"

Quoted 7 lines

content/process/_index.md line 29

Quoted 5 lines
content/process/_index.md new file +4 -0
+       - TB may additionally request this collateral if needed to get more clarity on scope and purpose.
+
+2. TB to schedule discussion on this in upcoming TB meeting along with author. Based on the TB
+schedule and/or author availability, TB may need maximum three TB meeting slots.

Better to translate the delay into weeks: 5 weeks?

Ack

Quoted 9 lines

content/process/_index.md line 32

Quoted 4 lines
content/process/_index.md new file +3 -0
+
+3. Based on mailing list and TB meeting discussions, TB to vote for approval-in-principle and share
+the decision in the mailing list.

I think we should say here that it is safe to start working on the implementation after this step,
but the patches will need to match usual quality criterias to be effectively accepted.

OK.

I will add the following,

4. Once TB approves the library in principle, it is safe to start working on its implementation.
However, the patches will need to meet the usual quality criteria in order to be effectively accepted.

Quoted 2 lines
#5 lore raw
Quoted 10 lines · Jerin Jacob
Quoted 6 lines · Jerin Jacob
Quoted 2 lines · Thomas Monjalon

Thanks for formalizing our process.

Thanks for the review.

Ping

@Thomas Monjalon Could you check the below comments and share your opinion to make forward progress.

Quoted 138 lines
Quoted 138 lines
Quoted 9 lines

13/02/2023 10:26, [email protected]:

content/process/_index.md

Quoted 2 lines
content/process/_index.md new file +0 -0

First question: is the website the best place for this process?

Quoted 6 lines

Inside the code guides, we have a contributing section, but I'm not sure it is a good fit for the decision process.

In the website, you are creating a new page "process". Is it what we want?
What about making it a sub-page of "Technical Board"?

Since it is a process, I thought of keeping "process" page. No specific opinion on where to add it.
If not other objections, Then I can add at doc/guides/contributing/new_library_policy.rst in DPDK repo. Let me know if you think better name or better place to keep the file

Quoted 12 lines

content/process/_index.md line 8

Quoted 10 lines
content/process/_index.md new file +8 -0
@@ -0,0 +1,33 @@
++++
+title = "Process"
+weight = "9"
++++
+
+## Process for new library approval in principle
+
+### Rational

s/Rational/Rationale/

Ack

Quoted 7 lines

content/process/_index.md line 12

Quoted 5 lines
content/process/_index.md new file +4 -0
+
+Adding a new library to DPDK codebase with proper RFC and then full patch-sets is
+significant work and getting early approval-in-principle that a library help DPDK contributors
+avoid wasted effort if it is not suitable for various reasons.

That's a long sentence we could split.

OK Changing as:

Adding a new library to DPDK codebase with proper RFC and full patch-sets is significant work.

Getting early approval-in-principle that a library can help DPDK contributors avoid wasted effort
if it is not suitable for various reasons

Quoted 8 lines

content/process/_index.md line 17

Quoted 6 lines
content/process/_index.md new file +5 -0
+
+### Process
+
+1. When a contributor would like to add a new library to DPDK code base, the contributor must send
+the following items to DPDK mailing list for TB approval-in-principle.

I think we can remove "code base".

Ack

Quoted 2 lines

TB should be explained: Technical Board.

Ack

Quoted 6 lines

content/process/_index.md line 20

Quoted 4 lines
content/process/_index.md new file +3 -0
+
+   - Purpose of the library.
+   - Scope of the library.

Not sure I understand the difference between Purpose and Scope.

Purpose → The need for the library
Scope → I meant the work scope associated with it.

I will change "Scope of the library" to,

- Scope of work: Outline the various additional tasks planned for this library, such as developing new test applications, adding new drivers, and updating existing applications.

Quoted 6 lines

content/process/_index.md line 23

Quoted 4 lines
content/process/_index.md new file +3 -0
+   - Any licensing constraints.
+   - Justification for adding to DPDK.
+   - Any other implementations of the same functionality in other libs/products and how this version differs.

libs/products -> libraries/projects

Ack

Quoted 5 lines

content/process/_index.md line 25

Quoted 3 lines
content/process/_index.md new file +2 -0
+   - Public API specification header file as RFC
+       - Optional and good to have.

You mean providing API is optional at this stage?

Yes. I think, TB can request if more clarity is needed as mentioned below. "TB may additionally request this collateral if needed to get more clarity on scope and purpose"

Quoted 7 lines

content/process/_index.md line 29

Quoted 5 lines
content/process/_index.md new file +4 -0
+       - TB may additionally request this collateral if needed to get more clarity on scope and purpose.
+
+2. TB to schedule discussion on this in upcoming TB meeting along with author. Based on the TB
+schedule and/or author availability, TB may need maximum three TB meeting slots.

Better to translate the delay into weeks: 5 weeks?

Ack

Quoted 9 lines

content/process/_index.md line 32

Quoted 4 lines
content/process/_index.md new file +3 -0
+
+3. Based on mailing list and TB meeting discussions, TB to vote for approval-in-principle and share
+the decision in the mailing list.

I think we should say here that it is safe to start working on the implementation after this step,
but the patches will need to match usual quality criterias to be effectively accepted.

OK.

I will add the following,

4. Once TB approves the library in principle, it is safe to start working on its implementation.
However, the patches will need to meet the usual quality criteria in order to be effectively accepted.

Quoted 2 lines
#6 lore raw

17/04/2023 15:33, Jerin Jacob:

Quoted 23 lines · Jerin Jacob
Quoted 1 line · Thomas Monjalon

@Thomas Monjalon Could you check the below comments and share your opinion to make forward progress.

Quoted 18 lines
Quoted 6 lines

13/02/2023 10:26, [email protected]:

content/process/_index.md

Quoted 2 lines
content/process/_index.md new file +0 -0

First question: is the website the best place for this process?

Quoted 6 lines

Inside the code guides, we have a contributing section, but I'm not sure it is a good fit for the decision process.

In the website, you are creating a new page "process". Is it what we want?
What about making it a sub-page of "Technical Board"?

Since it is a process, I thought of keeping "process" page. No specific opinion on where to add it.
If not other objections, Then I can add at doc/guides/contributing/new_library_policy.rst in DPDK repo. Let me know if you think better name or better place to keep the file

Maybe that the contributing guide is the best place. I'm OK with a new file doc/guides/contributing/new_library.rst which could document more than the policy in future (like things to remember and to check).

Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

content/process/_index.md line 12

Quoted 3 lines
content/process/_index.md new file +3 -0
+Adding a new library to DPDK codebase with proper RFC and then full patch-sets is
+significant work and getting early approval-in-principle that a library help DPDK contributors
+avoid wasted effort if it is not suitable for various reasons.

That's a long sentence we could split.

Quoted 8 lines
Quoted 8 lines

OK Changing as:

Adding a new library to DPDK codebase with proper RFC and full patch-sets is significant work.

Getting early approval-in-principle that a library can help DPDK contributors avoid wasted effort
if it is not suitable for various reasons

It will be easier if starting with the goal:
In order to save effort, developers will get an early approval in principle, or early feedback in case the library is not suitable for various reasons.

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

content/process/_index.md line 20

Quoted 4 lines
content/process/_index.md new file +2 -0
+   - Purpose of the library.
+   - Scope of the library.

Not sure I understand the difference between Purpose and Scope.

Quoted 8 lines
Quoted 8 lines

Purpose → The need for the library
Scope → I meant the work scope associated with it.

I will change "Scope of the library" to,

- Scope of work: Outline the various additional tasks planned for this library, such as developing new test applications, adding new drivers, and updating existing applications.

OK

Quoted 8 lines
Quoted 8 lines
Quoted 4 lines

content/process/_index.md line 25

Quoted 2 lines
content/process/_index.md new file +2 -0
+   - Public API specification header file as RFC
+       - Optional and good to have.

You mean providing API is optional at this stage?

Yes. I think, TB can request if more clarity is needed as mentioned below. "TB may additionally request this collateral if needed to get more clarity on scope and purpose"

OK

Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 2 lines

+3. Based on mailing list and TB meeting discussions, TB to vote for approval-in-principle and share +the decision in the mailing list.

I think we should say here that it is safe to start working on the implementation after this step,
but the patches will need to match usual quality criterias to be effectively accepted.

Quoted 8 lines
Quoted 8 lines

OK.

I will add the following,

4. Once TB approves the library in principle, it is safe to start working on its implementation.
However, the patches will need to meet the usual quality criteria in order to be effectively accepted.

OK

Acked-by on v1 1/1
#7 lore raw
In reply to [email protected]
Quoted 30 lines

rom: Jerin Jacob <jerinj at marvell.com>

Based on TB meeting[1] action item, defining the process for new library approval in principle.

[1]
https://mails.dpdk.org/archives/dev/2023-January/260035.html

Signed-off-by Jerin Jacob <jerinj at marvell.com>
---
 content/process/_index.md | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 content/process/_index.md
content/process/_index.md new file +10 -0
new file mode 100644
index 0000000..21c2642
@@ -0,0 +1,33 @@
++++
+title = "Process"
+weight = "9"
++++
+
+## Process for new library approval in principle
+
+### Rational
+
+Adding a new library to DPDK codebase with proper RFC and then full patch-sets is

content/process/_index.md line 20

Quoted 10 lines
content/process/_index.md new file +10 -0
+significant work and getting early approval-in-principle that a library help DPDK contributors
+avoid wasted effort if it is not suitable for various reasons.
+
+### Process
+
+1. When a contributor would like to add a new library to DPDK code base, the contributor must send
+the following items to DPDK mailing list for TB approval-in-principle.
+
+   - Purpose of the library.
+   - Scope of the library.

I'd probably extend it to:
Scope and expected usage models of the library.
Apart from that - LGTM.

Quoted 15 lines
content/process/_index.md new file +13 -0
+   - Any licensing constraints.
+   - Justification for adding to DPDK.
+   - Any other implementations of the same functionality in other libs/products and how this version differs.
+   - Public API specification header file as RFC
+       - Optional and good to have.
+       - TB may additionally request this collateral if needed to get more clarity on scope and purpose.
+
+2. TB to schedule discussion on this in upcoming TB meeting along with author. Based on the TB
+schedule and/or author availability, TB may need maximum three TB meeting slots.
+
+3. Based on mailing list and TB meeting discussions, TB to vote for approval-in-principle and share
+the decision in the mailing list.
+
Signature · 1 line
2.39.1
#8 lore raw
In reply to [email protected]
Quoted 33 lines · On 13/02/2023 09:26, [email protected] wrote:

From: Jerin Jacob <[email protected]>

Based on TB meeting[1] action item, defining the process for new library approval in principle.

[1]
https://mails.dpdk.org/archives/dev/2023-January/260035.html

---
  content/process/_index.md | 33 +++++++++++++++++++++++++++++++++
  1 file changed, 33 insertions(+)

create mode 100644 content/process/_index.md

content/process/_index.md new file +13 -0
new file mode 100644
index 0000000..21c2642
@@ -0,0 +1,33 @@
++++
+title = "Process"
+weight = "9"
++++
+
+## Process for new library approval in principle
+
+### Rational
+
+Adding a new library to DPDK codebase with proper RFC and then full patch-sets is
+significant work and getting early approval-in-principle that a library help DPDK contributors
+avoid wasted effort if it is not suitable for various reasons.
+

content/process/_index.md line 23

Quoted 10 lines
content/process/_index.md new file +10 -0
+### Process
+
+1. When a contributor would like to add a new library to DPDK code base, the contributor must send
+the following items to DPDK mailing list for TB approval-in-principle.
+
+   - Purpose of the library.
+   - Scope of the library.
+   - Any licensing constraints.
+   - Justification for adding to DPDK.
+   - Any other implementations of the same functionality in other libs/products and how this version differs.

- Dependencies

(Need to know if it's introducing new dependencies to the project)

content/process/_index.md line 33

Quoted 10 lines
content/process/_index.md new file +10 -0
+   - Public API specification header file as RFC
+       - Optional and good to have.
+       - TB may additionally request this collateral if needed to get more clarity on scope and purpose.
+
+2. TB to schedule discussion on this in upcoming TB meeting along with author. Based on the TB
+schedule and/or author availability, TB may need maximum three TB meeting slots.
+
+3. Based on mailing list and TB meeting discussions, TB to vote for approval-in-principle and share
+the decision in the mailing list.
+

How about having three outcomes:
- Approval in principal
- Not approved
- Further information needed

#9 lore raw
Quoted 48 lines · Kevin Traynor
Quoted 33 lines · On 13/02/2023 09:26, [email protected] wrote:

From: Jerin Jacob <[email protected]>

Based on TB meeting[1] action item, defining the process for new library approval in principle.

[1]
https://mails.dpdk.org/archives/dev/2023-January/260035.html

---
  content/process/_index.md | 33 +++++++++++++++++++++++++++++++++
  1 file changed, 33 insertions(+)

create mode 100644 content/process/_index.md

content/process/_index.md new file +13 -0
new file mode 100644
index 0000000..21c2642
@@ -0,0 +1,33 @@
++++
+title = "Process"
+weight = "9"
++++
+
+## Process for new library approval in principle
+
+### Rational
+
+Adding a new library to DPDK codebase with proper RFC and then full patch-sets is
+significant work and getting early approval-in-principle that a library help DPDK contributors
+avoid wasted effort if it is not suitable for various reasons.
+

content/process/_index.md line 23

Quoted 10 lines
content/process/_index.md new file +10 -0
+### Process
+
+1. When a contributor would like to add a new library to DPDK code base, the contributor must send
+the following items to DPDK mailing list for TB approval-in-principle.
+
+   - Purpose of the library.
+   - Scope of the library.
+   - Any licensing constraints.
+   - Justification for adding to DPDK.
+   - Any other implementations of the same functionality in other libs/products and how this version differs.

- Dependencies

Quoted 1 line

(Need to know if it's introducing new dependencies to the project)

Ack. I will add in next version.

Quoted 16 lines

content/process/_index.md line 33

Quoted 11 lines
content/process/_index.md new file +10 -0
+   - Public API specification header file as RFC
+       - Optional and good to have.
+       - TB may additionally request this collateral if needed to get more clarity on scope and purpose.
+
+2. TB to schedule discussion on this in upcoming TB meeting along with author. Based on the TB
+schedule and/or author availability, TB may need maximum three TB meeting slots.
+
+3. Based on mailing list and TB meeting discussions, TB to vote for approval-in-principle and share
+the decision in the mailing list.
+

How about having three outcomes:
- Approval in principal
- Not approved
- Further information needed

Ack. I will add in next version.

Quoted 1 line
#10 lore raw

PATCH 1/1 doc: process for new library approval in principle

In reply to [email protected]

From: Jerin Jacob <[email protected]>

Based on techboard meeting[1] action item, defining the process for a new library approval in principle.

[1]
https://mails.dpdk.org/archives/dev/2023-January/260035.html

---
RFC..v1:
- Fix the review comments by Konstantin, Keven, Thomas at
http://patches.dpdk.org/project/dpdk/patch/[email protected]/

 doc/guides/contributing/index.rst       |  1 +
 doc/guides/contributing/new_library.rst | 48 +++++++++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 doc/guides/contributing/new_library.rst
doc/guides/contributing/index.rst +1 -0
index 7a9e6b368e..ef627329f1 100644
@@ -18,3 +18,4 @@ Contributor's Guidelines
     vulnerability
     stable
     cheatsheet
+    new_library
doc/guides/contributing/new_library.rst new file +48 -0

48 lines not on this page · raw message

Signature · 1 line
2.40.1
#11 lore raw

Re: [dpdk-dev] [PATCH v1] doc: process for new library approval in principle

Quoted 6 lines · On Thu, May 18, 2023 at 6:52 PM <[email protected]> wrote:

From: Jerin Jacob <[email protected]>

Based on techboard meeting[1] action item, defining the process for a new library approval in principle.

Quoted 8 lines

[1]
https://mails.dpdk.org/archives/dev/2023-January/260035.html

---
RFC..v1:
- Fix the review comments by Konstantin, Keven, Thomas at
http://patches.dpdk.org/project/dpdk/patch/[email protected]/

Ping for review.

Quoted 72 lines
 doc/guides/contributing/index.rst       |  1 +
 doc/guides/contributing/new_library.rst | 48 +++++++++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 doc/guides/contributing/new_library.rst
doc/guides/contributing/index.rst +1 -0
index 7a9e6b368e..ef627329f1 100644
@@ -18,3 +18,4 @@ Contributor's Guidelines
     vulnerability
     stable
     cheatsheet
+    new_library
doc/guides/contributing/new_library.rst new file +48 -1
new file mode 100644
index 0000000000..7dde8cbe64
@@ -0,0 +1,48 @@
+.. SPDX-License-Identifier: BSD-3-Clause
+   Copyright(c) 2023 Marvell.
+
+Process for new library approval in principle
+=============================================
+
+Rationale
+---------
+
+Adding a new library to DPDK with proper RFC and then full patch-sets is significant work.
+In order to save effort, developers will get an early approval in principle, or early feedback in
+case the library is not suitable for various reasons.
+
+Process
+-------
+
+#. When a contributor would like to add a new library to DPDK code base, the contributor must send
+   the following items to DPDK mailing list for technical board approval-in-principle.
+
+   * Purpose of the library.
+   * Scope of work: outline the various additional tasks planned for this library, such as
+     developing new test applications, adding new drivers, and updating existing applications.
+   * Expected usage models of the library.
+   * Any licensing constraints.
+   * Justification for adding to DPDK.
+   * Any other implementations of the same functionality in other libraries/projects and how this
+     version differs.
+   * Public API specification header file as RFC.
+
+       * Optional and good to have.
+       * Technical board may additionally request this collateral if needed to get more clarity
+         on scope and purpose.
+   * Any new library dependencies to DPDK.
+
+#. Technical board to schedule discussion on this in upcoming technical board meeting along with
+   author. Based on the technical board schedule and/or author availability, technical board may
+   need a maximum of **five** technical board meeting slots.
+
+#. Based on mailing list and technical board meeting discussions, technical board to vote and share
+   the decision in the mailing list. The decision outcome can be any of the following.
+
+   * Approved in principal
+   * Not approved
+   * Further information needed
+
+#. Once technical board approves the library in principle, it is safe to start working on the
+   implementation. However, the patches will need to meet the usual quality criteria in order to be
+   effectively accepted.
--

2.40.1

#12 lore raw

Re: [dpdk-dev] [PATCH v1] doc: process for new library approval in principle

In reply to [email protected]
Quoted 6 lines · On Thu, May 18, 2023 at 6:52 PM <[email protected]> wrote:

From: Jerin Jacob <[email protected]>

Based on techboard meeting[1] action item, defining the process for a new library approval in principle.

Quoted 8 lines

[1]
https://mails.dpdk.org/archives/dev/2023-January/260035.html

---
RFC..v1:
- Fix the review comments by Konstantin, Keven, Thomas at
http://patches.dpdk.org/project/dpdk/patch/[email protected]/

Ping for review or merge

Acked-by on v1 1/1
#13 lore raw

Re: [dpdk-dev] [PATCH v1] doc: process for new library approval in principle

In reply to [email protected]
Quoted 72 lines · On 5/18/2023 2:21 PM, [email protected] wrote:

From: Jerin Jacob <[email protected]>

Based on techboard meeting[1] action item, defining the process for a new library approval in principle.

[1]
https://mails.dpdk.org/archives/dev/2023-January/260035.html

---
RFC..v1:
- Fix the review comments by Konstantin, Keven, Thomas at
http://patches.dpdk.org/project/dpdk/patch/[email protected]/

 doc/guides/contributing/index.rst       |  1 +
 doc/guides/contributing/new_library.rst | 48 +++++++++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 doc/guides/contributing/new_library.rst
doc/guides/contributing/index.rst +1 -0
index 7a9e6b368e..ef627329f1 100644
@@ -18,3 +18,4 @@ Contributor's Guidelines
     vulnerability
     stable
     cheatsheet
+    new_library
doc/guides/contributing/new_library.rst new file +38 -0
new file mode 100644
index 0000000000..7dde8cbe64
@@ -0,0 +1,48 @@
+.. SPDX-License-Identifier: BSD-3-Clause
+   Copyright(c) 2023 Marvell.
+
+Process for new library approval in principle
+=============================================
+
+Rationale
+---------
+
+Adding a new library to DPDK with proper RFC and then full patch-sets is significant work.
+In order to save effort, developers will get an early approval in principle, or early feedback in
+case the library is not suitable for various reasons.
+
+Process
+-------
+
+#. When a contributor would like to add a new library to DPDK code base, the contributor must send
+   the following items to DPDK mailing list for technical board approval-in-principle.
+
+   * Purpose of the library.
+   * Scope of work: outline the various additional tasks planned for this library, such as
+     developing new test applications, adding new drivers, and updating existing applications.
+   * Expected usage models of the library.
+   * Any licensing constraints.
+   * Justification for adding to DPDK.
+   * Any other implementations of the same functionality in other libraries/projects and how this
+     version differs.
+   * Public API specification header file as RFC.
+
+       * Optional and good to have.
+       * Technical board may additionally request this collateral if needed to get more clarity
+         on scope and purpose.
+   * Any new library dependencies to DPDK.
+
+#. Technical board to schedule discussion on this in upcoming technical board meeting along with
+   author. Based on the technical board schedule and/or author availability, technical board may
+   need a maximum of **five** technical board meeting slots.
+

doc/guides/contributing/new_library.rst line 48

Quoted 10 lines
doc/guides/contributing/new_library.rst new file +10 -0
+#. Based on mailing list and technical board meeting discussions, technical board to vote and share
+   the decision in the mailing list. The decision outcome can be any of the following.
+
+   * Approved in principal
+   * Not approved
+   * Further information needed
+
+#. Once technical board approves the library in principle, it is safe to start working on the
+   implementation. However, the patches will need to meet the usual quality criteria in order to be
+   effectively accepted.

Looks reasonable to me, and it is good to start to document the process anyway, we can tweak it later if required, hence:

#14 lore raw

Re: [dpdk-dev] [PATCH v1] doc: process for new library approval in principle

Quoted 11 lines
Quoted 11 lines

Based on techboard meeting[1] action item, defining the process for a new library approval in principle.

[1]
https://mails.dpdk.org/archives/dev/2023-January/260035.html

---
RFC..v1:
- Fix the review comments by Konstantin, Keven, Thomas at
http://patches.dpdk.org/project/dpdk/patch/[email protected]/

[...]

Quoted 50 lines
Quoted 35 lines
doc/guides/contributing/new_library.rst new file +35 -0
+Process for new library approval in principle
+=============================================
+
+Rationale
+---------
+
+Adding a new library to DPDK with proper RFC and then full patch-sets is significant work.
+In order to save effort, developers will get an early approval in principle, or early feedback in
+case the library is not suitable for various reasons.
+
+Process
+-------
+
+#. When a contributor would like to add a new library to DPDK code base, the contributor must send
+   the following items to DPDK mailing list for technical board approval-in-principle.
+
+   * Purpose of the library.
+   * Scope of work: outline the various additional tasks planned for this library, such as
+     developing new test applications, adding new drivers, and updating existing applications.
+   * Expected usage models of the library.
+   * Any licensing constraints.
+   * Justification for adding to DPDK.
+   * Any other implementations of the same functionality in other libraries/projects and how this
+     version differs.
+   * Public API specification header file as RFC.
+
+       * Optional and good to have.
+       * Technical board may additionally request this collateral if needed to get more clarity
+         on scope and purpose.
+   * Any new library dependencies to DPDK.
+
+#. Technical board to schedule discussion on this in upcoming technical board meeting along with
+   author. Based on the technical board schedule and/or author availability, technical board may
+   need a maximum of **five** technical board meeting slots.
+

doc/guides/contributing/new_library.rst line 48

Quoted 10 lines
doc/guides/contributing/new_library.rst new file +10 -0
+#. Based on mailing list and technical board meeting discussions, technical board to vote and share
+   the decision in the mailing list. The decision outcome can be any of the following.
+
+   * Approved in principal
+   * Not approved
+   * Further information needed
+
+#. Once technical board approves the library in principle, it is safe to start working on the
+   implementation. However, the patches will need to meet the usual quality criteria in order to be
+   effectively accepted.

Looks reasonable to me, and it is good to start to document the process anyway, we can tweak it later if required, hence:

Quoted 1 line

I prefer the new page having a broader scope: adding a new library. So I make this new doc as a chapter of a new page "Adding a new library".

Applied, thanks.

Later we could add some tips for new libraries: what to copy elsewhere, what to not forget (maintainer, doc, test, doc indexes, etc).