diff options
| author | Elad Raz <eladr@mellanox.com> | 2016-10-20 16:05:44 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:21 +0200 |
| commit | 1dbccb090c4d790585b63edff6151b3cb16e0e0c (patch) | |
| tree | d8b95ac777b540823008c87a4afb9b1a67368f04 /kernel/sysctl_binary.c | |
| parent | a5cc5dda39b4fb77198e47699121e61a7f0f663e (diff) | |
mlxsw: switchx2: Fix ethernet port initialization
commit 7fb6a36bab6b0b158f93eb13faa1b440f8b26009 upstream.
When creating an ethernet port fails, we must move the port to disable,
otherwise putting the port in switch partition 0 (ETH) or 1 (IB) will
always fails.
Fixes: 31557f0f9755 ("mlxsw: Introduce Mellanox SwitchX-2 ASIC support")
Signed-off-by: Elad Raz <eladr@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
