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

2020-03-09 Thread Július Milan
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 --- v2: changed log format

[dpdk-dev] [PATCH] doc: document memif loopback feature

2020-03-09 Thread Július Milan
Shows the example of how to connect 2 memif ports into loopback and test the communication. Signed-off-by: Július Milan --- doc/guides/nics/memif.rst | 18 ++ 1 file changed, 18 insertions(+) diff --git a/doc/guides/nics/memif.rst b/doc/guides/nics/memif.rst index 4d7f0086a

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

2020-03-09 Thread Július Milan
On Thu, Feb 27, 2020 at 04:46:09PM +, 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=n

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

2020-03-09 Thread Július Milan
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 --- drivers/net/memif/

[dpdk-dev] [PATCH 0/2] net/memif: loopback & init fix

2020-02-19 Thread Július Milan
Series enables loopback for memif and fixes one issue found during testing of loopback functionality. Július Milan (2): net/memif: enable loopback net/memif: fix init handling when already connected memif_socket.c | 44 ++-- rte_eth_memif.c |1

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

2020-02-19 Thread Július Milan
Series enables loopback for memif and fixes one issue found during testing of loopback functionality. Július Milan (2): net/memif: enable loopback net/memif: fix init handling when already connected memif_socket.c | 44 ++-- rte_eth_memif.c |1

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

2020-02-19 Thread Július Milan
Series enables loopback for memif and fixes an issue found during testing of loopback functionality. Július Milan (2): net/memif: enable loopback net/memif: fix init handling when already connected memif_socket.c | 44 ++-- rte_eth_memif.c |1

[dpdk-dev] [PATCH 2/2] net/memif: fix init handling when already connected

2020-02-19 Thread Július Milan
while old connection remains functional. Fixes: 09c7e63a71f9 ("net/memif: introduce memory interface PMD") Signed-off-by: Július Milan --- drivers/net/memif/memif_socket.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/net/memif/memif_socket.c

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

2020-02-19 Thread Július Milan
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 --- drivers/net/memif/

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

2020-02-05 Thread Július Milan
On Wed, Feb 05, 2020 at 04:00:19PM +, Ferruh Yigit wrote: > On 2/5/2020 3:41 PM, 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=n

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

2020-02-05 Thread Július Milan
face PMD") Signed-off-by: Július Milan --- drivers/net/memif/memif_socket.c | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/drivers/net/memif/memif_socket.c b/drivers/net/memif/memif_socket.c index ad5e30b96..552d3bec1 100644 --- a/drivers/net/memif/me

[dpdk-dev] [PATCH] net/memif: add dev_link info

2020-02-04 Thread Július Milan
This information is useful or needed for user applications as t-rex. Signed-off-by: Július Milan --- drivers/net/memif/rte_eth_memif.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/memif/rte_eth_memif.c b/drivers/net/memif/rte_eth_memif.c index 8dd1d0d63..27c0f0924

[dpdk-dev] [PATCH] net/memif: add dev_link info

2020-02-04 Thread Július Milan
This information is useful or needed for user applications as t-rex. Signed-off-by: Július Milan --- drivers/net/memif/rte_eth_memif.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/memif/rte_eth_memif.c b/drivers/net/memif/rte_eth_memif.c index 8dd1d0d63..27c0f0924

[dpdk-dev] [PATCH] net/af_xdp: fix xdp_get_channels_info return value

2019-07-12 Thread Július Milan
Procedure xdp_get_channels_info was returning error code -1 in case of ioctl command SIOCETHTOOL was not supported. This patch sets return value back to 0 as it is valid case. Fixes: 339b88c6a9 ("net/af_xdp: support multi-queue") Signed-off-by: Július Milan --- drivers/

[dpdk-dev] [PATCH] net/af_xdp: fix xdp_get_channels_info return value

2019-07-12 Thread Július Milan
Procedure xdp_get_channels_info was returning error code -1 in case of unsupported ioctl command SIOCETHTOOL. This patch sets return value back to 0 as it is valid case. Fixes: 339b88c6a9 ("net/af_xdp: support multi-queue") Signed-off-by: Július Milan --- drivers/net/af_xdp/rte_et