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)
commit67ba422e95edfbd42f1d9782868880b364eea173
tree7c03b0a23550b154233202a7ed6b7903e1845eba
parent60ab4584f5bf4e496baec7b090a4b382d03b2100
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: 08fb1da ("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