[dpdk-dev] [PATCH 07/13] devargs: add busname string field

Gaëtan Rivet gaetan.rivet at 6wind.com
Thu Jul 13 15:17:12 CEST 2017


On Tue, Jul 11, 2017 at 07:25:06PM -0400, Jan Blunck wrote:
> This adds the busname as a string to struct rte_devargs. The function
> rte_eal_devargs_add() is adding the busname based on the devtype which
> is ok for now since the function is deprecated anyway.
> 
> As a side-effect this is also no longer validating the PCI device name.
> This was done only for PCI devices anyway but didn't guarantee that this
> device exists.
> 

Why add the bus name as a string instead of using the bus handle already
present within the rte_devargs?

I don't understand the need for this commit, can you explain the problem
you are solving?

-- 
Gaëtan Rivet
6WIND


More information about the dev mailing list