-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CMIS] Add lane_mask parameter to set_loopback_mode() to enable setti… (
#490) * [CMIS] Add lane_mask parameter to set_loopback_mode() to enable setting loopback mode for individual lanes rather than the entire physical port Signed-off-by: xinyu <xinyu0123@gmail.com> * [CMIS] Add options to individually clear host/media, input/output loopback modes and log errors for all rejection cases Signed-off-by: xinyu <xinyu0123@gmail.com> * [CMIS] Reject the loopback mode request if simultaneous host and media loopback is not supported or per-lane loopback is not supported Signed-off-by: xinyu <xinyu0123@gmail.com> * [CMIS] Log errors for all set loopback mode rejection cases Signed-off-by: xinyu <xinyu0123@gmail.com> * [CMIS] Improve readability by using individual functions for setting host, media, input, and output loopback modes Signed-off-by: xinyu <xinyu0123@gmail.com> * [CMIS] Add an enable parameter to eliminate the need for loopback modes with the -none suffix Signed-off-by: xinyu <xinyu0123@gmail.com> --------- Signed-off-by: xinyu <xinyu0123@gmail.com>
- Loading branch information
Showing
2 changed files
with
358 additions
and
62 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
Oops, something went wrong.