summaryrefslogtreecommitdiff
path: root/crypto/cast6_generic.c
diff options
context:
space:
mode:
authorMoni Shoua <monis@mellanox.com>2017-05-09 12:20:55 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2017-06-16 00:12:41 +0300
commit552db7bca568a8efbd0883f0597fbc42333cf094 (patch)
tree7a0ecc483e62b333276b79abcde8010b6dbe6ec3 /crypto/cast6_generic.c
parent2fe30e23cddaf16fa3ffd188341cdf35d75f0f1b (diff)
net/mlx5: Undo LAG upon request to create virtual functions
LAG cannot work if virtual functions are present. Therefore, if LAG is configured, the attempt to create virtual functions will fail. This gives precedence to LAG over SRIOV which is not the desired behavior as users might want to use the bonding/teaming driver also want to work with SRIOV. In that case we don't want to force an order of actions, first create virtual functions and only than configure a bonding/teaming net device. To fix, if LAG is configured during a request to create virtual functions, remove it and continue. We ignore ENODEV when trying to forbid lag. This makes sense because "No such device" means that lag is forbidden anyway. Signed-off-by: Moni Shoua <monis@mellanox.com> Reviewed-by: Aviv Heller <avivh@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'crypto/cast6_generic.c')
0 files changed, 0 insertions, 0 deletions