OpenCloudOS-Kernel/drivers/net/ethernet/mellanox
Ido Schimmel de5ed99e97 mlxsw: spectrum_router: Align RIF index allocation with existing code
The way we usually allocate an index is by letting the allocation
function return an error instead of an invalid index.

Do the same for RIF index.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-04 23:49:49 -04:00
..
mlx4 net: ethernet: update drivers to handle HWTSTAMP_FILTER_NTP_ALL 2017-05-21 13:37:32 -04:00
mlx5/core net/mlx5e: Offload TC matching on ip tos / traffic-class 2017-06-04 18:12:24 -04:00
mlxfw net/mlxfw: select CONFIG_XZ_DEC 2017-05-31 12:53:12 -04:00
mlxsw mlxsw: spectrum_router: Align RIF index allocation with existing code 2017-06-04 23:49:49 -04:00
Kconfig Add the mlxfw module for Mellanox firmware flash process 2017-05-25 17:46:17 -04:00
Makefile Add the mlxfw module for Mellanox firmware flash process 2017-05-25 17:46:17 -04:00