Message ID | 1447068113-3733-5-git-send-email-maxim.uvarov@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp122020lbb; Mon, 9 Nov 2015 03:25:12 -0800 (PST) X-Received: by 10.55.55.82 with SMTP id e79mr27904794qka.59.1447068312879; Mon, 09 Nov 2015 03:25:12 -0800 (PST) Return-Path: <lng-odp-bounces@lists.linaro.org> Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id j62si10664169qkh.88.2015.11.09.03.25.12; Mon, 09 Nov 2015 03:25:12 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: by lists.linaro.org (Postfix, from userid 109) id 83D686180A; Mon, 9 Nov 2015 11:25:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id A274A618D3; Mon, 9 Nov 2015 11:23:57 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id B6EE4618C9; Mon, 9 Nov 2015 11:23:45 +0000 (UTC) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com [209.85.217.173]) by lists.linaro.org (Postfix) with ESMTPS id 0F4366194A for <lng-odp@lists.linaro.org>; Mon, 9 Nov 2015 11:22:04 +0000 (UTC) Received: by lbces9 with SMTP id es9so26452319lbc.2 for <lng-odp@lists.linaro.org>; Mon, 09 Nov 2015 03:22:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MMdRhFIQER5dS20wk05tc9g7bJf5I/7joMSZzrHkXAw=; b=T9PETMZSX7j8vPzBeUZlAbncoItIHOhfwTu/Q5F3rUAiWl7PAMHL0WITwLGm5qydfr NexTFa5lehitjz3ThukTtX1YVwcfTlV8baiyJvNL6YEzsH4fWcYMgqUpoA7eg7iT1Rt4 BublxyhrvOovdLnVoak6+lA9np6D/qhvKpYd1nLSC0uHMy72py9oSj5pzbBH20rNRJRP LD2j0Mv5yO+Yh7paD4/XXql1E67di5gCv4CW9QnB4fkJ9fg4yBUVKqahP1Jj/eLinRI9 CLexKGSVDi+eqqHsAeMkY/vEHUydjF8ZAKlBZ/xnAccl1yBeIHdeCoD4hWFwpxcdpxce dUpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=MMdRhFIQER5dS20wk05tc9g7bJf5I/7joMSZzrHkXAw=; b=Neab2zXpi2g11VJzmdZ5ZK0ENysBRMgQMv6Ll+UyfI0+AAUkOXUpV6nzNXAM7fMXX9 OlOTKHwuEwmbnHBadZbatosAEW6l/EWHPa4xZEWSDomldeseF2Xr/uADIforgPmijIao NvwtVVi9gynP9DYw/g37xSVYo2ZndYFkjZ6xE6n9N8oV0GKdhycnxZrhubebH+YdjPkb 1rKQJ7E5kdfhnc6cQSMeVwWqylp+i+XUiF/nmtKoTKoUl8e76DMwRqduh6EmgyulodLS L+dbbSvyYtSh8fns+9LtfDW1OuFEPu/9b3kjelhb2AW9/a9UtybFb+x1Tpk9Lt1JUI1C KeQQ== X-Gm-Message-State: ALoCoQnRLCCQcC76b5VbKwWaIEfjtKNdOSdJoQB00IaaD1Iv9FxkSMWl4jO+RVaVYVBEcxmkAzDP X-Received: by 10.112.137.34 with SMTP id qf2mr13880726lbb.35.1447068123014; Mon, 09 Nov 2015 03:22:03 -0800 (PST) Received: from localhost.localdomain (ppp91-76-161-180.pppoe.mtu-net.ru. [91.76.161.180]) by smtp.gmail.com with ESMTPSA id 200sm2299784lfz.48.2015.11.09.03.22.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Nov 2015 03:22:02 -0800 (PST) From: Maxim Uvarov <maxim.uvarov@linaro.org> To: lng-odp@lists.linaro.org Date: Mon, 9 Nov 2015 14:21:52 +0300 Message-Id: <1447068113-3733-5-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1447068113-3733-1-git-send-email-maxim.uvarov@linaro.org> References: <1447068113-3733-1-git-send-email-maxim.uvarov@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCH 4/5] linux-generic: pktio netmap: implement statistics counters X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" <lng-odp.lists.linaro.org> List-Unsubscribe: <https://lists.linaro.org/mailman/options/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=unsubscribe> List-Archive: <http://lists.linaro.org/pipermail/lng-odp/> List-Post: <mailto:lng-odp@lists.linaro.org> List-Help: <mailto:lng-odp-request@lists.linaro.org?subject=help> List-Subscribe: <https://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" <lng-odp-bounces@lists.linaro.org> |
diff --git a/platform/linux-generic/pktio/netmap.c b/platform/linux-generic/pktio/netmap.c index 794c82e..3d03ef2 100644 --- a/platform/linux-generic/pktio/netmap.c +++ b/platform/linux-generic/pktio/netmap.c @@ -313,6 +313,8 @@ const pktio_if_ops_t netmap_pktio_ops = { .close = netmap_close, .start = NULL, .stop = NULL, + .stats = sock_stats, + .stats_reset = sock_stats_reset, .recv = netmap_recv, .send = netmap_send, .mtu_get = netmap_mtu_get,
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> --- platform/linux-generic/pktio/netmap.c | 2 ++ 1 file changed, 2 insertions(+)