[dpdk-dev] [PATCH] net/ena: get device info statically

Ferruh Yigit ferruh.yigit at intel.com
Mon Feb 18 17:34:09 CET 2019


On 2/15/2019 8:36 AM, Michal Krawczyk wrote:
> Whenever the app is calling rte_eth_dev_info_get(), it shouldn't use the
> admin command. It was causing problems, if it was called from the
> secondary process - the main process was crashing, and the secondary app
> wasn't getting any result, as the admin request couldn't be processed by
> the process which was requesting the data.
> 
> To fix that, the data is being written to the adapter structure during
> device initialization routine.
> 
> Signed-off-by: Michal Krawczyk <mk at semihalf.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list