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

Merge BfrtActionProfileManager into BfrtTableManager #774

Merged
merged 1 commit into from
Jul 14, 2021

Conversation

pudelkoM
Copy link
Member

@pudelkoM pudelkoM commented Jul 8, 2021

The separation of BfrtActionProfileManager and BfrtTableManager was largely a logical one, not because of state or complexity concerns.
P4Runtime one-shot action profile groups blur the lines between those two and would be hard to implement within the current structure. This change merges the two managers into one.

@pudelkoM pudelkoM marked this pull request as draft July 8, 2021 19:14
@codecov
Copy link

codecov bot commented Jul 8, 2021

Codecov Report

Merging #774 (01275ea) into main (6d87c94) will increase coverage by 0.13%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #774      +/-   ##
==========================================
+ Coverage   77.87%   78.01%   +0.13%     
==========================================
  Files         334      333       -1     
  Lines       30008    29953      -55     
==========================================
- Hits        23370    23369       -1     
+ Misses       6638     6584      -54     
Impacted Files Coverage Δ
stratum/hal/lib/barefoot/bfrt_node.cc 4.13% <0.00%> (-0.65%) ⬇️
stratum/hal/lib/barefoot/bfrt_table_manager.cc 24.36% <0.00%> (-5.01%) ⬇️
stratum/hal/lib/barefoot/bfrt_table_manager.h 100.00% <ø> (ø)

@pudelkoM pudelkoM force-pushed the bfrt-merge-action-profile-manager branch from b1d0347 to 2506a61 Compare July 8, 2021 19:28
@pudelkoM pudelkoM force-pushed the bfrt-merge-action-profile-manager branch from 2506a61 to a6c19f6 Compare July 8, 2021 19:42
@pudelkoM pudelkoM requested a review from Yi-Tseng July 8, 2021 19:50
@pudelkoM pudelkoM marked this pull request as ready for review July 8, 2021 19:50
@pudelkoM pudelkoM force-pushed the bfrt-merge-action-profile-manager branch from a6c19f6 to 01275ea Compare July 14, 2021 22:22
@pudelkoM pudelkoM merged commit c5b0411 into main Jul 14, 2021
@pudelkoM pudelkoM deleted the bfrt-merge-action-profile-manager branch July 14, 2021 23:15
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.

None yet

2 participants