17 Feb
2024
17 Feb
'24
3:22 p.m.
On 2/16/24 19:24, Stefano Brivio wrote:
On Fri, 16 Feb 2024 19:05:39 +0100 Laurent Vivier
wrote: ...
I think I will send the v3 of my series without fixing that because I don't have enough time this week. I will address the problem later. No problem! I will also try to spend a moment and see if there's some reasonable solution I can suggest. Thanks,
I can imagine 4 solutions: * to use inline functions (could it helps the compiler to manage the alignment problem?) * to use C macros * to use these new functions only with vhost-user as we know pointers will be aligned. * to include structure we want to address in a generic wrapperstructure that will unalign it as it is done with the current structure. Thanks, Laurent