[dpdk-dev] [PATCH 1/2] net/memif: enable loopback

Július Milan jmilan.dev at gmail.com
Mon Mar 9 13:09:05 CET 2020


On Thu, Feb 27, 2020 at 04:46:09PM +0000, Ferruh Yigit wrote:
>On 2/19/2020 8:18 AM, Július Milan wrote:
>> With this patch it is possible to connect 2 DPDK memifs into loopback,
>> i.e. when they have the same id and different roles, as for example:
>>   "--vdev=net_memif0,role=master,id=0"
>>   "--vdev=net_memif1,role=slave,id=0"
>> 
>> Signed-off-by: Július Milan <jmilan.dev at gmail.com>
>> ---
>>  drivers/net/memif/memif_socket.c  | 30 ++++++++++++++----------------
>>  drivers/net/memif/rte_eth_memif.c |  1 +
>>  drivers/net/memif/rte_eth_memif.h |  1 +
>>  3 files changed, 16 insertions(+), 16 deletions(-)
>
>Hi Július,
>
>Can you please document this new feature in the memif documentation, and it may
>be good to give a sample testpmd commands like ones already exist in that doc?
>
>Thanks,
>ferruh
>

Hi Ferruh

Sure, I will send a next patch containing changes to doc/,
not sure about the best workflow in cases like this.

Thanks,
Julius


More information about the dev mailing list