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
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
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
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
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
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
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
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
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
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
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
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
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
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
.
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(+),
.
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
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
.
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
.
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
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
: 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
: 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
)
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
---
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
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
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
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:
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:
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:
)
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
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
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
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
)
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
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
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.
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
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
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.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
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
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
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
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
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/
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.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
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
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
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
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
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
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
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
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
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
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
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(-)
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(-
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
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
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
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(+),
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
64 matches
Mail list logo