From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v4 1/4] Add RIB library Date: Thu, 26 Apr 2018 15:20:45 -0700 Message-ID: <20180426152045.07c20b45@xeon-e3> References: <1524780214-23196-1-git-send-email-medvedkinv@gmail.com> <1524780214-23196-2-git-send-email-medvedkinv@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, bruce.richardson@intel.com, thomas@monjalon.net, cristian.dumitrescu@intel.com To: Medvedkin Vladimir Return-path: Received: from mail-pg0-f50.google.com (mail-pg0-f50.google.com [74.125.83.50]) by dpdk.org (Postfix) with ESMTP id 7EFFD7F2D for ; Fri, 27 Apr 2018 00:20:48 +0200 (CEST) Received: by mail-pg0-f50.google.com with SMTP id i194so16984737pgd.0 for ; Thu, 26 Apr 2018 15:20:48 -0700 (PDT) In-Reply-To: <1524780214-23196-2-git-send-email-medvedkinv@gmail.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, 27 Apr 2018 01:03:31 +0300 Medvedkin Vladimir wrote: > + /** > + * Intermediate node found. > + * Previous rte_rib_tree_lookup_exact() returned NULL > + * but node with proper search criteria is found. > + * Validate intermediate node and return. > + */ > + if ((key == (*tmp)->key) && (depth == (*tmp)->depth)) { Comments with /** are intended to be docbook comments. This is not a docbook comment for a function.