Re: [dpdk-dev] [PATCH 01/15] vhost: remove vhost kernel header inclusion

2019-09-03 Thread Maxime Coquelin
On 9/2/19 8:03 AM, Tiwei Bie wrote: > On Thu, Aug 29, 2019 at 09:59:46AM +0200, Maxime Coquelin wrote: >> This is preliminary rework for virtio-vdpa driver, in >> order to avoid conflicts with Virtio PMD headers. >> >> Generally, I think it is better not to include kernel >> headers in RTE heade

Re: [dpdk-dev] [PATCH 01/15] vhost: remove vhost kernel header inclusion

2019-09-01 Thread Tiwei Bie
On Thu, Aug 29, 2019 at 09:59:46AM +0200, Maxime Coquelin wrote: > This is preliminary rework for virtio-vdpa driver, in > order to avoid conflicts with Virtio PMD headers. > > Generally, I think it is better not to include kernel > headers in RTE headers, especially in the case of Vhost > and Vir

[dpdk-dev] [PATCH 01/15] vhost: remove vhost kernel header inclusion

2019-08-29 Thread Maxime Coquelin
This is preliminary rework for virtio-vdpa driver, in order to avoid conflicts with Virtio PMD headers. Generally, I think it is better not to include kernel headers in RTE headers, especially in the case of Vhost and Virtio which just re-use the kernel definitions, and has no runtime dependencies