summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRami Rosen <ramirose@gmail.com>2019-02-11 20:52:18 +0200
committerThomas Monjalon <thomas@monjalon.net>2019-02-12 14:32:01 +0100
commitb13baac8d5ffb6b0b7a6ca0def884d3f1a82babb (patch)
treeda1ba2549f507be79405f18f9a21792789b2f055
parentc652031bf46709a3a9e7bda21722ad7627f7944e (diff)
downloaddpdk-b13baac8d5ffb6b0b7a6ca0def884d3f1a82babb.zip
dpdk-b13baac8d5ffb6b0b7a6ca0def884d3f1a82babb.tar.gz
dpdk-b13baac8d5ffb6b0b7a6ca0def884d3f1a82babb.tar.xz
mbuf: fix a typo
This trivial patch fixes a typo in rte_mbuf.h. Fixes: f20b50b946da ("mbuf: optimize refcnt update") Cc: stable@dpdk.org Signed-off-by: Rami Rosen <ramirose@gmail.com>
-rw-r--r--lib/librte_mbuf/rte_mbuf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h
index a7f6702..d961cca 100644
--- a/lib/librte_mbuf/rte_mbuf.h
+++ b/lib/librte_mbuf/rte_mbuf.h
@@ -973,7 +973,7 @@ rte_mbuf_refcnt_update(struct rte_mbuf *m, int16_t value)
{
/*
* The atomic_add is an expensive operation, so we don't want to
- * call it in the case where we know we are the uniq holder of
+ * call it in the case where we know we are the unique holder of
* this mbuf (i.e. ref_cnt == 1). Otherwise, an atomic
* operation has to be used because concurrent accesses on the
* reference counter can occur.