numam-dpdk/lib/librte_sched
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
..
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte_approx.c remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte_approx.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte_bitmap.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte_red.c remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte_red.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte_sched_common.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte_sched.c mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00
rte_sched.h mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00