Re: [PATCH v8 21/22] hash: move rte_hash_set_alg out header

2023-02-21 Thread David Marchand
On Tue, Feb 21, 2023 at 12:38 AM Stephen Hemminger wrote: > diff --git a/lib/hash/rte_hash_crc.c b/lib/hash/rte_hash_crc.c > new file mode 100644 > index ..c59eebccb1eb > --- /dev/null > +++ b/lib/hash/rte_hash_crc.c > @@ -0,0 +1,63 @@ > +/* SPDX-License-Identifier: BSD-3-Clause > + *

Re: [PATCH v8 21/22] hash: move rte_hash_set_alg out header

2023-02-21 Thread David Marchand
On Tue, Feb 21, 2023 at 12:38 AM Stephen Hemminger wrote: > > The code for setting algorithm for hash is not at all perf sensitive, > and doing it inline has a couple of problems. First, it means that if > multiple files include the header, then the initialization gets done > multiple times. But a