class TxQueue
Defined at line 24 of file ../../src/connectivity/network/drivers/network-device/device/tx_queue.h
Public Methods
zx::result<std::unique_ptr<TxQueue>> Create (DeviceInterface * parent)
Defined at line 97 of file ../../src/connectivity/network/drivers/network-device/device/tx_queue.cc
void ~TxQueue ()
Defined at line 27 of file ../../src/connectivity/network/drivers/network-device/device/tx_queue.cc
void JoinThread ()
Terminates and join the |TxQueue| worker thread.
Defined at line 33 of file ../../src/connectivity/network/drivers/network-device/device/tx_queue.cc
void AssertParentTxLocked (DeviceInterface & parent)
Helper functions with TA annotations that bridges the gap between parent's locks and local
locking requirements; TA is not otherwise able to tell that the |parent| and |parent_| are the
same entity.
Defined at line 38 of file ../../src/connectivity/network/drivers/network-device/device/tx_queue.h
void Resume ()
Notifies the worker thread that new tx buffers are available.
Defined at line 319 of file ../../src/connectivity/network/drivers/network-device/device/tx_queue.cc
void SetSession (Session * session)
Sets the session for this TxQueue. The session's tx fifo will be observed and
the session is notified when data is available to be fetched and sent to
the device through |Session::FetchTx|.
Defined at line 372 of file ../../src/connectivity/network/drivers/network-device/device/tx_queue.cc
bool HasSession ()
Defined at line 385 of file ../../src/connectivity/network/drivers/network-device/device/tx_queue.cc
void CompleteTxList (const fidl::VectorView<fuchsia_hardware_network_driver::wire::TxResult> & tx)
Marks all buffers in tx as complete, returning them to the session.
Defined at line 359 of file ../../src/connectivity/network/drivers/network-device/device/tx_queue.cc