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

Function get_vsq_frame_num

dpdk/drivers/net/mana/tx.c:167–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167static inline uint16_t
168get_vsq_frame_num(uint32_t vsq)
169{
170 union {
171 uint32_t gdma_txq_id;
172 struct {
173 uint32_t reserved1 : 10;
174 uint32_t vsq_frame : 14;
175 uint32_t reserved2 : 8;
176 };
177 } v;
178
179 v.gdma_txq_id = vsq;
180 return v.vsq_frame;
181}
182
183uint16_t
184mana_tx_burst(void *dpdk_txq, struct rte_mbuf **tx_pkts, uint16_t nb_pkts)

Callers 1

mana_tx_burstFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected