From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 81269A0530; Sun, 26 Jan 2020 02:09:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 443DC4C74; Sun, 26 Jan 2020 02:09:22 +0100 (CET) Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by dpdk.org (Postfix) with ESMTP id 429A449E0 for ; Sun, 26 Jan 2020 02:09:20 +0100 (CET) Received: by mail-pj1-f43.google.com with SMTP id r67so1505765pjb.0 for ; Sat, 25 Jan 2020 17:09:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kf8asONlme2cKBi700o9do+C1fR2J9qiAQVIsboJ8IM=; b=pAQYMDJf5ChFSsCLcNbEQ7hSCQV0wZk4q9/fhHda5rfxcaw0lhHGMnR+Zbwgp/pC1Y JFx1EeVMFepDwcdZzVURhouo6GtslzdPxL+kewwOKUvC7Fuz31Uiblzc8UYMXFlsYMjB MR1HuqLU5bBCZ7lW6tmUyXZqoPNRwfHkgBsWCpF3JDOYGUXDzBDfc4aLeJPnT2KR5EpC Cao8wDNAd4SALpzFM1kWe242KwWesiF8/qzMtIo5/ktHBb4ZXS/qcmYBBPUBsmSKyucJ Et/wTLFIh+Abtn10uKhlVdTFTBNoDwog5ljjZcRqw0o2KEajPwHCdgWMcezzBM1LERZr mSIA== 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:mime-version :content-transfer-encoding; bh=kf8asONlme2cKBi700o9do+C1fR2J9qiAQVIsboJ8IM=; b=RhbeeRkASmhXX4elNYbB3xbOQaljIvZL8MAtAfwhsdkfUYFJIJUQp9rBbNtv4uVBvf E7RERoxMmY/rRQ1TqSHc2plWwJOzc7utyDDUtIRKeoOUcEYCEFZwZwcY4Ko9mziLp9w1 +8WpfTFfvcyevtpdFVNYVrsBel14o6m6SYxb5GhSy+Knm8Bo/uGsuT8OJecdg0JztDu1 CfZ/NJQp4QDw53UJuygzTvbhlM4IT40m9YRsPhakO5N/q5gEJDW6qCO1NVRGpf/YXkmq Uqhlfz1Wxbc8sEE8KuvxQ0KP34UzZ8r6Mbq8GFHUD+4XVPzm4j+vLYDz66zRQAdt93kj Zs0A== X-Gm-Message-State: APjAAAX/A00bheOcH3qX/h8a9oFFL7G6/QKRcW7XAu5y7tG4aLUSZ1Mw Td0MFfLafDk8wCbm80Xe5uX672pq8Gk= X-Google-Smtp-Source: APXvYqwl73bisqnqDKFx3tBG/xaT4asGoXZ9aoUslDXkrOXo5HxszTEyWNpDI8DTb39HdkWdNRS5Gw== X-Received: by 2002:a17:902:708b:: with SMTP id z11mr11250993plk.121.1580000958976; Sat, 25 Jan 2020 17:09:18 -0800 (PST) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id t1sm11560267pgq.23.2020.01.25.17.09.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jan 2020 17:09:17 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Sat, 25 Jan 2020 17:09:06 -0800 Message-Id: <20200126010911.3733-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 0/5] l3fwd and lpm cleanups 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" While working on l3fwd, saw some minor things that should be cleaned up. Stephen Hemminger (5): lpm: make ipv6 address immutable examples/l3fwd: use RTE_DIM examples/l3fwd: make lookup struct static examples/l3fwd: make route array constant examples/l3fwd: improve readability for destination lookup examples/l3fwd/l3fwd_lpm.c | 42 ++++++++++++++++++++------------------ lib/librte_lpm/rte_lpm6.c | 8 ++++---- lib/librte_lpm/rte_lpm6.h | 6 +++--- 3 files changed, 29 insertions(+), 27 deletions(-) -- 2.20.1