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

Function drain_4_bytes

dpdk/drivers/event/dpaa/dpaa_eventdev.c:121–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121static void drain_4_bytes(int fd, fd_set *fdset)
122{
123 if (FD_ISSET(fd, fdset)) {
124 /* drain 4 bytes */
125 uint32_t junk;
126 ssize_t sjunk = read(qman_thread_fd(), &junk, sizeof(junk));
127 if (sjunk != sizeof(junk))
128 DPAA_EVENTDEV_ERR("UIO irq read error");
129 }
130}
131
132static inline int
133dpaa_event_dequeue_wait(uint64_t timeout_ticks)

Callers 1

dpaa_event_dequeue_waitFunction · 0.85

Calls 2

qman_thread_fdFunction · 0.85
readFunction · 0.50

Tested by

no test coverage detected