diff options
author | Danit Goldberg <[email protected]> | 2018-04-23 17:01:54 +0300 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2018-04-27 11:03:15 -0400 |
commit | 4f32ac2e452c2180cd2df581cbadac183e27ecd0 (patch) | |
tree | 4dec306ec4589c47afb2cbfa005c736692c42928 /net/switchdev/switchdev.c | |
parent | 002bf2282b2d7318e444dca9ffcb994afc5d5f15 (diff) |
IB/mlx5: Use unlimited rate when static rate is not supported
Before the change, if the user passed a static rate value different
than zero and the FW doesn't support static rate,
it would end up configuring rate of 2.5 GBps.
Fix this by using rate 0; unlimited, in cases where FW
doesn't support static rate configuration.
Cc: <[email protected]> # 3.10
Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters")
Reviewed-by: Majd Dibbiny <[email protected]>
Signed-off-by: Danit Goldberg <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions