mlxsw: spectrum_router: Clarify a comment
authorPetr Machata <petrm@nvidia.com>
Fri, 2 Jun 2023 16:20:05 +0000 (18:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Jun 2023 10:29:48 +0000 (11:29 +0100)
"Reserved for X" usually means that only X is supposed to use a given
object. Here, it is used in the sense that X should consider the object
"reserved", as in "restricted".

Replace the comment simply by "X", with the implication that that's where
the field is used.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c

index 4a73e2fe95ef90422ea4bf7efaf7fd05942bd1ac..c905c8f153b4f5c7dea006c41277f6bb4a859a32 100644 (file)
@@ -96,8 +96,8 @@ struct mlxsw_sp_rif_subport {
 struct mlxsw_sp_rif_ipip_lb {
        struct mlxsw_sp_rif common;
        struct mlxsw_sp_rif_ipip_lb_config lb_config;
-       u16 ul_vr_id; /* Reserved for Spectrum-2. */
-       u16 ul_rif_id; /* Reserved for Spectrum. */
+       u16 ul_vr_id;   /* Spectrum-1. */
+       u16 ul_rif_id;  /* Spectrum-2+. */
 };
 
 struct mlxsw_sp_rif_params_ipip_lb {