mbox series

[0/6] fib: implement AVX512 vector lookup

Message ID 1583757826-375246-1-git-send-email-vladimir.medvedkin@intel.com (mailing list archive)
Headers show
Series fib: implement AVX512 vector lookup | expand

Message

Medvedkin, Vladimir March 9, 2020, 12:43 p.m. UTC
This patch series implements vectorized lookup using AVX512 for
ipv4 dir24_8 and ipv6 trie algorithms.
Also introduced rte_fib_set_lookup_fn() to change lookup function type.
Added option to select lookup function type in testfib application.

Vladimir Medvedkin (6):
  eal: introduce zmm type for AVX 512-bit
  fib: make lookup function type configurable
  fib: introduce AVX512 lookup
  fib6: make lookup function type configurable
  fib6: introduce AVX512 lookup
  app/testfib: add support for different lookup functions

 app/test-fib/main.c                               |  58 +++++-
 lib/librte_eal/common/include/arch/x86/rte_vect.h |  20 ++
 lib/librte_fib/dir24_8.c                          | 103 ++++++++--
 lib/librte_fib/dir24_8.h                          |   2 +-
 lib/librte_fib/dir24_8_avx512.h                   | 116 +++++++++++
 lib/librte_fib/rte_fib.c                          |  20 +-
 lib/librte_fib/rte_fib.h                          |  23 +++
 lib/librte_fib/rte_fib6.c                         |  19 +-
 lib/librte_fib/rte_fib6.h                         |  21 ++
 lib/librte_fib/rte_fib_version.map                |   2 +
 lib/librte_fib/trie.c                             |  83 ++++++--
 lib/librte_fib/trie.h                             |   2 +-
 lib/librte_fib/trie_avx512.h                      | 231 ++++++++++++++++++++++
 13 files changed, 670 insertions(+), 30 deletions(-)
 create mode 100644 lib/librte_fib/dir24_8_avx512.h
 create mode 100644 lib/librte_fib/trie_avx512.h

Comments

Thomas Monjalon April 16, 2020, 9:55 a.m. UTC | #1
09/03/2020 13:43, Vladimir Medvedkin:
> This patch series implements vectorized lookup using AVX512 for
> ipv4 dir24_8 and ipv6 trie algorithms.
> Also introduced rte_fib_set_lookup_fn() to change lookup function type.
> Added option to select lookup function type in testfib application.

If I understand well, this series is postponed to 20.08.
Vladimir, I think it would be good to focus on having your rte_hash
patches completed, reviewed and merged before 20.05-rc1.