From patchwork Tue Apr 19 12:15:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Elo, Matias \(Nokia - FI/Espoo\)" X-Patchwork-Id: 66086 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp1813535qge; Tue, 19 Apr 2016 05:15:48 -0700 (PDT) X-Received: by 10.50.249.20 with SMTP id yq20mr3435151igc.35.1461068148005; Tue, 19 Apr 2016 05:15:48 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id g4si2056750igk.100.2016.04.19.05.15.47; Tue, 19 Apr 2016 05:15:47 -0700 (PDT) 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; dmarc=fail (p=NONE dis=NONE) header.from=nokia.com Received: by lists.linaro.org (Postfix, from userid 109) id 178FB68994; Tue, 19 Apr 2016 12:15:47 +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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 867C568989; Tue, 19 Apr 2016 12:15:42 +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 97B256898C; Tue, 19 Apr 2016 12:15:35 +0000 (UTC) Received: from demumfd002.nsn-inter.net (demumfd002.nsn-inter.net [93.183.12.31]) by lists.linaro.org (Postfix) with ESMTPS id 6540668987 for ; Tue, 19 Apr 2016 12:15:34 +0000 (UTC) Received: from demuprx016.emea.nsn-intra.net ([10.150.129.55]) by demumfd002.nsn-inter.net (8.15.2/8.15.2) with ESMTPS id u3JCFXIw024769 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 19 Apr 2016 12:15:33 GMT Received: from 10.144.19.15 ([10.144.104.109]) by demuprx016.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id u3JCFWJk026542 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 19 Apr 2016 14:15:32 +0200 From: Matias Elo To: lng-odp@lists.linaro.org Date: Tue, 19 Apr 2016 15:15:31 +0300 Message-Id: <1461068132-24306-1-git-send-email-matias.elo@nokia.com> X-Mailer: git-send-email 1.9.1 X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: clean X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate-size: 1058 X-purgate-ID: 151667::1461068133-00002418-0C414D63/0/0 X-Topics: patch Subject: [lng-odp] [API-NEXT PATCH 1/2] linux-generic: pktio: add missing pktio names X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Add names to ipc and tap pktio types. Signed-off-by: Matias Elo --- platform/linux-generic/pktio/ipc.c | 1 + platform/linux-generic/pktio/tap.c | 1 + 2 files changed, 2 insertions(+) diff --git a/platform/linux-generic/pktio/ipc.c b/platform/linux-generic/pktio/ipc.c index 18fa5c6..43d3b47 100644 --- a/platform/linux-generic/pktio/ipc.c +++ b/platform/linux-generic/pktio/ipc.c @@ -713,6 +713,7 @@ static int ipc_close(pktio_entry_t *pktio_entry) } const pktio_if_ops_t ipc_pktio_ops = { + .name = "ipc", .init_global = NULL, .init_local = NULL, .term = NULL, diff --git a/platform/linux-generic/pktio/tap.c b/platform/linux-generic/pktio/tap.c index c895878..0fbb914 100644 --- a/platform/linux-generic/pktio/tap.c +++ b/platform/linux-generic/pktio/tap.c @@ -311,6 +311,7 @@ static int tap_mac_addr_get(pktio_entry_t *pktio_entry, void *mac_addr) } const pktio_if_ops_t tap_pktio_ops = { + .name = "tap", .init_global = NULL, .init_local = NULL, .term = NULL,