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

Function pktmbuf_sw_copy

dpdk/examples/dma/dmafwd.c:311–317  ·  view source on GitHub ↗

Copy packet data */

Source from the content-addressed store, hash-verified

309
310/* Copy packet data */
311static inline void
312pktmbuf_sw_copy(struct rte_mbuf *src, struct rte_mbuf *dst)
313{
314 rte_memcpy(rte_pktmbuf_mtod(dst, char *),
315 rte_pktmbuf_mtod(src, char *),
316 RTE_MAX(src->data_len, force_min_copy_size));
317}
318/* >8 End of perform packet copy there is a user-defined function. */
319
320static uint32_t

Callers 1

dma_rx_portFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected