]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Simplify port split flow
authorIdo Schimmel <idosch@mellanox.com>
Thu, 8 Jun 2017 06:47:44 +0000 (08:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Jun 2017 18:33:41 +0000 (14:33 -0400)
commit2f342b9393b8a5911f70d6de0e658340ad5859be
treedacfcdb96b595fe91fa094296be2149badf3ecaf
parentd497b0ead0b32ea6e1763735868952f207cdb7ea
mlxsw: spectrum: Simplify port split flow

In commit b12b25aa18ad ("mlxsw: spectrum: Make split flow match firmware
requirements") we had to modify the port split flow to overcome quirks
in the device's firmware. This resulted in asymmetrical code with
regards to port creation and removal.

The problem in the firmware is long gone and since we can now enforce a
minimal firmware version, we can simplify the code and make it symmetric
again.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c