Skip to content

Commit e575d3a

Browse files
Cosmin Ratiukuba-moo
authored andcommitted
net/mlx5: Correct TASR typo into TSAR
TSAR is the correct spelling (Transmit Scheduling ARbiter). Signed-off-by: Cosmin Ratiu <[email protected]> Reviewed-by: Gal Pressman <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 9e42a2e commit e575d3a

File tree

2 files changed

+2
-2
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core/esw
  • include/linux/mlx5

2 files changed

+2
-2
lines changed

drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ static bool esw_qos_element_type_supported(struct mlx5_core_dev *dev, int type)
531531
switch (type) {
532532
case SCHEDULING_CONTEXT_ELEMENT_TYPE_TSAR:
533533
return MLX5_CAP_QOS(dev, esw_element_type) &
534-
ELEMENT_TYPE_CAP_MASK_TASR;
534+
ELEMENT_TYPE_CAP_MASK_TSAR;
535535
case SCHEDULING_CONTEXT_ELEMENT_TYPE_VPORT:
536536
return MLX5_CAP_QOS(dev, esw_element_type) &
537537
ELEMENT_TYPE_CAP_MASK_VPORT;

include/linux/mlx5/mlx5_ifc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3914,7 +3914,7 @@ enum {
39143914
};
39153915

39163916
enum {
3917-
ELEMENT_TYPE_CAP_MASK_TASR = 1 << 0,
3917+
ELEMENT_TYPE_CAP_MASK_TSAR = 1 << 0,
39183918
ELEMENT_TYPE_CAP_MASK_VPORT = 1 << 1,
39193919
ELEMENT_TYPE_CAP_MASK_VPORT_TC = 1 << 2,
39203920
ELEMENT_TYPE_CAP_MASK_PARA_VPORT_TC = 1 << 3,

0 commit comments

Comments
 (0)