From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 568A8F928 for ; Wed, 8 Mar 2017 11:00:59 +0100 (CET) Received: by mail-wm0-f52.google.com with SMTP id t189so26267588wmt.1 for ; Wed, 08 Mar 2017 02:00:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:date:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=46j63NjltsknseKiBndA/CuYKiAczlbj3xh/7kYHTRg=; b=CZc0rSsOVNwCXDhaIQLMRZaPy4N2Ig3UaKwhqEJ5KTUvuVBj8qpD6BgpBA18lgkw5t 52lO3NDhnt0f85QW/b6qhH1M2sWSdrlqTNAGRG9Og93DIs1cAA8Fs6hzt2kwc5wNI0mI IFOOtvWujipxyW9eSOlgYm7A6auAtBzc38i3md6Jjj1LQIR5vruhMYVxO5Sy1qujGeVp 6JCUsmvJRkDaXyAR+2Jzi+NiaiFmms5jao8BVXWLVSLlR9ku+eWtzqu09lQVH8SKiKyx 6wX3r7Sm80cf9Oc+8RIBBwQLf36qybq5uUxzRoz6SrFh8an+fBq75aJ3IB2fG62ou117 4JoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=46j63NjltsknseKiBndA/CuYKiAczlbj3xh/7kYHTRg=; b=sR2sNpRosuSGCczwjSZwaxpJrOP0YZdyp0ZeKznDNJC5ZTn/wtTzgTKCtOKx54bWnb NSQmeF97OvA4Baq2k508522xsbN2PzAYgxNPIyYMgzoLCoIMYrGtlMZ+Lf3UeTCYgPOj Raa1nLSuSj1Sxvn1tBkxFLj4TNQDnj3JCcD2KtFjPoqKrJACXuKM0MoslWHiHj4f46TB MRJxL7tmNfKCspjnKAV7HgR+qwwRsILNXbj4uNpNq+oVOG9himnZcofaLF0FCWQAurKR hFSUzHfc80lB0+HccJog4k55oOjZt0qIbo0riaH+fjVscbmhYpzc2BniMXCvQWZg5q0V gZ4A== X-Gm-Message-State: AMke39mfa9I7HKD+RytjlIvHRQp/1BCmFbRF5uA9ZuLMeF5TRje4mz4H/CF/9Ej1Hzp+NbV9 X-Received: by 10.28.45.212 with SMTP id t203mr21232535wmt.37.1488967259131; Wed, 08 Mar 2017 02:00:59 -0800 (PST) Received: from glumotte.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id j26sm3440807wrb.69.2017.03.08.02.00.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Mar 2017 02:00:59 -0800 (PST) From: Olivier MATZ X-Google-Original-From: Olivier MATZ Date: Wed, 8 Mar 2017 11:00:51 +0100 To: Bruce Richardson Cc: dev@dpdk.org Message-ID: <20170308110051.380b71fb@glumotte.dev.6wind.com> In-Reply-To: <1487868123-30262-3-git-send-email-bruce.richardson@intel.com> References: <1487695964-15593-1-git-send-email-bruce.richardson@intel.com> <1487868123-30262-3-git-send-email-bruce.richardson@intel.com> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 2/5] ring: add a function to return the ring size X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2017 10:00:59 -0000 On Thu, 23 Feb 2017 16:42:00 +0000, Bruce Richardson wrote: > Applications and other libraries should not be reading inside the > rte_ring structure directly to get the ring size. Instead add a fn > to allow it to be queried. > > Signed-off-by: Bruce Richardson Acked-by: Olivier Matz