[dpdk-dev] [PATCH v2 1/2] drivers: add common folder

Pavan Nikhilesh pbhagavatula at caviumnetworks.com
Tue Mar 20 17:06:25 CET 2018


Hi Thomas,

On Tue, Mar 20, 2018 at 04:45:47PM +0100, Thomas Monjalon wrote:
> 20/03/2018 15:40, Pavan Nikhilesh:
> > Add driver/common folder and skeleton makefile for adding commonly used
> > functions across mempool, event and net devices.
>
> I am not sure there is a real benefit of introducing such new directory.
> Is it only solving the choice of where you add files used
> by several drivers?
> Is drivers/bus/X/ the directory of choice for platform shared files?

drivers/bus doesn't seem to be a appropriate abstraction common API's
used across multiple PMD's.

This change is in regards with the discussion on ml:
http://dpdk.org/ml/archives/dev/2018-March/092822.html

drivers/common seems to be a popular opinion but maybe we could use something
like drivers/SoC or if you have something in mind please suggest.

Thanks,
Pavan.

>
>
>


More information about the dev mailing list