summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
diff options
context:
space:
mode:
authorNogah Frankel2018-02-28 10:45:06 +0100
committerDavid S. Miller2018-02-28 18:06:01 +0100
commitb9c7a7acc749f3d0667a2ab44ea38110d5a1f286 (patch)
tree7fb0bf4b0fd4bdf02b88c29f69bb68388565ef66 /drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
parentmlxsw: spectrum: qdiscs: prio: Delete child qdiscs when removing bands (diff)
downloadkernel-qcow2-linux-b9c7a7acc749f3d0667a2ab44ea38110d5a1f286.tar.gz
kernel-qcow2-linux-b9c7a7acc749f3d0667a2ab44ea38110d5a1f286.tar.xz
kernel-qcow2-linux-b9c7a7acc749f3d0667a2ab44ea38110d5a1f286.zip
net: sch: prio: Add offload ability for grafting a child
Offload sch_prio graft command for capable drivers. Warn in case of a failure, unless the graft was done as part of a destroy operation (the new qdisc is a noop) or if all the qdiscs (the parent, the old child, and the new one) are not 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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c')
0 files changed, 0 insertions, 0 deletions