]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: qdiscs: prio: Handle graft command
authorNogah Frankel <nogahf@mellanox.com>
Wed, 28 Feb 2018 09:45:07 +0000 (10:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Feb 2018 17:06:01 +0000 (12:06 -0500)
commita8c4f3caf046707375ce8228297b507006c4ee6e
treef12f2fe03c1839f8020ce53e666014f45f2dbf30
parent6d950833d5551126040a9ebe127fab7e3ad88f20
mlxsw: spectrum: qdiscs: prio: Handle graft command

Handle graft command for an offloaded sch_prio.
Grafting a qdisc to any place other than under its original parent is not
supported by mlxsw and will cause the grafted qdisc to stop being
offloaded.

Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Reviewed-by: Yuval Mintz <yuvalm@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c