Go to file
Olivier Matz f20b50b946 mbuf: optimize refcnt update
In __rte_pktmbuf_prefree_seg(), there was an optimization to avoid using
a costly atomic operation when updating the mbuf reference counter if
its value is 1. Indeed, it means that we are the only owner of the mbuf,
and therefore nobody can change it at the same time.

We can generalize this optimization directly in rte_mbuf_refcnt_update()
so the other callers of this function, like rte_pktmbuf_attach(), can
also take advantage of this optimization.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2015-06-12 16:16:50 +02:00
app app/testpmd: fix reply to a multicast ICMP request 2015-06-12 15:55:38 +02:00
config config: increase max queues per port 2015-06-02 18:24:28 +02:00
doc doc: add coding style 2015-06-04 11:48:28 +02:00
drivers ixgbe: add multicast MAC address filtering 2015-06-12 15:55:38 +02:00
examples examples: fix whitespace 2015-06-12 11:10:10 +02:00
lib mbuf: optimize refcnt update 2015-06-12 16:16:50 +02:00
mk mk, scripts: remove useless blank lines 2015-06-12 11:10:02 +02:00
pkg version: 2.0.0 2015-04-03 16:13:45 +02:00
scripts mk, scripts: remove useless blank lines 2015-06-12 11:10:02 +02:00
tools tools: fix vfio support 2015-03-23 14:29:31 +01:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile drivers: create new directory 2015-05-22 15:51:38 +02:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
MAINTAINERS xenvirt: move drivers/net/ 2015-05-22 16:06:23 +02:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00