From patchwork Wed Jun 22 20:41:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 113278 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A7416A034C; Wed, 22 Jun 2022 22:41:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 57A164069C; Wed, 22 Jun 2022 22:41:35 +0200 (CEST) Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by mails.dpdk.org (Postfix) with ESMTP id B7210400D6 for ; Wed, 22 Jun 2022 22:41:33 +0200 (CEST) Received: by mail-pg1-f178.google.com with SMTP id r66so11205156pgr.2 for ; Wed, 22 Jun 2022 13:41:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=dVY8k8EvPQSzhWOTOpagWgGKBZ/o3TTlQ6szEg00Y6Y=; b=I3tqlt8upOYeE+MX7hPWnXsTWqLFLKAOBE9tZKhxzLstvFWx1sHcHWgUUuF5P8+ckf oAUqz4XbzIT1sR86k/rmEAttJc2PHVRlyQ3K6bVZYA9rpGd0ow5V92iFiT2dS89a04+K jm1mZ1DwUsiU4OBfePrhSO7TDaPiPL7Hrpmteg/zK3a8t1Qdo3sn38XKLMPceLKZRpbV XWec/IYfbIrzDYF8ljSk3H2LHmYPEfX05pk5qilf8XCddOV2W1FCSMM+sjrEn9XTQOlZ bHQUPFapN4y5t6T188bSENNl80gTBRjDOOXlcgyU27UgYfUmvhFO4XMm4fW11LOEtU7s qE8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=dVY8k8EvPQSzhWOTOpagWgGKBZ/o3TTlQ6szEg00Y6Y=; b=YCC2PY+IEwAmJmfKe2wWrP/fqaM76hWtCG41NKlTCEoDg+mLSCjw8MqlgBelgldL3R /ANsBUdi20BxawrsFQZSFl0NGjVycDSu1+16Q3rrhrp/YTZ/+gSFpSaaTv6UCE/mXhpX vaBXZMO5nOuzLkMXU293Q2kWi+KBbeWQ9cnnHslRJkIjrbyxoIyTlgjYXMk7HXNAboIN IGpPKWqBllkKx1Bm50pnYHe63o/097hzJON7JgwStsj6PaL2osbWE3xy/hwUyTkygbCF oYl1fu9Wimlofgtpm7F69zamb2l5NQKqYzqm0HSOdxPNYvaPfSG4q8ZVU+5B1Q1IbcKt 70wg== X-Gm-Message-State: AJIora+oykSJLUou31Ygv81CWKp+8c41oFESPhj+UCIX/G5c53dNmNcH 4OlwBv9VIB2TT7Yb92EPH1PGmHasNY1TervY X-Google-Smtp-Source: AGRyM1tGLzASQ2akmgmGDyYJXLHqoIJxDpR5gMrjHTioe3NTMoGTlzqrm2oVODml7zZIQk/fzoq7Ew== X-Received: by 2002:a65:5207:0:b0:3fb:c00f:f6e4 with SMTP id o7-20020a655207000000b003fbc00ff6e4mr4433635pgp.415.1655930492530; Wed, 22 Jun 2022 13:41:32 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id h2-20020a170902f70200b00163e06e1a99sm13193550plo.120.2022.06.22.13.41.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jun 2022 13:41:31 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Vladimir Medvedkin Subject: [PATCH] rte_rib6: fix references to rte_rib Date: Wed, 22 Jun 2022 13:41:28 -0700 Message-Id: <20220622204129.404074-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The comments in rte_rib6 were cut-and-pasted from rte_rib and because of that some references to rte_rib_node were not updated. Signed-off-by: Stephen Hemminger Acked-by: Vladimir Medvedkin --- lib/rib/rte_rib6.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/rib/rte_rib6.h b/lib/rib/rte_rib6.h index fa8e9bf7327b..36a79ae2accb 100644 --- a/lib/rib/rte_rib6.h +++ b/lib/rib/rte_rib6.h @@ -39,12 +39,12 @@ struct rte_rib6_node; /** RIB configuration structure */ struct rte_rib6_conf { /** - * Size of extension block inside rte_rib_node. + * Size of extension block inside rte_rib6_node. * This space could be used to store additional user * defined data. */ size_t ext_sz; - /* size of rte_rib_node's pool */ + /* size of rte_rib6_node's pool */ int max_nodes; }; @@ -306,7 +306,7 @@ rte_rib6_create(const char *name, int socket_id, * Find an existing RIB object and return a pointer to it. * * @param name - * Name of the rib object as passed to rte_rib_create() + * Name of the rib object as passed to rte_rib6_create() * @return * Pointer to RIB object on success * NULL otherwise with rte_errno indicating reason for failure.