numam-dpdk/examples/vhost_xen
Olivier Matz ea672a8b16 mbuf: remove the rte_pktmbuf structure
The rte_pktmbuf structure was initially included in the rte_mbuf
structure. This was needed when there was 2 types of mbuf (ctrl and
packet). As the control mbuf has been removed, we can merge the
rte_pktmbuf into the rte_mbuf structure.

Advantages of doing this:
  - the access to mbuf fields is easier (ex: m->data instead of m->pkt.data)
  - make the structure more consistent: for instance, there was no reason
    to have the ol_flags field in rte_mbuf
  - it will allow a deeper reorganization of the rte_mbuf structure in the
    next commits, allowing to gain several bytes in it

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
[Bruce: updated for latest code and new example apps]
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2014-09-17 11:27:51 +02:00
..
main.c mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00
main.h examples/vhost: restrict log type namespace 2014-06-16 23:16:06 +02:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
vhost_monitor.c eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
virtio-net.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
xen_vhost.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
xenstore_parse.c eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00