MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_sched_port_pie_dequeue

Function rte_sched_port_pie_dequeue

dpdk/lib/sched/rte_sched.c:1903–1916  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1901}
1902
1903static inline void
1904rte_sched_port_pie_dequeue(struct rte_sched_subport *subport,
1905uint32_t qindex, uint32_t pkt_len, uint64_t time) {
1906 if (subport->cman_enabled && subport->cman == RTE_SCHED_CMAN_PIE) {
1907 struct rte_sched_queue_extra *qe = subport->queue_extra + qindex;
1908 struct rte_pie *pie = &qe->pie;
1909
1910 /* Update queue length */
1911 pie->qlen -= 1;
1912 pie->qlen_bytes -= pkt_len;
1913
1914 rte_pie_dequeue(pie, pkt_len, time);
1915 }
1916}
1917
1918#ifdef RTE_SCHED_DEBUG
1919

Callers 1

grinder_scheduleFunction · 0.85

Calls 1

rte_pie_dequeueFunction · 0.85

Tested by

no test coverage detected