From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.46.186]) by dpdk.org (Postfix) with ESMTP id 107B9C35C for ; Wed, 1 Jul 2015 08:18:42 +0200 (CEST) Received: from [192.168.1.160] (99-34-229-174.lightspeed.sntcca.sbcglobal.net [99.34.229.174]) by mail.mhcomputing.net (Postfix) with ESMTPSA id 6C09180B7BF; Tue, 30 Jun 2015 23:15:56 -0700 (PDT) From: Matthew Hall Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Tue, 30 Jun 2015 23:18:35 -0700 Message-Id: <7229FFD6-0C9B-4D8B-851C-16080A8C34B4@mhcomputing.net> To: "" Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) Subject: [dpdk-dev] rte_lpm4 with expanded next hop support now available X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 06:18:42 -0000 Hello, Based on the wonderful assistance from Vladimir and Stephen and a close = friend of mine that is a hypervisor developer who helped me reverse = engineer and rewrite rte_lpm_lookupx4, I have got a known-working = version of rte_lpm4 with expanded 24 bit next hop support available = here: https://github.com/megahall/dpdk_mhall/tree/megahall/lpm-expansion I'm going to be working on rte_lpm6 next, it seems to take a whole ton = of memory to run the self-test, if anybody knows how much that would = help, as it seems to run out when I tried it. Sadly this change is not ABI compatible or performance compatible with = the original rte_lpm because I had to hack on the bitwise layout to get = more data in there, and it will run maybe 50% slower because it has to = access some more memory. Despite all this I'd really like to do the right thing find a way to = contribute it back, perhaps as a second kind of rte_lpm, so I wouldn't = be the only person using it and forking the code when I already met = several others who needed it. I could use some ideas how to handle the = situation. Matthew.=