[Bug Fix] NF Advanced Ring Thread Process NF Shutdown Messages#111
[Bug Fix] NF Advanced Ring Thread Process NF Shutdown Messages#111nks5295 merged 9 commits intosdnfv:developfrom
Conversation
CI MessageYour results will arrive shortly |
CI MessageRun successful see results: Linter Failedexamples/arp_response/arp_response.c:284: Lines should be <= 120 characters long [whitespace/line_length] [5] |
koolzz
left a comment
There was a problem hiding this comment.
Good work, added a few code comments. Once you update I'll review again
koolzz
left a comment
There was a problem hiding this comment.
@dennisafa overall good changes, it works and I approve, although please fix the 2 style changes I commented on (in both files) and I'll merge.
|
@onvm I need a pr with linter conflicts |
CI MessageYour results will arrive shortly |
CI MessageError: ERROR: Script failed on nimbnode30 |
|
@onvm should be good to go |
CI MessageYour results will arrive shortly |
|
@onvm jk, but now for sure |
CI MessageYour results will arrive shortly |
onvm
left a comment
There was a problem hiding this comment.
@onvm jk, but now for sure
CI Message
Run successful see results:
✔️ PR submitted to develop branch
✔️ Speed tester performance check passed
❌ Linter Failed (please fix style errors)
[Results from nimbnode30]
- Median TX pps for Speed Tester: 35205713
- Performance rating - 100.59% (compred to 35000000 average)
Linter Output
examples/scaling_example/scaling.c:303: An else should appear on the same line as the preceding } [whitespace/newline] [4]
examples/scaling_example/scaling.c:303: If an else has a brace on one side, it should have it on both [readability/braces] [5]
Total errors found: 2
examples/speed_tester/speed_tester.c:347: An else should appear on the same line as the preceding } [whitespace/newline] [4]
examples/speed_tester/speed_tester.c:347: If an else has a brace on one side, it should have it on both [readability/braces] [5]
Total errors found: 2
|
@onvm is the linter pleased |
CI MessageYour results will arrive shortly |
|
@onvm how's your weekend been? |
CI MessageAnother CI run in progress, please try again in 15 minutes |
onvm
left a comment
There was a problem hiding this comment.
@onvm is the linter pleased
CI Message
Run successful see results:
✔️ PR submitted to develop branch
✔️ Speed tester performance check passed
✔️ Linter passed
[Results from nimbnode30]
- Median TX pps for Speed Tester: 35250185
- Performance rating - 100.71% (compred to 35000000 average)
When running the advanced rings mode in speed tester and scaling, closing the manager would not kill the NF running. (referencing #105 )
Summary:
This adds a message handler in the advanced rings loop that listens for the MSG_STOP macro sent by the manager.
Usage:
Merging notes:
TODO before merging :
Test Plan:
Run the manager, then run speed tester (or scaling) with advanced ring mode:
./go.sh 1 -d 1 -aClose the manager, assure that the NF is stopping.
Review:
@koolzz @kevindweb I was thinking for sanity checks maybe try running several of the same NF and speed tester + scaling then closing manager.
Sanity checks, assigned to @koolzz @kevindweb
Code style, assigned to @koolzz @kevindweb
Code design, assigned to @koolzz @kevindweb
Documentation, assigned to @koolzz @kevindweb
(optional) Subscribers: << @-mention people who probably care about these changes >>