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

"bf_" name change in krnlmon #83

Merged
merged 5 commits into from
Feb 12, 2024
Merged

"bf_" name change in krnlmon #83

merged 5 commits into from
Feb 12, 2024

Conversation

aashishkuma
Copy link
Collaborator

This underlying P4SDE for ES2K target is renaming bf_swtichd to ipu_p4d.
The P4SDE changes are:
https://github.com/intel-innersource/networking.ethernet.acceleration.vswitch.p4-sde.p4-driver/tree/rename-bf

This PR contains the changes required in the krnlmon module to build ES2K target with the underlying P4SDE change.
Since, some of the files that are impacted with the P4SDE change are common to the compilation of both dpdk and es2k targets, hence I have introduced target specific macro check to avoid it's compilation for the other target.

Note:
The related changes are expected in stratum modules, krnlmon module and the main networking recipe repo.

@aashishkuma aashishkuma changed the title Initial commit bf name change krnlmon "bf_" name change in krnlmon Feb 6, 2024
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.

There's a right way and a wrong way to make changes in the public interface between components.

This is categorically the wrong way. It is irresponsible, unprofessional, and disruptive, and it seriously compromises the quality and maintainability of the software.

We need to push back on this for the good of the project.

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.

Objections withdrawn. I have been instructed to approve this PR.

Signed-off-by: Kumar, Aashish <[email protected]>
Signed-off-by: Kumar, Aashish <[email protected]>
switchapi/es2k/switch_pd_fdb.c Outdated Show resolved Hide resolved
switchapi/es2k/switch_pd_routing.c Outdated Show resolved Hide resolved
switchapi/es2k/switch_pd_utils.c Outdated Show resolved Hide resolved
Copy link
Collaborator

@satish153 satish153 left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Kumar, Aashish <[email protected]>
Copy link
Contributor

@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

@aashishkuma aashishkuma merged commit 889c17e into main Feb 12, 2024
4 checks passed
Signed-off-by: Kumar, Aashish <[email protected]>
@ffoulkes ffoulkes deleted the renameBfInKrnlmon branch March 5, 2024 01:40
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.

5 participants