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

Ferruh Yigit ferruh.yigit at intel.com
Thu Feb 27 17:46:09 CET 2020


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



More information about the dev mailing list