]> 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)
commitf7d4f101380fdf5da607d9a76b07c63573aea404
tree7c03b0a23550b154233202a7ed6b7903e1845eba
parent5ebecc32ea83e26b038f84c0b48904947732cc8a
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: 6bdf416 ("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