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

Function qg_from_ring

dpdk/drivers/baseband/acc/acc_common.h:823–830  ·  view source on GitHub ↗

Wrapper to provide QG index from ring data. */

Source from the content-addressed store, hash-verified

821
822/* Wrapper to provide QG index from ring data. */
823static inline uint16_t
824qg_from_ring(const union acc_info_ring_data ring_data, uint16_t device_variant)
825{
826 if (device_variant == VRB2_VARIANT)
827 return ring_data.qg_id_vrb2;
828 else
829 return ring_data.qg_id;
830}
831
832/* Wrapper to provide AQ index from ring data. */
833static inline uint16_t

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected