Skip to content

Commit be35db1

Browse files
pmachatadavem330
authored andcommitted
mlxsw: spectrum_router: Clarify a comment
"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>
1 parent 3db0577 commit be35db1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ struct mlxsw_sp_rif_subport {
9696
struct mlxsw_sp_rif_ipip_lb {
9797
struct mlxsw_sp_rif common;
9898
struct mlxsw_sp_rif_ipip_lb_config lb_config;
99-
u16 ul_vr_id; /* Reserved for Spectrum-2. */
100-
u16 ul_rif_id; /* Reserved for Spectrum. */
99+
u16 ul_vr_id; /* Spectrum-1. */
100+
u16 ul_rif_id; /* Spectrum-2+. */
101101
};
102102

103103
struct mlxsw_sp_rif_params_ipip_lb {

0 commit comments

Comments
 (0)