-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reapi: update return code and info for match allocate
Problem: reapi_cli_t::match_allocate does not reutrn or track whether a match was successful or not. It also sets the job info with an unset value for overhead. Add in a new return code to track, rc2. Use a check on rc2 to determine if a match was succesfull and a job_info_t needs to be created. Return combination of rc1 and rc2 to pass failue back to calling function. Move code blocks that set overhead value ov above blocks where job info is created.
- Loading branch information
1 parent
07c36dd
commit aae6506
Showing
1 changed file
with
21 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters