Re: [dpdk-dev] [PATCH 1/3] rawdev: allow calling info function for unknown rawdevs

2020-07-07 Thread Bruce Richardson
On Tue, Jul 07, 2020 at 02:18:31PM +0200, Thomas Monjalon wrote: > 06/07/2020 12:31, Bruce Richardson: > > To call the rte_rawdev_info_get() function, the user currently has to > > know the underlying type of the device in order to pass an appropriate > > structure or buffer as the dev_private poin

Re: [dpdk-dev] [PATCH 1/3] rawdev: allow calling info function for unknown rawdevs

2020-07-07 Thread Thomas Monjalon
06/07/2020 12:31, Bruce Richardson: > To call the rte_rawdev_info_get() function, the user currently has to know > the underlying type of the device in order to pass an appropriate structure > or buffer as the dev_private pointer in the info structure. By allowing a > NULL value for this field, we

Re: [dpdk-dev] [PATCH 1/3] rawdev: allow calling info function for unknown rawdevs

2020-07-06 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

[dpdk-dev] [PATCH 1/3] rawdev: allow calling info function for unknown rawdevs

2020-07-06 Thread Bruce Richardson
To call the rte_rawdev_info_get() function, the user currently has to know the underlying type of the device in order to pass an appropriate structure or buffer as the dev_private pointer in the info structure. By allowing a NULL value for this field, we can skip getting the device-specific info an