From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Rquq9I62sSUCOMWy41AR56/OZk62wsH++b/CMqyi6Ew=; b=w0UMZdGnUhlnedD6m5O299p+o1y6tg+6nf62s+sqnSCQtnu3QwDqHcys4sV4GFRtDx 1j2jQYKqIQhyFDBMUIYjfcKXDDzlIl/faEfnkvw73K0bv3rn3p/IbzdH29iE1ES5rm2e 8DoP1ipOJeRCZhjnSfPKhPpWIY+IwqKSLjswI01/X7A1EWMemT8Uo6To6bm9SSA69qu/ QnouI9FxVGTisuadTBYNG6nnxXbrL9fF8/O93RuFRP58a5L/PDCV28yY5Y/2/HnXBpea D1/F+RfScrFjyXjpqPp9Tx4D4bq3WVpGRjGzJhERGFJRodg/oUISRXh+zlL+kn2Pd9+1 lU2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Rquq9I62sSUCOMWy41AR56/OZk62wsH++b/CMqyi6Ew=; b=BTJH8z7YmdgLadkC8Qs3z/Knjxkt2GVkLN8MmQnF8KJW7Keh7thOuciWal7HwSqWRz yvBXxcBoD24shnSvtuJDeu+QwqgETJ6o0mQv9bsO+If9meByk3m72IsAkC7cjS1Fwk5H 5xwA06CezzJsO448lo15QJoPmZmafum9P2DtHvM+0iNxKDInxW7M32s/f5l82LLD4r5i sWN4qAmMW5R4pCgypfFU75UqAdU9t5kxfm/RFp8HJQJnx2gd4pnZ/1ze4cCp8zllqPIO riPcMWzL1eas0PPLNAw8NoJxb2nVJp7PhrnbbcWfr57Eld5DhejqsCUIoLI1l+9aIRnh BqMw== X-Gm-Message-State: ALQs6tA3F8CEiBXsDVM7fBHA65iVh6UP4Dp1U6D42WFsr78B1leJrAK9 FDMUJSCV4UFnJuAsCSezbmi0S6VT49A= X-Google-Smtp-Source: AB8JxZrvsGchg7+Vj7vCnYHqj7Kwf9GF/jO77zH+yGi3wM81MxLek41InCtklRUDwDnP5dF8aALwdw== X-Received: by 10.99.104.66 with SMTP id d63mr11156886pgc.304.1524781247708; Thu, 26 Apr 2018 15:20:47 -0700 (PDT) Received: from xeon-e3 (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id r81sm43590453pfj.79.2018.04.26.15.20.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Apr 2018 15:20:47 -0700 (PDT) Date: Thu, 26 Apr 2018 15:20:45 -0700 From: Stephen Hemminger To: Medvedkin Vladimir Cc: dev@dpdk.org, bruce.richardson@intel.com, thomas@monjalon.net, cristian.dumitrescu@intel.com Message-ID: <20180426152045.07c20b45@xeon-e3> In-Reply-To: <1524780214-23196-2-git-send-email-medvedkinv@gmail.com> 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 Subject: Re: [dpdk-dev] [PATCH v4 1/4] Add RIB library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2018 22:20:48 -0000 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.