From: Hangbin Liu <haliu(a)redhat.com>
team: mark team driver as deprecated
Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1945477
Upstream: RHEL only
We are planning to deprecate Teaming in RHEL 9 and remove it in RHEL 10.
Teaming and Bonding offer similar functionalities and are causing confusion
for our customers. In the past, Bonding was not keeping up-to-date and
hence Teaming was an option being pursued. Bonding now is keeping current
and also widely adopted by our customers. Hence, it makes sense to keep
Bonding as our preferred option going forward and avoid causing un-necessary
confusion.
Signed-off-by: Hangbin Liu <haliu(a)redhat.com>
diff a/drivers/net/team/team.c b/drivers/net/team/team.c
--- a/drivers/net/team/team.c
+++ b/drivers/net/team/team.c
@@ -3045,6 +3045,8 @@ static int __init team_module_init(void)
if (err)
goto err_nl_init;
+ mark_hardware_deprecated(DRV_NAME);
+
return 0;
err_nl_init:
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1063