You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
selftests: net: mptcp: add checks for fallback counters
Recently, some mib counters about fallback has been added, this patch
provides a method to check the expected behavior of these mib counters
during the test execution.
Link: multipath-tcp/mptcp_net-next#571
Signed-off-by: Gang Yan <[email protected]>
------
Changelog:
v3:
- Squash into a single patch.
- Using 'fb_' as a prefix instead of the suffix for variables.
- Adjust the order of mib counters to check, ensuring it matches the
variable declaration.
- The namespace('ns1'/'ns2') is included in the output of
'chk_fallback_nr', like:
"ns2 infinite map tx fallback [IGNO] (flaky) got 1 infinite map tx fallback[s] in ns2 expected 0"
- Add a new helper named 'chk_fallback_nr_all', which prints only
when an error occurs.
- Fix some code style issues.
v2:
- add a helper which can check all the fallback mib counters.
- put the 'chk_fallback_nr' in 'chk_join_nr' like chk_join_tx_nr.
Notes:
Hi Matt,
I wanted to apologize for splitting the changes into multiple commits,
my intention was to ease the review process, but it unfortunately
backfired.
Thanks for your valuable suggestions, I've made some improvements based
on your feedback.
Please take another look at the updated changes.
Best regards,
Gang
0 commit comments