mbuf: add accessors for data room and private size
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 22 Apr 2015 09:57:20 +0000 (11:57 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 28 Apr 2015 09:07:59 +0000 (11:07 +0200)
commitc511a96a34d7c3e6954c1a634bae5e7208b7b3f2
tree4b44dfcde98f2955b71f29d3f706e0788380c8cd
parent0a0dfd40ed01e3466102170464804b633a4082de
mbuf: add accessors for data room and private size

This code retrieving the pool private area is duplicated in many
places, we can use of function for it.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_ether/rte_ethdev.c
lib/librte_mbuf/rte_mbuf.h
lib/librte_pmd_af_packet/rte_eth_af_packet.c
lib/librte_pmd_e1000/em_rxtx.c
lib/librte_pmd_e1000/igb_rxtx.c
lib/librte_pmd_fm10k/fm10k_ethdev.c
lib/librte_pmd_i40e/i40e_ethdev_vf.c
lib/librte_pmd_i40e/i40e_rxtx.c
lib/librte_pmd_ixgbe/ixgbe_rxtx.c
lib/librte_pmd_pcap/rte_eth_pcap.c
lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c