src/dpdk/drivers/net/ark/ark_ethdev_rx.c
static void
dump_mbuf_data(struct rte_mbuf *mbuf, uint16_t lo, uint16_t hi)
{
	uint16_t i, j;

	ARK_PMD_LOG(DEBUG, " MBUF: %p len %d, off: %d\n",
		    mbuf, mbuf->pkt_len, mbuf->data_off);
	for (i = lo; i < hi; i += 16) {
		uint8_t *dp = RTE_PTR_ADD(mbuf->buf_addr, i);

		ARK_PMD_LOG(DEBUG, "  %6d:  ", i);
		for (j = 0; j < 16; j++)
			ARK_PMD_LOG(DEBUG, " %02x", dp[j]);

		ARK_PMD_LOG(DEBUG, "\n");
	}
}
/* Only used in debug.
 * This function is a raw memory dump of a portion of an mbuf's memory
 * region.  The usual function, rte_pktmbuf_dump() only shows data
 * with respect to the data_off field.  This function show data
 * anywhere in the mbuf's buffer.  This is useful for examining
 * data in the headroom or tailroom portion of an mbuf.
 */
Only used in debug.
This function is a raw memory dump of a portion of an mbuf's memory
region.  The usual function, rte_pktmbuf_dump() only shows data
with respect to the data_off field.  This function show data
anywhere in the mbuf's buffer.  This is useful for examining
data in the headroom or tailroom portion of an mbuf.
Only used in debug . This function is a raw memory dump of a portion of an mbuf ' s memory region . The usual function rte_pktmbuf_dump () only shows data with respect to the data_off field . This function show data anywhere in the mbuf ' s buffer . This is useful for examining data in the headroom or tailroom portion of an mbuf .
static void
dump_mbuf_data(struct rte_mbuf *mbuf, uint16_t lo, uint16_t hi)
{
	uint16_t i, j;
	ARK_PMD_LOG(DEBUG, " MBUF: %p len %d, off: %d\n",
		    mbuf, mbuf->pkt_len, mbuf->data_off);
	for (i = lo; i < hi; i += 16) {
		uint8_t *dp = RTE_PTR_ADD(mbuf->buf_addr, i);
		ARK_PMD_LOG(DEBUG, "  %6d:  ", i);
		for (j = 0; j < 16; j++)
			ARK_PMD_LOG(DEBUG, " %02x", dp[j]);
		ARK_PMD_LOG(DEBUG, "\n");
	}
}
static void dump_mbuf_data ( struct rte_mbuf * mbuf , uint16_t lo , uint16_t hi ) { uint16_t i , j ; ARK_PMD_LOG ( DEBUG , " \n " , mbuf , mbuf -> pkt_len , mbuf -> data_off ) ; for ( i = lo ; i < hi ; i += 16 ) { uint8_t * dp = RTE_PTR_ADD ( mbuf -> buf_addr , i ) ; ARK_PMD_LOG ( DEBUG , " " , i ) ; for ( j = 0 ; j < 16 ; j ++ ) ARK_PMD_LOG ( DEBUG , " " , dp [ j ] ) ; ARK_PMD_LOG ( DEBUG , " \n " ) ; } }
Only used in debug.
Only used in debug .