Re: [PATCH v4 1/2] event/*: set device pointer for vdev-based eventdevs

2023-10-18 Thread David Marchand
On Wed, Oct 18, 2023 at 2:26 PM Bruce Richardson wrote: > > The eventdevs based on vdevs, rather than on e.g. HW PCI devices, were, > as a rule, not setting the ".dev" pointer in the eventdev structure. > This caused issues as a NULL pointer was returned in calls to info_get, > triggering crashes

[PATCH v4 1/2] event/*: set device pointer for vdev-based eventdevs

2023-10-18 Thread Bruce Richardson
The eventdevs based on vdevs, rather than on e.g. HW PCI devices, were, as a rule, not setting the ".dev" pointer in the eventdev structure. This caused issues as a NULL pointer was returned in calls to info_get, triggering crashes if the pointer is passed unchecked to e.g. rte_dev_name() to print