aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2017-11-21 09:42:21 +0100
committerDavid S. Miller <davem@davemloft.net>2017-11-21 20:15:22 +0900
commitbf4e9f24a8d9e63c9cbd9cbeb84fc8a9a46ff1a3 (patch)
tree52d00b9e98b3090f34eaf0022feac4fd98c36f4a /drivers/net/usb
parentnet: vxge: Fix some indentation issues (diff)
downloadlinux-dev-bf4e9f24a8d9e63c9cbd9cbeb84fc8a9a46ff1a3.tar.xz
linux-dev-bf4e9f24a8d9e63c9cbd9cbeb84fc8a9a46ff1a3.zip
mlxsw: spectrum: Do not try to create non-existing ports during unsplit
On some systems, when we unsplit a port we need to re-create two ports instead. On other systems, only one needs to be re-created. Do not try to create a port if during driver initialization it was assigned a negative module number, which is invalid. This avoids the following error during unsplit: [ 941.012478] mlxsw_spectrum 0000:01:00.0: Port 43: Failed to map module The error is harmless and caused by the fact that a local port is already mapped to module 0. Fixes: be94535f9531 ("mlxsw: spectrum: Make split flow match firmware requirements") Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Arkadi Sharshevsky <arkadis@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb')
0 files changed, 0 insertions, 0 deletions