numam-dpdk/lib/librte_pmd_ixgbe
Olivier Matz 08b563ffb1 mbuf: replace data pointer by an offset
The mbuf structure already contains a pointer to the beginning of the
buffer (m->buf_addr). It is not needed to use 8 bytes again to store
another pointer to the beginning of the data.

Using a 16 bits unsigned integer is enough as we know that a mbuf is
never longer than 64KB. We gain 6 bytes in the structure thanks to
this modification.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>

* Updated to apply to latest on mainline.
* Disabled vector PMD in config as it relies heavily on the mbuf layout
  This will be re-enabled in a subsequent commit once vPMD has been
  reworked to take account of mbuf changes.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2014-09-17 18:53:40 +02:00
..
ixgbe ixgbe/base: fix build with debug 2014-07-02 22:33:22 +02:00
ixgbe_82599_bypass.c ixgbe: rework fix of media type for bypass device 2014-06-26 07:16:53 +02:00
ixgbe_bypass_api.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
ixgbe_bypass_defines.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
ixgbe_bypass.c remove trailing whitespaces 2014-06-11 00:29:34 +02:00
ixgbe_bypass.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
ixgbe_ethdev.c ethdev: add link state interrupt flag 2014-06-27 02:21:50 +02:00
ixgbe_ethdev.h ixgbe: add filters 2014-06-16 19:55:14 +02:00
ixgbe_fdir.c ixgbe/base: flow director changes 2014-06-18 23:31:59 +02:00
ixgbe_logs.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
ixgbe_pf.c remove trailing whitespaces 2014-06-11 00:29:34 +02:00
ixgbe_rxtx_vec.c mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00
ixgbe_rxtx.c mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
ixgbe_rxtx.h mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
Makefile ixgbe/base: disable some clang warnings 2014-07-19 01:54:07 +02:00