]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: team: Track rx enablement separately from tx enablement
authorMarc Harvey <marcharvey@google.com>
Thu, 9 Apr 2026 02:59:29 +0000 (02:59 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 13 Apr 2026 13:09:49 +0000 (15:09 +0200)
commit68f0833f279ac209ec865da76568c843dd38c508
tree146875fb578b1bdde8ad355b63e72700b7f6a7b0
parentfa6ed31dd913b0f68c75ec80c3f4a324572071fc
net: team: Track rx enablement separately from tx enablement

Separate the rx and tx enablement/disablement into different
functions so that it is easier to interact with them independently
later.

Although this patch changes receive and transmit paths, the actual
behavior of the teaming driver should remain unchanged, since there
is no option introduced yet to change rx or tx enablement
independently. Those options will be added in follow-up patches.

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-7-f47e7589685d@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/team/team_core.c
drivers/net/team/team_mode_loadbalance.c
include/linux/if_team.h