]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix ingress rate configuration for representors
authorEli Cohen <eli@mellanox.com>
Thu, 7 Nov 2019 07:07:34 +0000 (09:07 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 20 Nov 2019 20:33:04 +0000 (12:33 -0800)
commit0ad011a61f4a2521373da2fb9c69c43a2b6e3b2a
treed4c823ec08c0807c61dd63687394208b630f853b
parent4dfcc5c32f86c180c584b0369e27e3e11eb81b65
net/mlx5e: Fix ingress rate configuration for representors

Current code uses the old method of prio encoding in
flow_cls_common_offload. Fix to follow the changes introduced in
commit 5d9eb68b9180 ("net: sched: use major priority number as hardware priority").

Fixes: 3686582e3078 ("net/mlx5: E-Switch, add ingress rate support")
Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c