[dpdk-dev] [PATCH v7 04/10] mbuf: add new marcos to get the physical address of data

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Nov 25 01:25:18 CET 2015


2015-11-13 18:58, Declan Doherty:
> +/**
> + * A macro that returns the physical address that points to the start of the
> + * data in the mbuf
> + *
> + * @param m
> + *   The packet mbuf.
> + * @param o
> + *   The offset into the data to calculate address from.
> + */
> +#define rte_pktmbuf_mtophys(m) rte_pktmbuf_mtophys_offset(m, 0)

The parameter o does not exist.
Wrong copy paste, I guess.


More information about the dev mailing list