Re: [dpdk-dev] [PATCH v5 01/12] eal/bus: introduce bus abstraction

2017-01-09 Thread Shreyansh Jain
Hello Ferruh, On Monday 09 January 2017 08:52 PM, Ferruh Yigit wrote: On 12/26/2016 1:23 PM, Shreyansh Jain wrote: <...> + +DPDK_17.02 { + global: + + rte_bus_list; + rte_eal_bus_add_device; + rte_eal_bus_add_driver; + rte_eal_bus_get; + rte_eal_bus_dump; +

Re: [dpdk-dev] [PATCH v5 01/12] eal/bus: introduce bus abstraction

2017-01-09 Thread Ferruh Yigit
On 12/26/2016 1:23 PM, Shreyansh Jain wrote: <...> > + > +DPDK_17.02 { > + global: > + > + rte_bus_list; > + rte_eal_bus_add_device; > + rte_eal_bus_add_driver; > + rte_eal_bus_get; > + rte_eal_bus_dump; > + rte_eal_bus_register; > + rte_eal_bus_insert_device; Th

Re: [dpdk-dev] [PATCH v5 01/12] eal/bus: introduce bus abstraction

2017-01-08 Thread Shreyansh Jain
On Friday 06 January 2017 08:25 PM, Thomas Monjalon wrote: 2017-01-06 16:01, Shreyansh Jain: On Wednesday 04 January 2017 03:22 AM, Thomas Monjalon wrote: 2016-12-26 18:53, Shreyansh Jain: +/** + * A structure describing a generic bus. + */ +struct rte_bus { + TAILQ_ENTRY(rte_bus) next;

Re: [dpdk-dev] [PATCH v5 01/12] eal/bus: introduce bus abstraction

2017-01-06 Thread Thomas Monjalon
2017-01-06 16:01, Shreyansh Jain: > On Wednesday 04 January 2017 03:22 AM, Thomas Monjalon wrote: > > 2016-12-26 18:53, Shreyansh Jain: > >> +/** > >> + * A structure describing a generic bus. > >> + */ > >> +struct rte_bus { > >> + TAILQ_ENTRY(rte_bus) next; /**< Next bus object in linked list

Re: [dpdk-dev] [PATCH v5 01/12] eal/bus: introduce bus abstraction

2017-01-06 Thread Shreyansh Jain
On Wednesday 04 January 2017 03:22 AM, Thomas Monjalon wrote: 2016-12-26 18:53, Shreyansh Jain: +DPDK_17.02 { + global: + + rte_bus_list; + rte_eal_bus_add_device; + rte_eal_bus_add_driver; + rte_eal_bus_get; + rte_eal_bus_dump; + rte_eal_bus_register; +

Re: [dpdk-dev] [PATCH v5 01/12] eal/bus: introduce bus abstraction

2017-01-03 Thread Thomas Monjalon
2016-12-26 18:53, Shreyansh Jain: > +DPDK_17.02 { > + global: > + > + rte_bus_list; > + rte_eal_bus_add_device; > + rte_eal_bus_add_driver; > + rte_eal_bus_get; > + rte_eal_bus_dump; > + rte_eal_bus_register; > + rte_eal_bus_insert_device; > + rte_eal_bus_remove_

[dpdk-dev] [PATCH v5 01/12] eal/bus: introduce bus abstraction

2016-12-26 Thread Shreyansh Jain
This patch introduces the rte_bus abstraction for devices and drivers in EAL framework. The model is: - One or more buses are connected to a CPU (or core) - One or more devices are conneted to a Bus - Drivers are running instances which manage one or more devices - Bus is responsible for identi