]> 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)
commit68c74a7e48403d5468e0f780eccedfa133e3fb9c
treed4c823ec08c0807c61dd63687394208b630f853b
parent1da61ecc597e5c55c859a1e67746110ba9b5cf69
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 04bb8b3c0d5b ("net: sched: use major priority number as hardware priority").

Fixes: 3823a0e63990 ("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