From patchwork Fri Apr 21 14:25:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 97909 Delivered-To: patch@linaro.org Received: by 10.182.246.10 with SMTP id xs10csp335426obc; Fri, 21 Apr 2017 07:25:38 -0700 (PDT) X-Received: by 10.55.149.130 with SMTP id x124mr12149638qkd.99.1492784738702; Fri, 21 Apr 2017 07:25:38 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id d201si9670060qka.36.2017.04.21.07.25.38; Fri, 21 Apr 2017 07:25:38 -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 3CF4E609E3; Fri, 21 Apr 2017 14:25:38 +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 6A348608C6; Fri, 21 Apr 2017 14:25:33 +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 678EB6068A; Fri, 21 Apr 2017 14:25:30 +0000 (UTC) Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) by lists.linaro.org (Postfix) with ESMTPS id 8F9BD6068A for ; Fri, 21 Apr 2017 14:25:29 +0000 (UTC) Received: by mail-oi0-f51.google.com with SMTP id x184so97920074oia.1 for ; Fri, 21 Apr 2017 07:25:29 -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=MrTcdqbIiygysfeJa19Bmtket4hyNHY4FXVksooV2MbiHvUiETmpwKEh/t450UtCFX izt1S8vQTr4y6FaVpZvh/gzHriPXDaw4klO0emkgN99jDYgOqythVAbFt+VmUvSAXoE5 KyZ9YZ5WXixRuJfAG33dgtAqSBOVKFqcA/3tnxOoSFdrByjT5pgNOMIH5e9hInV2s1Fv D5W6HIBMbI7/xl/rSEkHaCpzFei3JotFRORB1V3rb3N8b+3EUEKgnWYA9MlEFQKxjhm5 84kVAsxbxmG5lpO/EirZIGwvV144K11uI5HeZQQ423d0r1GhdtzK/OVaAH7xcHSknJl1 iCBw== X-Gm-Message-State: AN3rC/6DJvkPNJAkFL2SXra56n8YjhPh79jTBs+ZveFOx8ffspbG8Xf4 CETkrafaQuAPsa8XsT0= X-Received: by 10.157.11.50 with SMTP id a47mr4681859ota.21.1492784728973; Fri, 21 Apr 2017 07:25:28 -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.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 21 Apr 2017 07:25:28 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Fri, 21 Apr 2017 09:25:20 -0500 Message-Id: <1492784725-31626-1-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [lng-odp] [API-NEXT PATCHv3 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 Reviewed-by: Petri Savolainen 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 */