[patch net-next] team: fall back to hash if table entry is empty

2017-09-19 Thread Jim Hanko
If the hash to port mapping table does not have a valid port (i.e. when a port goes down), fall back to the simple hashing mechanism to avoid dropping packets. Signed-off-by: Jim Hanko <ha...@drivescale.com> Acked-by: Jiri Pirko <j...@mellanox.com> --- drivers/net/team/team_mode_l

[patch net-next] team: fall back to hash if table entry is empty

2017-09-07 Thread Jim Hanko
If the hash to port mapping table does not have a valid port (i.e. when a port goes down), fall back to the simple hashing mechanism to avoid dropping packets. Signed-off-by: Jim Hanko <ha...@drivescale.com> --- drivers/net/team/team_mode_loadbalance.c | 8 +++- 1 file changed, 7 inse