From patchwork Fri Feb 12 15:10:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 61854 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp847134lbl; Fri, 12 Feb 2016 06:11:46 -0800 (PST) X-Received: by 10.140.202.212 with SMTP id x203mr2229821qha.19.1455286306557; Fri, 12 Feb 2016 06:11:46 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id z81si15884783qhc.87.2016.02.12.06.11.46; Fri, 12 Feb 2016 06:11:46 -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 Received: by lists.linaro.org (Postfix, from userid 109) id 0876D6684D; Fri, 12 Feb 2016 14:11:46 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=fail reason="verification failed; unprotected key" header.d=linaro.org header.i=@linaro.org header.b=VyJN/eQr; dkim-adsp=none (unprotected policy); dkim-atps=neutral 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 0788566846; Fri, 12 Feb 2016 14:11:17 +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 5047766831; Fri, 12 Feb 2016 14:11:12 +0000 (UTC) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by lists.linaro.org (Postfix) with ESMTPS id 26CCE6680D for ; Fri, 12 Feb 2016 14:11:11 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id bc4so45900535lbc.2 for ; Fri, 12 Feb 2016 06:11:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qHn/QGJyea+DLtIMmM6+edbx3c4/Kz12P/2AmSMOxMc=; b=VyJN/eQrHNxBw8hPFQCm1jXOIn3oZXceNAf9X5p/HE4MhzmR9yg18vSbj3Z6cyijDY C4ZQYp7U7tU1zsWQHoJqQtICGZ6cPGmtLoHy2El2rtXGZNVhwzlYC6/m6lpmQOQ2nG6+ m5KsIObUiVpYxpjzyA1qtNkNTPOAQYH8GZmJo= 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=qHn/QGJyea+DLtIMmM6+edbx3c4/Kz12P/2AmSMOxMc=; b=FI7NxdfqkZ87jIYupY+26CAoKNeNFro5EGww9H4pT3gNr8WA5/NiPeKDGDCXYlftSr 45Qt6DzQOqcaP2wCoP6cM6F9I3NNO6eqbBYBkK4KfBelVez3ibZG4OGWcPPIslwP5b1+ LTVNxGDeaahH7bbhlPdyAIQ8lf+m++UmFkbQ5lBU4U0xepf0HQCEEtR3AfpUnemrhrY4 sv18tinsh7WjdEXAldQCoqASWivaCVTMBT0lHU4ITwfkE25oL5qjeW5V7QkNBHN3ALr6 eJ6t0Egomfb7vhvRDVI+EXxoJnTUto1NMRCyp8fpzwvg9cGBVd90gK8C7aa1eLLYmLZw XM6w== X-Gm-Message-State: AG10YOQgqudTCklCCJXcfamK+UjmFzEdMcta7CzoC30uf9Xpff/ShQmwMZcB+0XRFTaaiItJRM4= X-Received: by 10.112.199.41 with SMTP id jh9mr733709lbc.125.1455286270157; Fri, 12 Feb 2016 06:11:10 -0800 (PST) Received: from erachmi-ericsson.ki.sw.ericsson.se (c-83-233-90-46.cust.bredband2.com. [83.233.90.46]) by smtp.gmail.com with ESMTPSA id rx3sm1876740lbb.35.2016.02.12.06.11.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Feb 2016 06:11:09 -0800 (PST) From: Christophe Milard To: anders.roxell@linaro.org, mike.holmes@linaro.org, bill.fischofer@linaro.org, petri.savolainen@linaro.org Date: Fri, 12 Feb 2016 16:10:00 +0100 Message-Id: <1455289804-1821-2-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1455289804-1821-1-git-send-email-christophe.milard@linaro.org> References: <1455289804-1821-1-git-send-email-christophe.milard@linaro.org> X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [API-NEXT PATCH 1/5] drv: creation of the driver interface (drv) 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" The Driver Programming Interface (drv) is defined in include/odp_drv.h and include/odp/drv/spec directory. Signed-off-by: Christophe Milard --- include/odp/drv/spec/README | 4 ++++ include/odp_drv.h | 24 ++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 include/odp/drv/spec/README create mode 100644 include/odp_drv.h diff --git a/include/odp/drv/spec/README b/include/odp/drv/spec/README new file mode 100644 index 0000000..cd017bf --- /dev/null +++ b/include/odp/drv/spec/README @@ -0,0 +1,4 @@ +This directory should contain files (including doxygen documentation) defining +the ODP Nic driver interface. +The NIC driver interface is the south interface of ODP, which is used by +PCI nic drivers. diff --git a/include/odp_drv.h b/include/odp_drv.h new file mode 100644 index 0000000..b78fa9d --- /dev/null +++ b/include/odp_drv.h @@ -0,0 +1,24 @@ +/* Copyright (c) 2016, Linaro Limited + * All rights reserved + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * The OpenDataPlane nic driver programming interface + * + */ + +#ifndef ODP_DRV_H_ +#define ODP_DRV_H_ + +#ifdef __cplusplus +extern C { +#endif + +#ifdef __cplusplus +} +#endif +#endif