Hi Thomas,

пт, 22 окт. 2021 г. в 22:56, Thomas Monjalon <tho...@monjalon.net>:

> 11/04/2021 20:51, Medvedkin, Vladimir:
> > On 08/04/2021 18:56, Stephen Hemminger wrote:
> > >>   app/test/test_thash.c       | 468 +++++++++++++++++++++++++++++++-
> > >>   lib/librte_hash/meson.build |   3 +-
> > >>   lib/librte_hash/rte_thash.c | 637
> ++++++++++++++++++++++++++++++++++++++++++++
> > >>   lib/librte_hash/rte_thash.h | 180 +++++++++++++
> > >>   lib/librte_hash/version.map |   8 +
> > >>   5 files changed, 1289 insertions(+), 7 deletions(-)
> > >>   create mode 100644 lib/librte_hash/rte_thash.c
> > >
> > > It would be good to show how this could be used in an application.
> > > Maybe yet another variant/flag to l3fwd example.
> >
> > Agree, I think it would be great to have a simple NAT implementation in
> > examples. We've discussed this and will probably add in next releases.
>
> Vladimir, any update please?
> Could you provide it in 21.11?
>
>
>
>
It won't go in 21.11.
The prioritization was done in favour of the vectorized implementation of
the Toeplitz hash function, the scalar implementation takes about 200
cycles for a 12 byte tuple, which affects on a connections per second
performance of the NAT example. The new implementation is about 20 times
faster.

-- 
Regards,
Vladimir

Reply via email to