mbuf: rename RTE_MBUF_SCATTER_GATHER into RTE_MBUF_REFCNT
authorOlivier Matz <olivier.matz@6wind.com>
Thu, 28 Aug 2014 15:42:35 +0000 (16:42 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 17 Sep 2014 09:27:50 +0000 (11:27 +0200)
commit62814bc2e923b3d1867a93a1a4cd6073f5065e41
tree40de8bc29a1b05bf2d03befb85a41ed44df2b6d7
parentcafa59684660640c8bf847547613a48bc7a9d37c
mbuf: rename RTE_MBUF_SCATTER_GATHER into RTE_MBUF_REFCNT

It seems that RTE_MBUF_SCATTER_GATHER is not the proper name for the
feature it provides. "Scatter gather" means that data is stored using
several buffers. RTE_MBUF_REFCNT seems to be a better name for that
feature as it provides a reference counter for mbufs.

The macro RTE_MBUF_SCATTER_GATHER is poisoned to ensure this
modification is seen by drivers or applications using it.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
14 files changed:
app/test/test_mbuf.c
config/common_bsdapp
config/common_linuxapp
doc/doxy-api.conf
examples/Makefile
examples/ip_fragmentation/Makefile
examples/ip_pipeline/Makefile
examples/ip_pipeline/main.c
examples/ipv4_multicast/Makefile
examples/vhost/main.c
lib/librte_mbuf/rte_mbuf.c
lib/librte_mbuf/rte_mbuf.h
lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c
lib/librte_port/Makefile