On Thu, 19 Jul 2018 17:45:56 +0100
Ferruh Yigit <[email protected]> wrote:
> Calling rte_eth_dev_info_get() on secondary process cause a crash
> because eth_dev->device is not set properly.
>
> Fixes: ee27edbe0c10 ("drivers/net: share vdev data to secondary process")
> Cc: [email protected]
>
> Signed-off-by: Ferruh Yigit <[email protected]>
Good catch.
Maybe eth_dev should do this for the device drivers?
Better to make device drivers as simple and safe as possible.
There seem to be a lot of bugs related to secondary process model.
Do we have a test suite for that.