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

Cleaned PNA_NIC PSA_SWITCH code #5078

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rupesh-chiluka-marvell
Copy link
Contributor

Adjusted few headers.
Removed the "_cs" in pna_nic, which are modified in the psa_switch code long back.
Removed comments.

@jafingerhut
Copy link
Contributor

It looks like the p4c-lint CI test found some code formatting issues that can be fixed using clang-format. Let us know if you need help looking at the log, or figuring out how to run clang-format on the necessary files.

@fruffy fruffy added the pna-bmv2 Topics related to the BMv2 PNA back end. label Dec 30, 2024
@@ -36,6 +33,9 @@ limitations under the License.
#include "lib/gc.h"
#include "lib/log.h"
#include "lib/nullstream.h"
#include "midend.h"
Copy link
Collaborator

Choose a reason for hiding this comment

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

The other code doesn't follow this style. Any reason why you want to remove the prefix?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry. I misunderstood.
In the .cpp file, only the include statement of its own .h file has no prefix.

Signed-off-by: Rupesh Chiluka <rchiluka@marvell.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pna-bmv2 Topics related to the BMv2 PNA back end.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants