]> git.baikalelectronics.ru Git - kernel.git/commit
sch_htb: Add extack messages for EOPNOTSUPP errors
authorMaxim Mikityanskiy <maximmi@nvidia.com>
Thu, 28 Oct 2021 12:24:36 +0000 (15:24 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Oct 2021 13:34:03 +0000 (14:34 +0100)
commit2f6a58957ec5a768e27d92decdfbb34c552a2e67
treeccea7979e000b6794cc018c68cacc5f6c57d26c8
parenta2972e84e689f27bf00aea4cc062f0143fe9bfac
sch_htb: Add extack messages for EOPNOTSUPP errors

In order to make the "Operation not supported" message clearer to the
user, add extack messages explaining why exactly adding offloaded HTB
could be not supported in each case.

Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c