On Tue, Mar 20, 2018 at 09:36:25PM +0530, Pavan Nikhilesh wrote: > 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. > I think drivers/common is a better solution as it's not just platform buses or SoC's that this occurs with. Even PCI devices can export multiple functions, such as in the QAT case, which leads to the case where you have shared code between different driver classes. I don't think the PCI bus driver is a good place to put QAT shared code. :-)
- [dpdk-dev] [PATCH 1/2] drivers: add common folder Pavan Nikhilesh
- [dpdk-dev] [PATCH 2/2] octeontx: move mbox to commo... Pavan Nikhilesh
- Re: [dpdk-dev] [PATCH 1/2] drivers: add common folde... Shreyansh Jain
- Re: [dpdk-dev] [PATCH 1/2] drivers: add common f... Pavan Nikhilesh
- [dpdk-dev] [PATCH v2 1/2] drivers: add common folde... Pavan Nikhilesh
- [dpdk-dev] [PATCH v2 2/2] octeontx: move mbox t... Pavan Nikhilesh
- Re: [dpdk-dev] [PATCH v2 2/2] octeontx: move... Hemant Agrawal
- Re: [dpdk-dev] [PATCH v2 2/2] octeontx: ... Pavan Nikhilesh
- Re: [dpdk-dev] [PATCH v2 1/2] drivers: add commo... Thomas Monjalon
- Re: [dpdk-dev] [PATCH v2 1/2] drivers: add c... Pavan Nikhilesh
- Re: [dpdk-dev] [PATCH v2 1/2] drivers: a... Bruce Richardson
- Re: [dpdk-dev] [PATCH v2 1/2] drive... Thomas Monjalon
- Re: [dpdk-dev] [PATCH v2 1/2] d... Trahe, Fiona
- [dpdk-dev] [PATCH v3 1/2] drivers: add common folde... Pavan Nikhilesh
- [dpdk-dev] [PATCH v3 2/2] octeontx: move mbox t... Pavan Nikhilesh
- Re: [dpdk-dev] [PATCH v3 2/2] octeontx: move... Thomas Monjalon
- Re: [dpdk-dev] [PATCH v3 2/2] octeontx: ... Pavan Nikhilesh
- Re: [dpdk-dev] [PATCH v3 1/2] drivers: add commo... Thomas Monjalon
- [dpdk-dev] [PATCH v4 1/2] drivers: add common folde... Pavan Nikhilesh
- [dpdk-dev] [PATCH v4 2/2] octeontx: move mbox t... Pavan Nikhilesh
- Re: [dpdk-dev] [PATCH v4 2/2] octeontx: move... Jerin Jacob