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)
commit648a991cf31644a06e32dc7640319f0bc15e93ae
treeccea7979e000b6794cc018c68cacc5f6c57d26c8
parent3a26babb418362de060811fc7b077088ba650f7f
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