mbuf: add raw allocation function
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 11 May 2016 14:43:46 +0000 (16:43 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 17 May 2016 06:31:33 +0000 (08:31 +0200)
commitfbfd99551ca370266f4bfff58ce441cf5cb1203a
tree41bd1b617fb7410e8a7f396b570cacedf3ffe548
parent8e483216fd6bf5407f8f54f7cbed0edaf0c34328
mbuf: add raw allocation function

Many drivers provide their own implementation of rte_mbuf_raw_alloc(),
duplicating the code. Introduce a new public function in rte_mbuf to
allocate a raw mbuf (uninitialized).

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
17 files changed:
app/test-pmd/flowgen.c
app/test-pmd/txonly.c
drivers/net/bnx2x/bnx2x_rxtx.c
drivers/net/e1000/em_rxtx.c
drivers/net/e1000/igb_rxtx.c
drivers/net/enic/enic_main.c
drivers/net/enic/enic_rx.c
drivers/net/i40e/i40e_rxtx.c
drivers/net/ixgbe/ixgbe_rxtx.c
drivers/net/mlx4/mlx4.c
drivers/net/mlx5/mlx5_rxtx.c
drivers/net/mpipe/mpipe_tilegx.c
drivers/net/qede/qede_rxtx.c
drivers/net/virtio/virtio_rxtx.c
drivers/net/vmxnet3/vmxnet3_rxtx.c
drivers/net/xenvirt/rte_eth_xenvirt.c
lib/librte_mbuf/rte_mbuf.h