On 20.11.2020., at 20:59, hem...@mnkcg.com wrote: > > -----Original Message----- > From: Damjan Marion <dmar...@me.com> > Sent: Friday, November 20, 2020 2:16 PM > To: hem...@mnkcg.com > Cc: y...@wangsu.com; nra...@cisco.com; vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] why tunnel interfaces do not support device-input > feature? > > >> What are the benefits compared to normal hash table lookup we do today. >> Any perf numbers to share? > > My need was to hash a 6-tuple (src-ip, dst-ip, ip-tos, protocol/ip6-nextHdr, > l4src-port, l4-dst-port) for ip4 and ip6 and this is why I just used the > paper's hash tuple. I did look at VPP's N-tuple classify implementation but > didn't find the exact algorithm the paper uses. Sorry, right now, I have > only used the paper's hash, so I don't have any perf numbers to share. When > I get a chance, I will use VPP API, run tests, and get back.
You can simply construct 128-bit/320-bit key and put it into the bihash table. — Damjan
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18115): https://lists.fd.io/g/vpp-dev/message/18115 Mute This Topic: https://lists.fd.io/mt/78307484/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-