]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Relax ndo_setup_tc handle restriction
authorAmir Vadai <amir@vadai.me>
Tue, 8 Mar 2016 10:42:34 +0000 (12:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Mar 2016 21:24:02 +0000 (16:24 -0500)
commitbe7084d02f86a5d1c90f5fc48c79c86e2ea5bf0a
tree7c03b0a23550b154233202a7ed6b7903e1845eba
parent05056c19e9e4a38d6cb03c010b683d8a239153a0
net/mlx5e: Relax ndo_setup_tc handle restriction

Restricting handle to TC_H_ROOT breaks the old instantiation of mqprio
to setup a hardware qdisc. This patch relaxes the test, to only check the
type.

Fixes: 47ef085 ("net/mlx5e: Support DCBNL IEEE ETS")
Signed-off-by: Amir Vadai <amir@vadai.me>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c