Re: [PATCH v7 1/4] eal: add pointer compression functions

2024-03-07 Thread David Marchand
Hello Paul, Before sending the v8, please fix small issues I found. On Fri, Mar 1, 2024 at 11:21 AM Paul Szczepanek wrote: > > Add a new utility header for compressing pointers. The provided > functions can store pointers in 32-bit offsets. > > The compression takes advantage of the fact that p

[PATCH v7 1/4] eal: add pointer compression functions

2024-03-01 Thread Paul Szczepanek
Add a new utility header for compressing pointers. The provided functions can store pointers in 32-bit offsets. The compression takes advantage of the fact that pointers are usually located in a limited memory region (like a mempool). We can compress them by converting them to offsets from a base