forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
team: add macro MODULE_ALIAS_TEAM_MODE for team mode alias
Add a new macro MODULE_ALIAS_TEAM_MODE to unify and simplify the declaration of team mode alias. Signed-off-by: Zhang Shengju <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information
Showing
6 changed files
with
7 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,4 +146,4 @@ module_exit(ab_cleanup_module); | |
MODULE_LICENSE("GPL v2"); | ||
MODULE_AUTHOR("Jiri Pirko <[email protected]>"); | ||
MODULE_DESCRIPTION("Active-backup mode for team"); | ||
MODULE_ALIAS("team-mode-activebackup"); | ||
MODULE_ALIAS_TEAM_MODE("activebackup"); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,4 +75,4 @@ module_exit(bc_cleanup_module); | |
MODULE_LICENSE("GPL v2"); | ||
MODULE_AUTHOR("Jiri Pirko <[email protected]>"); | ||
MODULE_DESCRIPTION("Broadcast mode for team"); | ||
MODULE_ALIAS("team-mode-broadcast"); | ||
MODULE_ALIAS_TEAM_MODE("broadcast"); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -695,4 +695,4 @@ module_exit(lb_cleanup_module); | |
MODULE_LICENSE("GPL v2"); | ||
MODULE_AUTHOR("Jiri Pirko <[email protected]>"); | ||
MODULE_DESCRIPTION("Load-balancing mode for team"); | ||
MODULE_ALIAS("team-mode-loadbalance"); | ||
MODULE_ALIAS_TEAM_MODE("loadbalance"); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,4 +65,4 @@ module_exit(rnd_cleanup_module); | |
MODULE_LICENSE("GPL v2"); | ||
MODULE_AUTHOR("Jiri Pirko <[email protected]>"); | ||
MODULE_DESCRIPTION("Random mode for team"); | ||
MODULE_ALIAS("team-mode-random"); | ||
MODULE_ALIAS_TEAM_MODE("random"); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,4 +77,4 @@ module_exit(rr_cleanup_module); | |
MODULE_LICENSE("GPL v2"); | ||
MODULE_AUTHOR("Jiri Pirko <[email protected]>"); | ||
MODULE_DESCRIPTION("Round-robin mode for team"); | ||
MODULE_ALIAS("team-mode-roundrobin"); | ||
MODULE_ALIAS_TEAM_MODE("roundrobin"); |
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