|
@@ -307,7 +307,7 @@ static struct mlxsw_sp_rif *
|
|
|
mlxsw_sp_rif_find_by_dev(const struct mlxsw_sp *mlxsw_sp,
|
|
mlxsw_sp_rif_find_by_dev(const struct mlxsw_sp *mlxsw_sp,
|
|
|
const struct net_device *dev);
|
|
const struct net_device *dev);
|
|
|
|
|
|
|
|
-#define MLXSW_SP_PREFIX_COUNT (sizeof(struct in6_addr) * BITS_PER_BYTE)
|
|
|
|
|
|
|
+#define MLXSW_SP_PREFIX_COUNT (sizeof(struct in6_addr) * BITS_PER_BYTE + 1)
|
|
|
|
|
|
|
|
struct mlxsw_sp_prefix_usage {
|
|
struct mlxsw_sp_prefix_usage {
|
|
|
DECLARE_BITMAP(b, MLXSW_SP_PREFIX_COUNT);
|
|
DECLARE_BITMAP(b, MLXSW_SP_PREFIX_COUNT);
|