Re: [dpdk-dev] [PATCH v2 03/12] cryptodev: avoid dependency on rte_vdev.h

2017-10-08 Thread Tan, Jianfeng
y...@fridaylinux.org; Maxime Coquelin; Tetsuya Mukawa; > Yigit, Ferruh > Subject: Re: [dpdk-dev] [PATCH v2 03/12] cryptodev: avoid dependency on > rte_vdev.h > > On Thu, Sep 28, 2017 at 3:55 PM, Jianfeng Tan > wrote: > > The helper API, rte_cryptodev_vdev_pmd_init(), has a par

Re: [dpdk-dev] [PATCH v2 03/12] cryptodev: avoid dependency on rte_vdev.h

2017-10-05 Thread Jan Blunck
On Thu, Sep 28, 2017 at 3:55 PM, Jianfeng Tan wrote: > The helper API, rte_cryptodev_vdev_pmd_init(), has a parameter of > struct rte_vdev_device *, which needs to include rte_vdev.h. > > We will move vdev into drivers/bus, so we need to avoid such > dependency. And also, we cannot break the ABI.

[dpdk-dev] [PATCH v2 03/12] cryptodev: avoid dependency on rte_vdev.h

2017-09-28 Thread Jianfeng Tan
The helper API, rte_cryptodev_vdev_pmd_init(), has a parameter of struct rte_vdev_device *, which needs to include rte_vdev.h. We will move vdev into drivers/bus, so we need to avoid such dependency. And also, we cannot break the ABI. This patch changes that pointer to void *, and defines an inte