Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify LNW documentation for 24.01 release #389

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

n-sandeep
Copy link
Contributor

No description provided.

docs/apps/lnw/es2k/es2k-linux-networking.md Outdated Show resolved Hide resolved
Modify p4 programm with below changes, to enable support for

- IPv6 traffic with VxLAN support.
- VxLAN traffic fails when remote overlay VMs MAC is learnt on OvS, before DUTs overlay VMs MAC address.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not clear what are we enabling the support for here. The statement describes the problem but not the functionality. 1st one sounds like feature enhancement but wasn't IPv6 code already available. Are both bug fixes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IPv6 is already available but due to a defect in p4 program, without this p4 programs change, IPv6 with VxLAN traffic will fail.

Copy link
Contributor

@ffoulkes ffoulkes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue 1

The added section is not part of the Feature Overview. It belongs at heading level 2, not heading level 3.

Issue 2

Patches belong in patch files. Putting them in a document makes the document harder to read and the patch harder to apply. The document should describe the problem(s) being fixed and/or the feature(s) being added, and then link to the patch file(s).

Issue 3

The introduction does not make sense.

To understand what it actually says, apply the first sentence to each item in the list that follows, as if you were distributing a term in a system of algebraic equations.

  • Modify [the] P4 program with [the following] changes, to enable support for IPv6 traffic with VxLAN support.
  • Modify [the] P4 program with [the following] changes, to enable support for VxLAN traffic fails when remote overlay VMs MAC is learnt on OvS, before DUTs overlay VMs MAC address.

These are independent paragraphs, not bullets in a list.

Issue 4

The purpose of the second bullet is unclear. Are you describing a defect in the P4 program that the patch fixes, a defect in the P4 program that the patch does not fix, or a defect in the P4 program once the patch has been applied?

If the patch adds a feature and fixes a defect, it should clearly state this.

The second bullet also needs to be rewritten. It doesn't make sense. I'd suggest writing a clean description of the problem, as one or more complete sentences. Part of the problem appears to be the use of s instead of es or 's for the possessive. It might be clearer to use prepositions in one or more of these cases, to make the description less terse.

I'd also suggest saying something more concrete than "VxLAN traffic fails." Fails how? Drops packets? Misdirects them?

Copy link
Contributor

@ffoulkes ffoulkes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See long comment for issues that need to be addressed (I switched back to code view to check something and GitHub kindly changed the radio button to "Comment".)

Copy link
Contributor

@ffoulkes ffoulkes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have to omit the /docs prefix on internal links, or you'll get a broken link in the user guide.

docs/apps/lnw/es2k/es2k-lnw-overlay-vms.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@nupuruttarwar nupuruttarwar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@ffoulkes ffoulkes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better. Thank you!

LGTM

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Danger, Will Robinson!

Please do not create branches whose names begin with ipdk_v.

This prefix is reserved for release branches.
There are GitHub workflows that are triggered by branch names with this prefix!

@ffoulkes ffoulkes merged commit 644181e into ipdk_v24.01 Jan 17, 2024
9 checks passed
@ffoulkes ffoulkes deleted the ipdk_v24.01_document branch January 17, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants