mbox

[0/5] l3fwd and lpm cleanups

Message ID 20200126010911.3733-1-stephen@networkplumber.org (mailing list archive)
Headers

Message

Stephen Hemminger Jan. 26, 2020, 1:09 a.m. UTC
  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(-)