commit | 4b7d4363f14a0398eca48c7e96e46120c5eb6a96 | [log] [tgz] |
---|---|---|
author | Tariq Toukan <tariqt@mellanox.com> | Tue Oct 10 16:54:30 2017 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Fri Jan 12 02:01:49 2018 +0200 |
tree | 9c55eb549f8728730ce2b9250ecb21be0ff2921c | |
parent | 97c8c3aa48ca8eb85d1806e08f882f90d78b1856 [diff] |
net/mlx5e: Check support before TC swap in ETS init Should not do the following swap between TCs 0 and 1 when max num of TCs is 1: tclass[prio=0]=1, tclass[prio=1]=0, tclass[prio=i]=i (for i>1) Fixes: 08fb1dacdd76 ("net/mlx5e: Support DCBNL IEEE ETS") Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>