[dpdk-dev] [PATCH v4 1/5] lib: add Port Representor library

Remy Horton remy.horton at intel.com
Wed Jan 10 12:40:27 CET 2018


On 09/01/2018 22:06, Ferruh Yigit wrote:
> On 1/8/2018 2:37 PM, Remy Horton wrote:
[..]

>> +	TAILQ_FOREACH(broker, &broker_list, next) {
> Is there any type of synchronization required to protect the list?

Might be required if an app decides to call the functions from multiple 
lcores, but in that circumstance locking probably should be the 
responsibility of the app.


> There was discussion about having new APIs as EXPERIMENTAL for a release, is it
> agreed on. John, Luca do you remember?

I also remember some discussion along those lines, but not sure what the 
final outcome was.


>> +	void *private_data;
>> +	/**< broker private data */
>
> Is this private_data used?

The PMD-specific port representor support functions use it.



More information about the dev mailing list