numam-dpdk/lib
Olivier Matz 355e6735b3 mbuf: fix cloning with private mbuf data
Add a new priv_size field in mbuf structure that should
be initialized at mbuf pool creation. This field contains the
size of the application private data in mbufs.

Introduce new static inline functions rte_mbuf_from_indirect()
and rte_mbuf_to_baddr() to replace the existing macros, which
take the private size in account when attaching and detaching
mbufs.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: Zoltan Kiss <zoltan.kiss@linaro.org>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2015-04-28 11:34:10 +02:00
..
librte_acl eal/x86: move header file for vector instructions 2015-03-20 19:24:38 +01:00
librte_cfgfile mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_cmdline cmdline: fix parameter type 2015-03-04 11:19:37 +01:00
librte_compat mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_distributor tailq: move to dynamic tailq 2015-03-10 12:06:08 +01:00
librte_eal ixgbe/base: new X550 device ids 2015-04-27 10:08:41 +02:00
librte_ether mbuf: add accessors for data room and private size 2015-04-28 11:07:59 +02:00
librte_hash hash: fix strict-aliasing for CRC 2015-03-26 22:27:51 +01:00
librte_ip_frag tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
librte_ivshmem mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_jobstats jobstats: new library 2015-02-24 22:12:35 +01:00
librte_kni kni: optimize Rx burst 2015-02-24 02:26:24 +01:00
librte_kvargs kvargs: fix freeing behaviour for null 2015-03-04 11:19:37 +01:00
librte_lpm eal/x86: move header file for vector instructions 2015-03-20 19:24:38 +01:00
librte_malloc eal: fix type casting of value to align 2015-03-17 00:46:01 +01:00
librte_mbuf mbuf: fix cloning with private mbuf data 2015-04-28 11:34:10 +02:00
librte_mempool tailq: move to dynamic tailq 2015-03-10 12:06:08 +01:00
librte_meter mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_net net: remove unneeded include 2015-04-23 15:11:12 +02:00
librte_pipeline pipeline: fix port meta for non-default entries 2015-02-24 02:01:13 +01:00
librte_pmd_af_packet mbuf: add accessors for data room and private size 2015-04-28 11:07:59 +02:00
librte_pmd_bond apps: use helper to create mbuf pools 2015-04-28 11:34:10 +02:00
librte_pmd_e1000 mbuf: add accessors for data room and private size 2015-04-28 11:07:59 +02:00
librte_pmd_enic pci: make device id tables const 2015-04-20 19:58:54 +02:00
librte_pmd_fm10k mbuf: add accessors for data room and private size 2015-04-28 11:07:59 +02:00
librte_pmd_i40e mbuf: add accessors for data room and private size 2015-04-28 11:07:59 +02:00
librte_pmd_ixgbe mbuf: add accessors for data room and private size 2015-04-28 11:07:59 +02:00
librte_pmd_mlx4 pci: make device id tables const 2015-04-20 19:58:54 +02:00
librte_pmd_null ethdev: make dev_ops const 2015-04-13 22:50:10 +02:00
librte_pmd_pcap mbuf: add accessors for data room and private size 2015-04-28 11:07:59 +02:00
librte_pmd_ring ethdev: make dev_ops const 2015-04-13 22:50:10 +02:00
librte_pmd_virtio pci: make device id tables const 2015-04-20 19:58:54 +02:00
librte_pmd_vmxnet3 mbuf: add accessors for data room and private size 2015-04-28 11:07:59 +02:00
librte_pmd_xenvirt ethdev: make dev_ops const 2015-04-13 22:50:10 +02:00
librte_port mbuf: remove build option to disable refcnt 2015-02-23 19:31:24 +01:00
librte_power mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_reorder tailq: move to dynamic tailq 2015-03-10 12:06:08 +01:00
librte_ring tailq: move to dynamic tailq 2015-03-10 12:06:08 +01:00
librte_sched mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_table table: fix crash during key overload 2015-03-26 22:33:41 +01:00
librte_timer tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
librte_vhost vhost: fix file struct leakage 2015-03-26 22:33:41 +01:00
Makefile null: new poll mode driver 2015-02-26 00:31:45 +01:00