[PATCH v2] net/ring: add monitor callback

2022-09-02 Thread Herakliusz Lipiec
Currently ring pmd does not support ``rte_power_monitor`` api. This patch adds support by adding monitor callback that is called whenever we enter sleep state and need to check if it is time to wake up. Signed-off-by: Herakliusz Lipiec Acked-by: Bruce Richardson --- v2: - changed umonitor

[PATCH] net/ring: add umonitor callback

2022-08-03 Thread Herakliusz Lipiec
Currently ring pmd does not support ``rte_power_monitor`` api. This patch adds support by adding umonitor callback that is called whenever we enter sleep state and need to check if it is time to wake up. Signed-off-by: Herakliusz Lipiec --- drivers/net/ring/rte_eth_ring.c | 23

[PATCH v2] doc/prog_guide: fix readability in lib vhost prog guide

2022-06-23 Thread Herakliusz Lipiec
fix grammar issues and readbility in vhost library programmer guide Fixes: 768274ebbd5e ("vhost: avoid populate guest memory") Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- doc/guides/prog_guide/vhost_lib.rst | 18 +- 1 file changed, 9 insertions(+), 9

[PATCH v3 3/3] examples/vhost: update vhost usage message

2022-06-21 Thread Herakliusz Lipiec
updating vhost usage message to be aligned with the documentation. Signed-off-by: Herakliusz Lipiec Reviewed-by: Chenbo Xia --- examples/vhost/main.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/vhost/main.c b/examples/vhost/main.c index e7fee5aa1b

[PATCH v3 2/3] doc: update vhost sample app docs

2022-06-21 Thread Herakliusz Lipiec
with vfio-pci. Signed-off-by: Herakliusz Lipiec --- V3: * fix apply issues V2: * Rewording portmask description as suggested by Chenbo. --- doc/guides/sample_app_ug/vhost.rst | 67 -- 1 file changed, 35 insertions(+), 32 deletions(-) diff --git a/doc/guides

[PATCH v3 1/3] examples/vhost: update makefile to match meson build system

2022-06-21 Thread Herakliusz Lipiec
Meson build system creates a vhost binary but Makefile and docs reference same as vhost-switch. Updating makefile to match meson and the docs accordingly. Signed-off-by: Herakliusz Lipiec Acked-by: Bruce Richardson --- V2: * Moving relevant doc updates here from second patch as per Bruces

[PATCH v2 3/3] examples/vhost: update vhost usage message

2022-06-21 Thread Herakliusz Lipiec
updating vhost usage message to be aligned with the documentation. Signed-off-by: Herakliusz Lipiec Reviewed-by: Chenbo Xia --- examples/vhost/main.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/vhost/main.c b/examples/vhost/main.c index c4d46de1c5

[PATCH v2 2/3] doc: update vhost sample app docs

2022-06-21 Thread Herakliusz Lipiec
with vfio-pci. Signed-off-by: Herakliusz Lipiec --- V2: * Rewording portmask description as suggested by Chenbo. --- doc/guides/sample_app_ug/vhost.rst | 67 -- 1 file changed, 35 insertions(+), 32 deletions(-) diff --git a/doc/guides/sample_app_ug/vhost.rst b/doc

[PATCH v2 1/3] examples/vhost: update makefile to match meson build system

2022-06-21 Thread Herakliusz Lipiec
Meson build system creates a vhost binary but Makefile and docs reference same as vhost-switch. Updating makefile to match meson and the docs accordingly. Signed-off-by: Herakliusz Lipiec Acked-by: Bruce Richardson --- V2: * Moving relevant doc updates here from second patch as per Bruces

[PATCH 1/3] examples/vhost: update makefile to match meson build system

2022-06-21 Thread Herakliusz Lipiec
Meson build system creates a vhost binary but Makefile and docs reference same as vhost-switch. Updating makefile to match meson and the docs accordingly. Signed-off-by: Herakliusz Lipiec Acked-by: Bruce Richardson --- V2: * Moving relevant doc updates here from second patch as per Bruces

[PATCH 3/3] examples/vhost: update vhost usage message

2022-06-07 Thread Herakliusz Lipiec
updating vhost usage message to be aligned with the documentation. Signed-off-by: Herakliusz Lipiec --- examples/vhost/main.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/vhost/main.c b/examples/vhost/main.c index c4d46de1c5..bb1aadffa9 100644 --- a

[PATCH 2/3] doc: update vhost sample app docs

2022-06-07 Thread Herakliusz Lipiec
with vfio-pci. Finally aligining app name to the binary output by the meson build system. Signed-off-by: Herakliusz Lipiec --- doc/guides/sample_app_ug/vhost.rst | 73 -- 1 file changed, 38 insertions(+), 35 deletions(-) diff --git a/doc/guides/sample_app_ug/vhost.rst

[PATCH 1/3] examples/vhost: update makefile to match meson build system

2022-06-07 Thread Herakliusz Lipiec
Meson build system creates a vhost binary but Makefile and docs reference same as vhost-switch. Updating makefile to match meson. Signed-off-by: Herakliusz Lipiec --- examples/vhost/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/vhost/Makefile b/examples

[PATCH] doc: fix readability in lib vhost prog guide

2022-05-27 Thread Herakliusz Lipiec
fix grammar issues and readbility in vhost library programmer guide Fixes: 768274ebbd5e ("vhost: avoid populate guest memory") Signed-off-by: Herakliusz Lipiec Cc: sta...@dpdk.org --- doc/guides/prog_guide/vhost_lib.rst | 18 +- 1 file changed, 9 insertions(+), 9

[dpdk-dev] [PATCH v3] mk: fix output directory name when compiling with custom kernel header dir

2019-07-19 Thread Herakliusz Lipiec
. Fixes: 3967af352aeb ("mk: install kernel modules") Cc: sta...@dpdk.org Cc: bruce.richard...@intel.com Signed-off-by: Herakliusz Lipiec --- v2: with corrected corrected alignment. v3: change to more readable version. --- mk/rte.sdkinstall.mk | 2 +- 1 file changed, 1 insertion(+),

[dpdk-dev] [PATCH v2] mk: fix output directory name when compiling with custom kernel header dir

2019-07-19 Thread Herakliusz Lipiec
. Fixes: 3967af352aeb ("mk: install kernel modules") Cc: sta...@dpdk.org Cc: bruce.richard...@intel.com Signed-off-by: Herakliusz Lipiec --- resending v2 with corrected corrected alignment. --- mk/rte.sdkinstall.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[dpdk-dev] [PATCH v2] net/i40e: add return check coverity

2019-07-18 Thread Herakliusz Lipiec
add return check for i40e_vsi_delete_mac call in rte_pmd_i40e_remove_vf_mac_addr as per coverity issue. v2: add a fixline to commit message Coverity Issue: 277224 Cc: sta...@dpdk.org Fixes: e0cb96204b71 ("net/i40e: add support for representor ports") Signed-off-by: Herakli

[dpdk-dev] [PATCH] mk: fix output directory name when compiling with custom kernel header dir

2019-07-18 Thread Herakliusz Lipiec
. Cc: sta...@dpdk.org Cc: bruce.richard...@intel.com Signed-off-by: Herakliusz Lipiec --- resending v1 with corrected cc address for stable and corrected alignment. --- mk/rte.sdkinstall.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/rte.sdkinstall.mk b/mk

[dpdk-dev] [PATCH] mk: fix output directory name when compiling with custom kernel header dir

2019-07-18 Thread Herakliusz Lipiec
. Cc: sta...@intel.com Cc: bruce.richard...@intel.com Signed-off-by: Herakliusz Lipiec --- mk/rte.sdkinstall.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk index 5c4215cd7..a602dd6cc 100644 --- a/mk/rte.sdkinstall.mk +++ b/mk

[dpdk-dev] [PATCH] net/i40e: add return check coverity

2019-07-18 Thread Herakliusz Lipiec
add return check for i40e_vsi_delete_mac call in rte_pmd_i40e_remove_vf_mac_addr as per coverity issue. Coverity Issue: 277224 Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- drivers/net/i40e/rte_pmd_i40e.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a

[dpdk-dev] [PATCH v2] app/test: fix autotest_runner crash

2019-06-12 Thread Herakliusz Lipiec
: 22dcd9a4d90f ("test: parallelize unit tests") Cc: anatoly.bura...@intel.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- app/test/autotest_runner.py | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/app/test/autotest_runner.py

[dpdk-dev] [PATCH] app/test: fix autotest_runner crash

2019-06-12 Thread Herakliusz Lipiec
: 22dcd9a4d90f ("test: parallelize unit tests") Cc: anatoly.bura...@intel.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- app/test/autotest_runner.py | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/test/autotest_runner.py b/app/test/autotest

[dpdk-dev] [PATCH v5 2/2] net/tap: fix ipc related memory leak

2019-05-03 Thread Herakliusz Lipiec
) Cc: rasl...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec Acked-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 7f74b5dc9..f8a4169c5 100644 ---

[dpdk-dev] [PATCH v5 1/2] ipc: fix memory leak in sync request

2019-05-03 Thread Herakliusz Lipiec
allocated, which is not true. Fixed by always freeing memory buffers on failure. Bugzilla ID: 228 Fixes: 783b6e54971d ("eal: add synchronous multi-process communication") Cc: jianfeng@intel.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec Reviewed-by: Anatoly Burakov

[dpdk-dev] [PATCH v5 0/2] ipc: fix possible memory leaks

2019-05-03 Thread Herakliusz Lipiec
failure - caller still has to free response buffers on success - patchset reduced from 8 patches to 2 v2: - resending as patchset to make it easier to review it. - changed commit message as requested. - added bugzilla id. Bugzilla ID: 228 Herakliusz Lipiec (2): ipc: fix memory leak in sync request

[dpdk-dev] [PATCH] app/testpmd: add warning message when user sets rxq greater than txq

2019-05-02 Thread Herakliusz Lipiec
add a warning message when user sets port config all rxq value larger than txq in interactive mode. Signed-off-by: Herakliusz Lipiec --- app/test-pmd/cmdline.c | 8 1 file changed, 8 insertions(+) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 5a10c5f38..94be3c6f8

[dpdk-dev] [PATCH v3] net/tap: fix potential buffer overrun

2019-04-29 Thread Herakliusz Lipiec
When secondary to primary process synchronization occours there is no check for number of fds which could cause buffer overrun. Bugzilla ID: 252 Fixes: c9aa56edec8e ("net/tap: access primary process queues from secondary") Cc: rasl...@mellanox.com Cc: sta...@dpdk.org Signed-off-by:

[dpdk-dev] [PATCH v2] net/tap: fix potential buffer overrun

2019-04-25 Thread Herakliusz Lipiec
When secondary to primary process synchronization occours there is no check for number of fds which could cause buffer overrun. Bugzilla ID: 252 Fixes: c9aa56edec8e ("net/tap: access primary process queues from secondary") Cc: rasl...@mellanox.com Cc: sta...@dpdk.org Signed-off-by:

[dpdk-dev] [PATCH] net/tap: fix potential buffer overrun

2019-04-25 Thread Herakliusz Lipiec
When secondary to primary process synchronization occours there is no check for number of fds which could cause buffer overrun. Bugzilla ID: 252 Fixes: c9aa56edec8e ("net/tap: access primary process queues from secondary") Cc: rasl...@mellanox.com Cc: sta...@dpdk.org Signed-off-by:

[dpdk-dev] [PATCH v4 2/2] ipc: fix tap pmd memleak

2019-04-25 Thread Herakliusz Lipiec
) Cc: rasl...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- drivers/net/tap/rte_eth_tap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 7f74b5dc9..f8a4169c5 100644 --- a/drivers/net/tap/rte

[dpdk-dev] [PATCH v4 1/2] ipc: fix rte_mp_request_sync memleak

2019-04-25 Thread Herakliusz Lipiec
allocated, which is not true. Fixed by always freeing memory buffers on failure. Bugzilla ID: 228 Fixes: 783b6e54971d ("eal: add synchronous multi-process communication") Cc: jianfeng@intel.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- lib/librte_eal/common/eal_com

[dpdk-dev] [PATCH v4 0/2] ipc: fix possible memleaks

2019-04-25 Thread Herakliusz Lipiec
patchset - caller is no longer responsible for freeing buffers on failure - caller still has to free response buffers on success v4: - fixed checkpatch issues Herakliusz Lipiec (2): ipc: fix rte_mp_request_sync memleak ipc: fix tap pmd memleak drivers/net/tap/rte_eth_tap.c | 2 +- lib

[dpdk-dev] [PATCH v3 0/2] ipc: fix possible memleaks

2019-04-25 Thread Herakliusz Lipiec
patchset - caller is no longer responsible for freeing buffers on failure - caller still has to free response buffers on success Herakliusz Lipiec (2): ipc: fix rte_mp_request_sync memleak ipc: fix tap pmd memleak drivers/net/tap/rte_eth_tap.c | 2 +- lib/librte_eal/common

[dpdk-dev] [PATCH v3 2/2] ipc: fix tap pmd memleak

2019-04-25 Thread Herakliusz Lipiec
) Cc: rasl...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- drivers/net/tap/rte_eth_tap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 7f74b5dc9..3a74c2a43 100644 --- a/drivers/net/tap/rte

[dpdk-dev] [PATCH v3 1/2] ipc: fix rte_mp_request_sync memleak

2019-04-25 Thread Herakliusz Lipiec
allocated, which is not true. Fixed by always freeing memory buffers on failure. Bugzilla ID: 228 Fixes: 783b6e54971d ("eal: add synchronous multi-process communication") Cc: jianfeng@intel.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- lib/librte_eal/common/eal_com

[dpdk-dev] [PATCH] doc: fix broken link in programmers guide lpm library references

2019-04-24 Thread Herakliusz Lipiec
Bugzilla ID: 235 Fixes: fc1f2750a3ec ("doc: programmers guide") Cc: bernard.iremon...@intel.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- doc/guides/prog_guide/lpm_lib.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/prog_guide/lpm_lib.

[dpdk-dev] [PATCH v2 8/8] ipc: fix net/mlx5 memleak

2019-04-23 Thread Herakliusz Lipiec
nable secondary process to register DMA memory") Cc: ys...@mellanox.com Signed-off-by: Herakliusz Lipiec --- drivers/net/mlx5/mlx5_mp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_mp.c b/drivers/net/mlx5/mlx5_mp.c index cea74adb6..c9915b1d5 1006

[dpdk-dev] [PATCH v2 7/8] ipc: fix net/mlx4 memleak

2019-04-23 Thread Herakliusz Lipiec
Signed-off-by: Herakliusz Lipiec --- drivers/net/mlx4/mlx4_mp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/mlx4/mlx4_mp.c b/drivers/net/mlx4/mlx4_mp.c index 183622453..f4cff7486 100644 --- a/drivers/net/mlx4/mlx4_mp.c +++ b/drivers/net/mlx4/mlx4_mp.c @@ -25

[dpdk-dev] [PATCH v2 6/8] ipc: fix tap pmd memleak

2019-04-23 Thread Herakliusz Lipiec
om Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- drivers/net/tap/rte_eth_tap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index e9fda8cf6..d70412d62 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap/rte

[dpdk-dev] [PATCH v2 5/8] ipc: fix pdump memleak

2019-04-23 Thread Herakliusz Lipiec
.@dpdk.org Signed-off-by: Herakliusz Lipiec Acked-By: Reshma Pattan --- lib/librte_pdump/rte_pdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_pdump/rte_pdump.c b/lib/librte_pdump/rte_pdump.c index 14744b9ff..3787c3e32 100644 --- a/lib/librte_pdump/rte_pdump.c

[dpdk-dev] [PATCH v2 3/8] ipc: fix vdev memleak

2019-04-23 Thread Herakliusz Lipiec
org Signed-off-by: Herakliusz Lipiec --- drivers/bus/vdev/vdev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/bus/vdev/vdev.c b/drivers/bus/vdev/vdev.c index 04f76a63f..7c43f2ddd 100644 --- a/drivers/bus/vdev/vdev.c +++ b/drivers/bus/vdev/vdev.c @@ -429

[dpdk-dev] [PATCH v2 4/8] ipc: fix vfio memleak

2019-04-23 Thread Herakliusz Lipiec
org Signed-off-by: Herakliusz Lipiec Acked-by: Anatoly Burakov --- lib/librte_eal/linux/eal/eal_vfio.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_eal/linux/eal/eal_vfio.c b/lib/librte_eal/linux/eal/eal_vfio.c index 19e70bb66..d293df062 100644

[dpdk-dev] [PATCH v2 2/8] ipc: fix hotplug memleak

2019-04-23 Thread Herakliusz Lipiec
om Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- lib/librte_eal/common/hotplug_mp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_eal/common/hotplug_mp.c b/lib/librte_eal/common/hotplug_mp.c index 4052a5c7f..2c8366afa 100644 --- a/lib/librte_eal/common/hotplug_mp.c

[dpdk-dev] [PATCH v2 0/8] ipc: fix possible memleaks

2019-04-23 Thread Herakliusz Lipiec
allocated, which is not true. Fixed by always initializing message buffer to NULL and calling free everytime rte_mp_request_sync is used. v2: - resending as patchset to make it easier to review it. - changed commit message as requested. - added bugzilla id. Bugzilla ID: 228 Herakliusz Lipiec (8

[dpdk-dev] [PATCH v2 1/8] ipc: fix rte_mp_request_sync memleak

2019-04-23 Thread Herakliusz Lipiec
allocated, which is not true. Fixed by always initializing message buffer to NULL. Bugzilla ID: 228 Fixes: 783b6e54971d ("eal: add synchronous multi-process communication") Cc: jianfeng@intel.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec Acked-by: Anatoly Burakov --- lib/

[dpdk-dev] [PATCH v2] net/tap: ipc add check for number of messages received

2019-04-19 Thread Herakliusz Lipiec
imary process queues from secondary") Cc: rasl...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- drivers/net/tap/rte_eth_tap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index e9fda8cf6.

[dpdk-dev] [PATCH] net/tap: ipc add check for number of messages received

2019-04-18 Thread Herakliusz Lipiec
.@dpdk.org Signed-off-by: Herakliusz Lipiec --- drivers/net/tap/rte_eth_tap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index e9fda8cf6..a619a8850 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drive

[dpdk-dev] [PATCH 8/8] ipc: fix net/mlx5 memleak

2019-04-17 Thread Herakliusz Lipiec
allocated, which is not true. Fixed by always freeing reply message buffers. Fixes: 9a8ab29b84d3 ("net/mlx5: replace IPC socket with EAL API") Fixes: c18cf501a7af ("net/mlx5: enable secondary process to register DMA memory") Cc: ys...@mellanox.com Signed-off-by: Herakliusz Lipi

[dpdk-dev] [PATCH 7/8] ipc: fix net/mlx4 memleak

2019-04-17 Thread Herakliusz Lipiec
allocated, which is not true. Fixed by always freeing reply message buffers. Fixes: 0b259b8e9655 ("net/mlx4: enable secondary process to register DMA memory") Cc: ys...@mellanox.com Signed-off-by: Herakliusz Lipiec --- drivers/net/mlx4/mlx4_mp.c | 4 +++- 1 file changed, 3 insert

[dpdk-dev] [PATCH 6/8] ipc: fix tap pmd memleak

2019-04-17 Thread Herakliusz Lipiec
allocated, which is not true. Fixed by always freeing reply message buffers. Fixes: c9aa56edec8e ("net/tap: access primary process queues from secondary") Cc: rasl...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- drivers/net/tap/rte_eth_tap.c | 2 ++ 1 file

[dpdk-dev] [PATCH 5/8] ipc: fix pdump memleak

2019-04-17 Thread Herakliusz Lipiec
allocated, which is not true. Fixed by always freeing reply message buffers. Fixes: 660098d61f57 ("pdump: use generic multi-process channel") Cc: jianfeng@intel.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- lib/librte_pdump/rte_pdump.c | 2 +- 1 file changed, 1 inser

[dpdk-dev] [PATCH 4/8] ipc: fix vfio memleak

2019-04-17 Thread Herakliusz Lipiec
allocated, which is not true. Fixed by always freeing reply message buffers. Fixes: 83a73c5fef66 ("vfio: use generic multi-process channel") Cc: jianfeng@intel.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- lib/librte_eal/linux/eal/eal_vfio.c | 8 1 file

[dpdk-dev] [PATCH 3/8] ipc: fix vdev memleak

2019-04-17 Thread Herakliusz Lipiec
allocated, which is not true. Fixed by always freeing the reply message buffers. Fixes: cdb068f031c6 ("bus/vdev: scan by multi-process channel") Cc: jianfeng@intel.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- drivers/bus/vdev/vdev.c | 3 +-- 1 file changed, 1 inser

[dpdk-dev] [PATCH 2/8] ipc: fix hotplug memleak

2019-04-17 Thread Herakliusz Lipiec
allocated, which is not true. Fixed by always freeing the buffers. Fixes: ac9e4a17370f ("eal: support attach/detach shared device from secondary") Cc: qi.z.zh...@intel.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- lib/librte_eal/common/hotplug_mp.c | 2 ++ 1 file

[dpdk-dev] [PATCH 1/8] ipc: fix rte_mp_request_sync memleak

2019-04-17 Thread Herakliusz Lipiec
allocated, which is not true. Fixed by always initializing message buffer to NULL. Fixes: 783b6e54971d ("eal: add synchronous multi-process communication") Cc: jianfeng@intel.com Cc: jia@intel.com Cc: gi.z.zh...@intel.com Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec

[dpdk-dev] [PATCH v2] example/ipv4_multicast: fix app hanging when using clone

2018-11-13 Thread Herakliusz Lipiec
caused the packets to never be freed when using rte_pktmbuf_free. Since copying ol_flags from the cloned packet is not necessary in the first place, just don't do it. Fixes: af75078fece3 ("first public release") CC: sta...@dpdk.org Reported-by: Wang Dong Signed-off-by: Herakliusz L

[dpdk-dev] [PATCH] example/ipv4_multicast: fix app hanging when using clone

2018-11-12 Thread Herakliusz Lipiec
This example was dropping packets when using clone (ip 224.0.0.103). The problem was that mbufs were not freed. This was caused by coping ol_flags from cloned mbuf to header mbufs. Signed-off-by: Herakliusz Lipiec --- examples/ipv4_multicast/main.c | 2 -- 1 file changed, 2 deletions(-) diff

[dpdk-dev] [PATCH v2] app/testpmd: fix printf format specifiers

2018-09-25 Thread Herakliusz Lipiec
change PRIu8 -> PRIu16 for port_id in eth_event_callback (portid_t is uint16_t) Fixes: 76ad4a2d82d4 ("app/testpmd: add generic event handler") Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- app/test-pmd/testpmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[dpdk-dev] [PATCH] app/testpmd: fix printf format specifiers

2018-09-24 Thread Herakliusz Lipiec
change PRIu8 -> PRIu16 for port_id (portid_t is uint16_t) in eth_event_callback Fixes: 76ad4a2d82d4 ("app/testpmd: add generic event handler") Cc: sta...@dpdk.org Signed-off-by: Herakliusz Lipiec --- app/test-pmd/testpmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-

[dpdk-dev] [PATCH v2] doc: add generic compilation doc for all sample apps

2017-06-29 Thread Herakliusz Lipiec
81b ("doc: add Rx and Tx callbacks sample app user guide") Fixes: eb21185d6f21 ("doc: add flow distributor example guide") Fixes: 1443da3bbd71 ("doc: add basic forwarding skeleton user guide") Fixes: 181654b7162e ("doc: add a VXLAN sample guide") Fixe

[dpdk-dev] [PATCH] doc: add generic compilation doc for all sample apps

2017-06-01 Thread Herakliusz Lipiec
81b ("doc: add Rx and Tx callbacks sample app user guide") Fixes: eb21185d6f21 ("doc: add flow distributor example guide") Fixes: 1443da3bbd71 ("doc: add basic forwarding skeleton user guide") Fixes: 181654b7162e ("doc: add a VXLAN sample guide") Fixe

[dpdk-dev] [PATCH] fix comment

2017-05-29 Thread Herakliusz Lipiec
Signed-off-by: Herakliusz Lipiec --- config/common_base | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/common_base b/config/common_base index 8907bea..c858769 100644 --- a/config/common_base +++ b/config/common_base @@ -139,7 +139,7 @@ CONFIG_RTE_ETHDEV_RXTX_CALLBACKS

[dpdk-dev] [PATCH] doc: update bonding device name in prog guide

2017-05-10 Thread Herakliusz Lipiec
Fixes: 35b09d76f89e ("doc: use corelist instead of coremask") Fixes: 58c82067f1ae ("app/testpmd: use consistent vdev names") Signed-off-by: Herakliusz Lipiec --- doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst | 14 +++--- 1 file changed, 7 insertions(+),

[dpdk-dev] [DPDK] net/i40e: add return value checks

2017-05-09 Thread Herakliusz Lipiec
Coverity issue: 1379362 Coverity issue: 1379365 Fixes: 71d35259ff67 ("i40e: tear down flow director") Signed-off-by: Herakliusz Lipiec --- drivers/net/i40e/i40e_fdir.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/net/i40e/i40e_fdir.c b/driver