[ovs-dev] [PATCH v3] dpdk: Migrate to the new pdump API.

Ilya Maximets i.maximets at ovn.org
Tue Nov 12 19:40:57 UTC 2019


On 12.11.2019 19:51, Stokes, Ian wrote:
> 
> 
> On 11/12/2019 5:15 PM, David Marchand wrote:
>> On Tue, Nov 12, 2019 at 6:07 PM Stokes, Ian <ian.stokes at intel.com> wrote:
>>> On 11/11/2019 3:01 PM, Ilya Maximets wrote:
>>>> DPDK commit 660098d61f57 ("pdump: use generic multi-process channel")
>>>> switched pdump to use generic DPDK IPC instead of sockets.
>>>> Old API was deprecated and removed.  Updating OVS code accordingly.
>>>>
>>>> Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
>>>
>>> Thanks for the patch Ilya.
>>>
>>> I see compilation passing now on dpdk-latest with this applied.
>>>
>>> https://travis-ci.org/istokes/ovs/builds/610915636
>>>
>>> I still had issues with running PDUMP, but those issues are specific to
>>> PDUMP setup in my environment. A separate issue we can discuss further
>>> on the deprecation thread as it seems unrelated to this patch.
>>>
>>> @David, are you happy to ack the patch (I see some of the changes are
>>> from your side).
>>
>> I did not work on the crash I saw, but it was most likely a problem on my side.
>> This looks good to me.
> 
> From a some further testing on my side I'm also seeing a crash, specifically OVS crashes out once packets are received. PDUMP is still running but complains of being unable to communicate with the primary process and then exits. Is this similar to what you saw?
> 
> @Ilya, by chance did you see anything like this?


Honestly, I never tried to use pdump, and I don't really want to try
preparing the setup for it (building ASLR disabled kernel and stuff).


> I'll investigate further myself tomorrow. I was going to hold off on the merge in the meantime. Thoughts?

There are 2 options here:
1. Apply this patch and hope that DPDK will be fixed someday.
   + Optionally apply deprecation patch.
2. Completely remove pdump support now without prior deprecation
   because it just doesn't work.

Best regards, Ilya Maximets.


More information about the dev mailing list