]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: team: Add new rx_enabled team port option
authorMarc Harvey <marcharvey@google.com>
Thu, 9 Apr 2026 02:59:30 +0000 (02:59 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 13 Apr 2026 13:09:49 +0000 (15:09 +0200)
commit0e47569a574d447fec072abf3b4330974a471b97
tree66472768e0916f7b221d0c84a9ae11a72028841f
parent68f0833f279ac209ec865da76568c843dd38c508
net: team: Add new rx_enabled team port option

Allow independent control over rx enablement via the rx_enabled option
without affecting tx enablement. This affects the normal enabled
option since a port is only considered enabled if both tx and rx are
enabled.

If this option is not used, then the enabled option will continue to
behave exactly as it did before.

Tested in a follow-up patch with a new selftest.

Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Marc Harvey <marcharvey@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260409-teaming-driver-internal-v7-8-f47e7589685d@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/team/team_core.c