DPDK usage discussions
 help / color / mirror / Atom feed
From: Pragash Vijayaragavan <pxv3620@rit.edu>
To: users <users@dpdk.org>
Subject: [dpdk-users] lpm trie
Date: Wed, 13 Dec 2017 14:56:36 -0500	[thread overview]
Message-ID: <CANp7S20g4tA4E2Asec-8NBxGOi1X+REFbgvw+pkDxVd-Rn_hdQ@mail.gmail.com> (raw)

Hi,

Can someone let me know which trie algorithm is used in dpdk for lpm.
Is it a simple trie, without any level or path compression or a different
trie.


I saw this code :

struct rte_lpm_tbl_entry {
        uint32_t depth       :6;
        uint32_t valid_group :1;
        uint32_t valid       :1;
        uint32_t next_hop    :24;

};


Thanks,

Pragash Vijayaragavan
Grad Student at Rochester Institute of Technology
email : pxv3620@rit.edu
ph : 585 764 4662

                 reply	other threads:[~2017-12-13 19:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANp7S20g4tA4E2Asec-8NBxGOi1X+REFbgvw+pkDxVd-Rn_hdQ@mail.gmail.com \
    --to=pxv3620@rit.edu \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).