I have added macros to help find the parameters and I have added mempool functions that allow you to determine if you can use the mempool and what params it needs. The new mempool functions are mentioned in the docs for ptr compress.
Please take a look at v11. I did not add a new make pkt buf API that takes mempool flags as this would be a much bigger task requiring a lot of new APIs and I think this is something that is useful but not directly related to this patchset. It's something I could I develop separately without having to worry about 24.07 deadlines.