From patchwork Fri Apr 21 14:25:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 97912 Delivered-To: patch@linaro.org Received: by 10.182.246.10 with SMTP id xs10csp336024obc; Fri, 21 Apr 2017 07:27:18 -0700 (PDT) X-Received: by 10.55.6.83 with SMTP id 80mr14209665qkg.156.1492784838611; Fri, 21 Apr 2017 07:27:18 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id t1si9654797qkl.333.2017.04.21.07.27.18; Fri, 21 Apr 2017 07:27:18 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 4D34261CC7; Fri, 21 Apr 2017 14:27:18 +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=-1.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 3AEE160B25; Fri, 21 Apr 2017 14:25:47 +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 98E8F60964; Fri, 21 Apr 2017 14:25:33 +0000 (UTC) Received: from mail-oi0-f42.google.com (mail-oi0-f42.google.com [209.85.218.42]) by lists.linaro.org (Postfix) with ESMTPS id 49A60608AF for ; Fri, 21 Apr 2017 14:25:32 +0000 (UTC) Received: by mail-oi0-f42.google.com with SMTP id y11so65139708oie.0 for ; Fri, 21 Apr 2017 07:25:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YqtVwxlg1mJl6DukupnlccHE5eP0YV9plvwj9+Y4FEg=; b=bv5XtGa6+DWfxm2tCq87R/dC0mjnVRXJUaqbhciH5K12y+uTLXE8LR1dQ/DtKKk6M4 8QGoWLxGFzncY0nXhYY8sl6+PMGwpzFij23AWIbIq46DWKctQ/tYXORUa3zw3EDmXLsP w9tsBww/HsKMddIK6HCdiEhFhbLz3YSwoi+UOOQiVuATVcdzUdFvKcFjjBUAAGvmUZzN S3H3uMVpEBcWdWzAZqok80AfxU2wygKzJENPVCyhNpYzAue4P3rPJawoIQ4uS0Qp3kiD Uw606pHhAfadDQLlW5s8teumrzEXYHZjK2bIX/mDh35ebHvLIpKwtDHez8WNZwOtJ99t 4Mrg== X-Gm-Message-State: AN3rC/4Qxbl/iVxPsBqg3K1O7hESXaavfAKv4WVSlCbUcKS1+3sgkbxY JwHEuvyuLs0QVEXwwPw= X-Received: by 10.157.12.198 with SMTP id o6mr8391262otd.103.1492784731733; Fri, 21 Apr 2017 07:25:31 -0700 (PDT) Received: from localhost.localdomain (cpe-70-121-83-241.austin.res.rr.com. [70.121.83.241]) by smtp.gmail.com with ESMTPSA id z9sm4103192otd.44.2017.04.21.07.25.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 21 Apr 2017 07:25:30 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Fri, 21 Apr 2017 09:25:23 -0500 Message-Id: <1492784725-31626-4-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1492784725-31626-1-git-send-email-bill.fischofer@linaro.org> References: <1492784725-31626-1-git-send-email-bill.fischofer@linaro.org> Subject: [lng-odp] [API-NEXT PATCHv3 4/6] api: tm: add additional doxygen documentation 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: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=2952 by adding additional field documentation to avoid problems with doxygen 1.8.13 and higher. Signed-off-by: Bill Fischofer --- include/odp/api/spec/traffic_mngr.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.11.0 diff --git a/include/odp/api/spec/traffic_mngr.h b/include/odp/api/spec/traffic_mngr.h index 71198bbd..3a748cef 100644 --- a/include/odp/api/spec/traffic_mngr.h +++ b/include/odp/api/spec/traffic_mngr.h @@ -471,9 +471,10 @@ typedef enum { typedef struct { odp_tm_egress_kind_t egress_kind; /**< Union discriminator */ + /** Variant parameters for different TM outputs */ union { - odp_pktio_t pktio; - odp_tm_egress_fcn_t egress_fcn; + odp_pktio_t pktio; /**< Output to PktIO */ + odp_tm_egress_fcn_t egress_fcn; /**< Output to user func */ }; } odp_tm_egress_t;