summaryrefslogtreecommitdiff
path: root/drivers/net/team/team.c
diff options
context:
space:
mode:
authorJohn Hurley <john.hurley@netronome.com>2018-05-24 05:22:52 +0300
committerDavid S. Miller <davem@davemloft.net>2018-05-25 06:10:57 +0300
commitf44aa9ef7950a56daa3a5b41f069761f945f1a1f (patch)
tree10a5936f5ea1c7c060111a9f731762d8431abd73 /drivers/net/team/team.c
parentb945245297416a3c68ed12f2ada1c7162f5f73fd (diff)
downloadlinux-f44aa9ef7950a56daa3a5b41f069761f945f1a1f.tar.xz
net: include hash policy in LAG changeupper info
LAG upper event notifiers contain the tx type used by the LAG device. Extend this to also include the hash policy used for tx types that utilize hashing. Signed-off-by: John Hurley <john.hurley@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/team/team.c')
-rw-r--r--drivers/net/team/team.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c
index d6ff881165d0..e6730a01d130 100644
--- a/drivers/net/team/team.c
+++ b/drivers/net/team/team.c
@@ -1129,6 +1129,7 @@ static int team_upper_dev_link(struct team *team, struct team_port *port,
int err;
lag_upper_info.tx_type = team->mode->lag_tx_type;
+ lag_upper_info.hash_type = NETDEV_LAG_HASH_UNKNOWN;
err = netdev_master_upper_dev_link(port->dev, team->dev, NULL,
&lag_upper_info, extack);
if (err)