Lines Matching defs:taildrop
1557 * dpni_set_taildrop() - Set taildrop per queue or TC
1562 * @qtype: Queue type on which the taildrop is configured.
1564 * @tc: Traffic class to apply this taildrop to
1567 * @taildrop: Taildrop structure
1578 struct dpni_taildrop *taildrop)
1592 dpni_set_field(cmd_params->enable, ENABLE, taildrop->enable);
1593 cmd_params->units = taildrop->units;
1594 cmd_params->threshold = cpu_to_le32(taildrop->threshold);
1601 * dpni_get_taildrop() - Get taildrop information
1606 * @qtype: Queue type on which the taildrop is configured.
1608 * @tc: Traffic class to apply this taildrop to
1611 * @taildrop: Taildrop structure
1622 struct dpni_taildrop *taildrop)
1646 taildrop->enable = dpni_get_field(rsp_params->enable, ENABLE);
1647 taildrop->units = rsp_params->units;
1648 taildrop->threshold = le32_to_cpu(rsp_params->threshold);