Re: [dpdk-dev] [PATCH v3 0/3] restrict pointer aliasing with a common wrapper

2020-07-10 Thread David Marchand
On Fri, Jul 10, 2020 at 4:42 AM Joyce Kong wrote: > > As the 'restrict' keyword is recognized in C99, this patchset is to > add a wrapper defining '__rte_restrict' which can be supported by > all compilers. Then replace the existing 'restrict' and '__restrict' > in different vpmds, and optimize vh

[dpdk-dev] [PATCH v3 0/3] restrict pointer aliasing with a common wrapper

2020-07-09 Thread Joyce Kong
As the 'restrict' keyword is recognized in C99, this patchset is to add a wrapper defining '__rte_restrict' which can be supported by all compilers. Then replace the existing 'restrict' and '__restrict' in different vpmds, and optimize vhost/virtio with restricted pointer aliasing for more aggressi