Lines Matching defs:taildrop
1656 * dpni_set_taildrop() - Set taildrop per queue or TC
1661 * @qtype: Queue type on which the taildrop is configured.
1663 * @tc: Traffic class to apply this taildrop to
1666 * @taildrop: Taildrop structure
1677 struct dpni_taildrop *taildrop)
1691 dpni_set_field(cmd_params->enable, ENABLE, taildrop->enable);
1692 cmd_params->units = taildrop->units;
1693 cmd_params->threshold = cpu_to_le32(taildrop->threshold);
1700 * dpni_get_taildrop() - Get taildrop information
1705 * @qtype: Queue type on which the taildrop is configured.
1707 * @tc: Traffic class to apply this taildrop to
1710 * @taildrop: Taildrop structure
1721 struct dpni_taildrop *taildrop)
1745 taildrop->enable = dpni_get_field(rsp_params->enable, ENABLE);
1746 taildrop->units = rsp_params->units;
1747 taildrop->threshold = le32_to_cpu(rsp_params->threshold);