MCPcopy Create free account
hub / github.com/codilime/rust-dpdk / flush

Method flush

bindings/dpdk/src/tx_buffer.rs:52–72  ·  view source on GitHub ↗

Send any packets queued up for transmission on a tx queue This causes an explicit flush of packets previously buffered via the tx() method. It returns the number of packets successfully sent to the NIC, and, if there are some unsent packets, returns an iterator to these packets.

(
        &mut self,
        txq: &mut TxQ<'pool>,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

txMethod · 0.80
forward_loopFunction · 0.80

Calls 3

lenMethod · 0.80
is_emptyMethod · 0.80
txMethod · 0.45

Tested by

no test coverage detected