[dpdk-dev] spinlock: Move constructor function out of header file

Damjan Marion (damarion) damarion at cisco.com
Sat Jul 16 13:14:48 CEST 2016


> On 15 Jul 2016, at 12:09, Thomas Monjalon <thomas.monjalon at 6wind.com> wrote:
> 
> 2016-07-15 09:54, Damjan Marion:
>> So we don’t have much pending beside 2 patches for i40e which 
>> Jeff submitted yesterday and they will i guess need to wait for 16.11.
> 
> Yes these i40e patches will probably have to wait 16.11.
> 
>> Only one which I have on my mind is:
>> 
>> https://git.fd.io/cgit/vpp/tree/dpdk/dpdk-16.04_patches/0005-Allow-applications-to-override-rte_delay_us.patch
>> 
>> This is big issue for us when running single-core, as some
>> drivers tend to call rte_delay_us for a long time, and that is 
>> causing packet drops. I.e. if you do stop/start on one interface
>> and you are running BFD on another one, BFD will fail…
>> 
>> Current patch is hack, it basically allows us to override 
>> delay function so we can de-schedule it,
>> do some other useful work while waiting for delay to finish
>> and then give control back to original function…
>> 
>> Maybe we can fix this by providing a delay callback functionality...
> 
> Yes it could be an idea.
> Please send a RFC patch.

OK, I will ask one of our guys to work on it...


More information about the dev mailing list