From patchwork Wed Apr 19 22:34:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 97690 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp530724qgf; Wed, 19 Apr 2017 15:34:58 -0700 (PDT) X-Received: by 10.55.214.71 with SMTP id t68mr4772586qki.211.1492641298450; Wed, 19 Apr 2017 15:34:58 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id q84si3852760qkl.160.2017.04.19.15.34.57; Wed, 19 Apr 2017 15:34:58 -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 5583260730; Wed, 19 Apr 2017 22:34:54 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 15D1A62D27; Wed, 19 Apr 2017 22:34:52 +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 CB58C62D27; Wed, 19 Apr 2017 22:34:50 +0000 (UTC) Received: from mail-yw0-f171.google.com (mail-yw0-f171.google.com [209.85.161.171]) by lists.linaro.org (Postfix) with ESMTPS id B777161CB0 for ; Wed, 19 Apr 2017 22:34:48 +0000 (UTC) Received: by mail-yw0-f171.google.com with SMTP id u70so27237453ywe.2 for ; Wed, 19 Apr 2017 15:34:48 -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; bh=293TYPvRVZt0SIlyu/Uds0L3BoUPbN2uxvIsLYX/hBA=; b=UImMj/0zdULRPEIQLxH2d7rKptZJLbXhTOQdZpFK+7N8WIG/geXTWJe0wJP9kBAe82 da4rs/nAPMLVHwg5xP61PspleBjbjT/x/dXRfv7wQbd1MGS+le9fLmKQrBkbPRDxe/3P vESqBxfKjvSo1bTxnqILDg06ywQ4AYOYGJnSGEeKmhzDkLGWjB0ksAkxmgvx0ybt2E9m D+F9TeUppHPs/DtCDjNb/aBeU1ncHj8poVOWvvS9vpHvlhi61/pOUbg4u4qNE+NM3fxL NJUvZDB2ShPenPNjmJO+tX5uua+a4vFl6E+5GQ2YJEsAe/ztV4CIroc78Y6acR4jgyvL Hc5A== X-Gm-Message-State: AN3rC/6h28bQ2rRFiQXw7mQ4FP+qY9ZfwkmPV9X7dKi+59ZMbKtYYr63 5Pm0mzfI4wScrJsJwDk= X-Received: by 10.202.64.213 with SMTP id n204mr1302002oia.78.1492641288239; Wed, 19 Apr 2017 15:34:48 -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 w201sm37138oiw.13.2017.04.19.15.34.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 19 Apr 2017 15:34:47 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Wed, 19 Apr 2017 17:34:40 -0500 Message-Id: <1492641285-7020-1-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [lng-odp] [API-NEXT PATCHv2 1/6] api: classification: 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/classification.h | 4 ++++ 1 file changed, 4 insertions(+) -- 2.11.0 diff --git a/include/odp/api/spec/classification.h b/include/odp/api/spec/classification.h index 0e1addd6..39831b24 100644 --- a/include/odp/api/spec/classification.h +++ b/include/odp/api/spec/classification.h @@ -366,7 +366,9 @@ typedef struct odp_pmr_param_t { /** True if the value is range and false if match */ odp_bool_t range_term; + /** Variant mappings for types of matches */ union { + /** Parameters for single-valued matches */ struct { /** Value to be matched */ const void *value; @@ -374,6 +376,8 @@ typedef struct odp_pmr_param_t { /** Masked set of bits to be matched */ const void *mask; } match; + + /** Parameter for range value matches */ struct { /** Start and End values are included in the range */ /** start value of range */