This patch add requirements about compiler and distribution support.
Signed-off-by: Daniel Mrzyglod
---
doc/guides/linux_gsg/sys_reqs.rst | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/doc/guides/linux_gsg/sys_reqs.rst
b/doc/guides/linux_gsg/sys_reqs.rst
index
This patch add requirements about compiler and distribution support.
v2:
spelling fixes
Signed-off-by: Daniel Mrzyglod
---
doc/guides/linux_gsg/sys_reqs.rst | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/doc/guides/linux_gsg/sys_reqs.rst
b/doc/guides/linux_gsg
Function match_inst is used to take buffor using sizeof() which is size_t type.
This modification also involved changing '%u' to '%zu' in printf function.
Signed-off-by: Daniel Mrzyglod
---
lib/librte_cmdline/cmdline_parse.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
.
This change has no ABI impact, as the previous code that uses aligned
accesses continues to run without any issues.
Signed-off-by: Daniel Mrzyglod
---
lib/librte_pipeline/rte_pipeline.c | 8
lib/librte_port/rte_port.h | 26 +-
lib/librte_table
The problem occure when we have config files on NFS filesystem.
Solution with minimal change to library is to add buffer for I/O operations.
Without buffering there is 3-10% of faulty Reading from NFS.
The problem seems to be only NFS filesystem.
Signed-off-by: Daniel Mrzyglod
---
lib
with NFS.
Signed-off-by: Daniel Mrzyglod
---
lib/librte_cfgfile/rte_cfgfile.c | 4
1 file changed, 4 insertions(+)
diff --git a/lib/librte_cfgfile/rte_cfgfile.c b/lib/librte_cfgfile/rte_cfgfile.c
index b81c273..88fcb46 100644
--- a/lib/librte_cfgfile/rte_cfgfile.c
+++ b/lib/librte_cfgfile
:
-Simplify the initialization of buffer.
Changes in v2:
-Found the real nature of problem. Only buffer was not initilized.
Changes in v1:
-Add additional separate IO buffer and initialize both buffers.
Signed-off-by: Daniel Mrzyglod
---
lib/librte_cfgfile/rte_cfgfile.c | 2 +-
1 file changed, 1
In rte_eth_af_packet.c we are we are missing NULL pointer
checks after calls to alocate memory for queues. Add checking NULL
pointer and error handling.
Signed-off-by: Daniel Mrzyglod
---
lib/librte_pmd_af_packet/rte_eth_af_packet.c | 4
1 file changed, 4 insertions(+)
diff --git a/lib
In test_sched, we are missing NULL pointer checks after calls to create the
mempool and to allocate an mbuf. Add in these checks using VERIFY macros.
Signed-off-by: Daniel Mrzyglod
---
app/test/test_sched.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app/test/test_sched.c b/app/test
In rte_eth_af_packet.c we are we are missing NULL pointer
checks after calls to alocate memory for queues. Add checking NULL
pointer and error handling.
Signed-off-by: Daniel Mrzyglod
---
lib/librte_pmd_af_packet/rte_eth_af_packet.c | 4
1 file changed, 4 insertions(+)
diff --git a/lib
In rte_pmd_init_internals, we are mapping memory but not released
if error occure it could produce memoryleak.
Add unmmap function to release memory.
Signed-off-by: Daniel Mrzyglod
---
lib/librte_pmd_af_packet/rte_eth_af_packet.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/lib
Signed-off-by: Daniel Mrzyglod
---
examples/l3fwd-vf/main.c |6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/examples/l3fwd-vf/main.c b/examples/l3fwd-vf/main.c
index 2ca5c21..57852d0 100644
--- a/examples/l3fwd-vf/main.c
+++ b/examples/l3fwd-vf/main.c
@@ -54,6 +54,7
This patch set adds support of mode 5 to link bonding pmd
This patchset depend on Declan Doherty patch set:
http://dpdk.org/ml/archives/dev/2014-September/005069.html
Signed-off-by: Daniel Mrzyglod
---
lib/librte_pmd_bond/rte_eth_bond.h | 23
lib/librte_pmd_bond
Signed-off-by: Daniel Mrzyglod
---
app/test/test_link_bonding.c | 501 +++-
app/test/virtual_pmd.c |6 +-
app/test/virtual_pmd.h |7 +
lib/librte_pmd_bond/rte_eth_bond.h | 23 ++
lib/librte_pmd_bond
uot;
15527 - loop was not vectorized: function call to fprintf cannot be vectorize
Signed-off-by: Daniel Mrzyglod
---
mk/toolchain/icc/rte.vars.mk | 7 +++
1 file changed, 7 insertions(+)
diff --git a/mk/toolchain/icc/rte.vars.mk b/mk/toolchain/icc/rte.vars.mk
index 5503fb0..e39d710 10064
In test_sched, we are missing NULL pointer checks after calls to create the
mempool and to allocate an mbuf. Add in these checks using TEST_ASSERT_NOT_NULL
macros.
Signed-off-by: Daniel Mrzyglod
---
app/test/test_sched.c | 23 ---
1 file changed, 12 insertions(+), 11
track when the failure occured.
v3 changes:
- remove VERIFY macro
- fix spelling error.
- change unproper comment
v2 changes:
- Replace all VERIFY macros instances by proper TEST_ASSERT* macros.
- fix description
v1 changes:
- first iteration of patch using VERIFY macro.
Signed-off-by: Daniel Mrzyglod
iption
v1 changes:
- first iteration of patch using VERIFY macro.
Signed-off-by: Daniel Mrzyglod
---
app/test/test_sched.c | 120 ++
1 file changed, 83 insertions(+), 37 deletions(-)
diff --git a/app/test/test_sched.c b/app/test/test_sched.c
ind
ed Rx")
Coverity ID 13335
Signed-off-by: Daniel Mrzyglod
---
drivers/net/ixgbe/ixgbe_rxtx_vec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ixgbe/ixgbe_rxtx_vec.c
b/drivers/net/ixgbe/ixgbe_rxtx_vec.c
index e97ea82..61c7aad 100644
--- a/drivers/net/ixgbe/ixgbe_rxtx_vec.c
+++
in this function
[-Werror=maybe-uninitialized]
struct app_pktq_out_params *pktq_out =
Fixes: 760064838ec0 ("examples/ip_pipeline: link routing output ports to
devices")
Signed-off-by: Daniel Mrzyglod
---
examples/ip_pipeline/app.h |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
in this function
[-Werror=maybe-uninitialized]
struct app_pktq_out_params *pktq_out =
Fixes: 760064838ec0 ("examples/ip_pipeline: link routing output ports to
devices")
Signed-off-by: Daniel Mrzyglod
Acked-by: Cristian Dumitrescu
---
examples/ip_pipeline/app.h | 8
1 file
This patch fix all cases to do proper handle all munmap if pointer
of hugepage is not NULL which prohibits resource leak.
Coverity issue: 97920
Fixes: b6a468ad41d5 ("memory: add --socket-mem option")
Signed-off-by: Daniel Mrzyglod
---
lib/librte_eal/linuxapp/eal/eal_memory.c | 6
dev:
- change function names to more proper.
Doc:
- add documentation for ptpclient
sample:
- add kernel adjustment option
- add portmask option to provide portmask to aplication
Daniel Mrzyglod (4):
ethdev: add additional ieee1588 support functions
ixgbe: add additional ieee1588 support functi
-by: Daniel Mrzyglod
---
doc/guides/rel_notes/release_2_2.rst | 3 ++
lib/librte_ether/rte_ethdev.c | 36 +++
lib/librte_ether/rte_ethdev.h | 64 ++
lib/librte_ether/rte_ether_version.map | 9 +
4 files changed, 112 insertions
>V2:
PMDs:
- add support for e1000
- add support for ixgbe
- add support for i40
ethdev:
- change function names to more proper.
Doc:
- add documentation for ptpclient
sample:
- add kernel adjustment option
- add portmask option to provide portmask to aplication
Daniel Mrzyglod (5):
-by: Daniel Mrzyglod
---
doc/guides/rel_notes/release_2_2.rst | 3 ++
lib/librte_ether/rte_ethdev.c | 36 +++
lib/librte_ether/rte_ethdev.h | 64 ++
lib/librte_ether/rte_ether_version.map | 3 ++
4 files changed, 106 insertions(+)
diff
This patch add common functions and structures used for PTP processing.
Signed-off-by: Daniel Mrzyglod
---
lib/librte_net/Makefile | 2 +-
lib/librte_net/rte_ptp.h | 105 +++
2 files changed, 106 insertions(+), 1 deletion(-)
create mode 100644 lib
Add additional functions to support the existing IEEE1588
functionality and to enable getting, setting and adjusting
the device time.
Signed-off-by: Daniel Mrzyglod
Signed-off-by: Pablo de Lara
---
drivers/net/ixgbe/ixgbe_ethdev.c | 272 +--
drivers/net
From: Pablo de Lara <pablo.de.lara.gua...@intel.com>
Add additional functions to support the existing IEEE1588
functionality and to enable getting, setting and adjusting
the device time.
Signed-off-by: Pablo de Lara
Signed-off-by: Daniel Mrzyglod
---
drivers/net/e1000/e1000_ethdev.h
From: Pablo de Lara <pablo.de.lara.gua...@intel.com>
Add additional functions to support the existing IEEE1588
functionality and to enable getting, setting and adjusting
the device time.
Signed-off-by: Pablo de Lara
Signed-off-by: Daniel Mrzyglod
---
drivers/net/i40e/i40e_ethdev.c
Add a sample application that acts as a PTP slave using the
DPDK ieee1588 functions.
Signed-off-by: Daniel Mrzyglod
---
MAINTAINERS | 3 +
doc/guides/rel_notes/release_2_2.rst | 5 +
examples/Makefile| 1 +
examples/ptpclient/Makefile
It includes:
- Add the ptpclient picture with svg format.
- Add the ptpclient.rst file
- Change the index.rst file for the above pictures index.
Signed-off-by: Daniel Mrzyglod
---
doc/guides/sample_app_ug/img/ptpclient.svg | 520 +
doc/guides/sample_app_ug
e:
- add kernel adjustment option
- add portmask option to provide portmask to aplication
Daniel Mrzyglod (5):
ethdev: add additional ieee1588 support functions
net: Add common PTP structures and functions
ixgbe: add additional ieee1588 support functions
example: PTP client slav
-by: Daniel Mrzyglod
---
doc/guides/rel_notes/release_2_2.rst | 3 ++
lib/librte_ether/rte_ethdev.c | 36 +++
lib/librte_ether/rte_ethdev.h | 65 +-
lib/librte_ether/rte_ether_version.map | 3 ++
4 files changed, 106 insertions(+), 1
This patch add common functions and structures used for PTP processing.
Signed-off-by: Daniel Mrzyglod
---
lib/librte_net/Makefile | 2 +-
lib/librte_net/rte_ptp.h | 105 +++
2 files changed, 106 insertions(+), 1 deletion(-)
create mode 100644 lib
Add additional functions to support the existing IEEE1588
functionality and to enable getting, setting and adjusting
the device time.
Signed-off-by: Daniel Mrzyglod
Signed-off-by: Pablo de Lara
---
drivers/net/ixgbe/ixgbe_ethdev.c | 272 +--
drivers/net
From: Pablo de Lara <pablo.de.lara.gua...@intel.com>
Add additional functions to support the existing IEEE1588
functionality and to enable getting, setting and adjusting
the device time.
Signed-off-by: Pablo de Lara
Signed-off-by: Daniel Mrzyglod
---
drivers/net/e1000/e1000_ethdev.h
From: Pablo de Lara <pablo.de.lara.gua...@intel.com>
Add additional functions to support the existing IEEE1588
functionality and to enable getting, setting and adjusting
the device time.
Signed-off-by: Pablo de Lara
Signed-off-by: Daniel Mrzyglod
---
drivers/net/i40e/i40e_ethdev.c
Add a sample application that acts as a PTP slave using the
DPDK ieee1588 functions.
Signed-off-by: Daniel Mrzyglod
---
MAINTAINERS | 3 +
doc/guides/rel_notes/release_2_2.rst | 5 +
examples/Makefile| 1 +
examples/ptpclient/Makefile
It includes:
- Add the ptpclient picture with svg format.
- Add the ptpclient.rst file
- Change the index.rst file for the above pictures index.
Signed-off-by: Daniel Mrzyglod
---
doc/guides/sample_app_ug/img/ptpclient.svg | 520 +
doc/guides/sample_app_ug
Doc:
- add documentation for ptpclient
sample:
- add kernel adjustment option
- add portmask option to provide portmask to aplication
Daniel Mrzyglod (5):
ethdev: add additional ieee1588 support functions
net: Add common PTP structures and functions
ixgbe: add additional ieee1588 support functio
-by: Daniel Mrzyglod
---
doc/guides/rel_notes/release_2_2.rst | 3 ++
lib/librte_ether/rte_ethdev.c | 36 +++
lib/librte_ether/rte_ethdev.h | 65 +-
lib/librte_ether/rte_ether_version.map | 3 ++
4 files changed, 106 insertions(+), 1
This patch add common functions and structures used for PTP processing.
Signed-off-by: Daniel Mrzyglod
---
lib/librte_net/Makefile | 2 +-
lib/librte_net/rte_ptp.h | 105 +++
2 files changed, 106 insertions(+), 1 deletion(-)
create mode 100644 lib
Add additional functions to support the existing IEEE1588
functionality and to enable getting, setting and adjusting
the device time.
Signed-off-by: Daniel Mrzyglod
Signed-off-by: Pablo de Lara
---
drivers/net/ixgbe/ixgbe_ethdev.c | 272 +--
drivers/net
From: Pablo de Lara <pablo.de.lara.gua...@intel.com>
Add additional functions to support the existing IEEE1588
functionality and to enable getting, setting and adjusting
the device time.
Signed-off-by: Pablo de Lara
Signed-off-by: Daniel Mrzyglod
---
drivers/net/e1000/e1000_ethdev.h
From: Pablo de Lara <pablo.de.lara.gua...@intel.com>
Add additional functions to support the existing IEEE1588
functionality and to enable getting, setting and adjusting
the device time.
Signed-off-by: Pablo de Lara
Signed-off-by: Daniel Mrzyglod
---
drivers/net/i40e/i40e_ethdev.c
Add a sample application that acts as a PTP slave using the
DPDK ieee1588 functions.
Signed-off-by: Daniel Mrzyglod
---
MAINTAINERS | 3 +
doc/guides/rel_notes/release_2_2.rst | 5 +
examples/Makefile| 1 +
examples/ptpclient/Makefile
It includes:
- Add the ptpclient picture with svg format.
- Add the ptpclient.rst file
- Change the index.rst file for the above pictures index.
Signed-off-by: Daniel Mrzyglod
---
doc/guides/sample_app_ug/img/ptpclient.svg | 520 +
doc/guides/sample_app_ug
This is fix for GCC 4.4.7.
flag "-fstrict-aliasing" is default for optimalisation above -O0.
Fixes: 2b039d5f20a3 ("net: fix build with gcc 4.4.7 and strict aliasing")
Signed-off-by: Daniel Mrzyglod
---
lib/librte_net/rte_ip.h | 3 ++-
1 file changed, 2 insertions(+), 1 del
This fix is for IPv6 checksum offload error on RHEL65.
Any optimalisation above -O0 provide error in IPv6 checksum
flag "-fstrict-aliasing" is default for optimalisation above -O0.
Fixes: 2b039d5f20a3 ("net: fix build with gcc 4.4.7 and strict aliasing")
Signed-off-by: Danie
;,
dst="90:e2:ba:4a:33:5d")/IPv6(src="::1")/TCP(chksum=0xf)/("X"*46)
Step 4 : Recieved packets:
RESULTS:
IPv6/TCP': ['0xd41'] or other unexpected.
EXPECTED RESULTS:
IPv6/TCP': ['0x9f5e']
Daniel Mrzyglod (1):
net: fix build with gcc 4.4.7 and strict aliasing
definition of 'AF_INET' enum was missing - is available in
Signed-off-by: Daniel Mrzyglod
---
examples/bond/main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/examples/bond/main.c b/examples/bond/main.c
index 4622283..53bd044 100644
--- a/examples/bond/main.c
+++ b/examples/bond/main.c
the implementation NIC speed independent.
* Check for linkup/down.
Daniel Mrzyglod (3):
ethdev: add additional ieee1588 support functions
ixgbe: add additional ieee1588 support functions
example: PTP client slave minimal implementation
MAINTAINERS| 3 +
drivers
-by: Daniel Mrzyglod
---
lib/librte_ether/rte_ethdev.c | 36 +++
lib/librte_ether/rte_ethdev.h | 64 ++
lib/librte_ether/rte_ether_version.map | 9 +
3 files changed, 109 insertions(+)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib
Add additional functions to support the existing IEEE1588
functionality and to enable getting, setting and adjusting
the device time.
Signed-off-by: Daniel Mrzyglod
---
drivers/net/ixgbe/ixgbe_ethdev.c | 250 +--
drivers/net/ixgbe/ixgbe_ethdev.h | 24
2
Add a sample application that acts as a PTP slave using the
DPDK ieee1588 functions.
Signed-off-by: Daniel Mrzyglod
---
MAINTAINERS| 3 +
examples/Makefile | 1 +
examples/ptpclient/Makefile| 59 +
examples/ptpclient/ptpclient.c | 525
Current code does not munmap 'hugepage' mapping (hugepage info file) on
function exit, leaking resources.
Coverity issue: 97920
Fixes: b6a468ad41d5 ("memory: add --socket-mem option")
Signed-off-by: Daniel Mrzyglod
---
lib/librte_eal/linuxapp/eal/eal_memory.c | 9 +++--
1 file
This series of patches is to solve errors for Intel C Compiler
Daniel Mrzyglod (2):
examples/l2fwd-crypto: fix for icc
examples: fix build errors for icc
examples/ipsec-secgw/Makefile | 4
examples/l2fwd-crypto/main.c | 4 ++--
examples/vmdq_dcb/Makefile| 4 +++-
3 files changed
ation")
Fixes: 8cc72f2814dd ("examples/vmdq_dcb: support X710")
Signed-off-by: Daniel Mrzyglod
---
examples/ipsec-secgw/Makefile | 4
examples/vmdq_dcb/Makefile| 4 +++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/examples/ipsec-secgw/Makefile b/examples/
secgw: add IPsec sample application")
Fixes: 8cc72f2814dd ("examples/vmdq_dcb: support X710")
Signed-off-by: Daniel Mrzyglod
---
examples/ipsec-secgw/Makefile | 4
examples/vmdq_dcb/Makefile| 4 +++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/examples/ip
CID 13289 (#1-2 of 2): Resource leak (RESOURCE_LEAK):
The system resource will not be reclaimed and reused, reducing the future
availability of the resource.
In pci_vfio_get_group_fd: Leak of memory or pointers to system resources
Fixes: ff0b67d1c868 ("vfio: DMA mapping")
Signed-off-
annel manager and monitor in host")
Signed-off-by: Daniel Mrzyglod
---
examples/vm_power_manager/channel_manager.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/examples/vm_power_manager/channel_manager.c
b/examples/vm_power_manager/channel_manager.c
index 22c2ddd..b926
-off-by: Daniel Mrzyglod
---
lib/librte_cmdline/cmdline_rdline.c | 19 +++
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/lib/librte_cmdline/cmdline_rdline.c
b/lib/librte_cmdline/cmdline_rdline.c
index 1ef2258..e75a556 100644
--- a/lib/librte_cmdline/cmdline_rdline.c
+++ b
CID: #30688
The operaton may have an undefined behavior or yield to an unexpected result.
In setup_port_lcore_affinities: A bit shift operation has a shift amount which
is too large or has a negative value.
Fixes: af75078fece3 ("first public release")
Signed-off-by: Danie
: add vlan stripping and insertion to VF")
Signed-off-by: Daniel Mrzyglod
---
drivers/net/i40e/i40e_ethdev_vf.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index 2bce69b..0d69322 100644
--- a/d
: add vlan stripping and insertion to VF")
Signed-off-by: Daniel Mrzyglod
---
drivers/net/i40e/i40e_ethdev_vf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index 2bce69b..2d75b96 100644
--- a/driver
" taken from header.
The negative argument will be interpreted as a very large unsigned value.
In send_msg: Negative value used as argument to a function expecting
a positive value (for example, size of buffer or allocation)
Fixes: 445c6528b55f ("power: common interface for guest and host"
used. This value may indicate an error
condition.
Fixes: 2f4adfad0a69 ("vfio: add multiprocess support")
Signed-off-by: Daniel Mrzyglod
---
lib/librte_eal/linuxapp/eal/eal_pci_vfio_mp_sync.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/librte_eal/li
used. This value may indicate an error
condition.
Fixes: 2f4adfad0a69 ("vfio: add multiprocess support")
v2:
Changed ERR to WARNING because it has no real impact on the application
usability
Signed-off-by: Daniel Mrzyglod
Acked-by: Anatoly Burakov
---
lib/librte_eal/li
which may be zero has undefined behavior.
Fixes: 26c057ab6c45 ("acl: new test-acl application")
Signed-off-by: Daniel Mrzyglod
---
app/test-acl/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/test-acl/main.c b/app/test-acl/main.c
index 0b0c093..d366
Fix issue reported by clang scan-build
Value of pointer tbl_next was uninitialized. When function lookup_step()
take else branch it may provide garbage into tbl = tbl_next;
Fixes: 5c510e13a9cb ("lpm: add IPv6 support")
Signed-off-by: Daniel Mrzyglod
---
lib/librte_lpm/rte_lpm6.c |
Fix issue reported by clang scan-build
there is a chance that nr_hugepages will be 0 if conditions for loop
for (i = 0; i < (int) internal_config.num_hugepage_sizes; i++)
will be unmeet.
Fixes: b6a468ad41d5 ("memory: add --socket-mem option")
Signed-off-by: Daniel Mrzyglod
---
l
tch forget to fix values also for input_cores_mask
Signed-off-by: Daniel Mrzyglod
---
examples/exception_path/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/exception_path/main.c b/examples/exception_path/main.c
index e5eedcc..88e7708 100644
--- a/examples/exce
: ea977ff1cb0b ("examples/exception_path: fix shift operation in lcore
setup")
Signed-off-by: Daniel Mrzyglod
---
examples/exception_path/main.c | 74 ++
1 file changed, 61 insertions(+), 13 deletions(-)
diff --git a/examples/exception_path/main.c
Signed-off-by: Konstantin Ananyev
Signed-off-by: Daniel Mrzyglod
---
config/defconfig_x86_x32-native-linuxapp-gcc | 46
mk/arch/x86_x32/rte.vars.mk | 63
2 files changed, 109 insertions(+)
create mode 100644 config
This mode provides an adaptive transmit load balancing.
It dynamically changes the transmitting slave, according to the computed load.
Statistics are collected in 100ms intervals and scheduled every 10ms.
Daniel Mrzyglod (2):
This patch add support of mode 5 to link bonding pmd
Unit tests
in virtualpmd driver.
change internals->slaves[i].last_obytes to have proper values.
Update codebase to Declan's patches.
v1 change:
Add support for mode 5 (Transmit load balancing) into pmd driver
Daniel Mrzyglod (2):
This patch add support of mode 5 to link bonding pmd
Unit tests for Mod
-off-by: Daniel Mrzyglod
---
lib/librte_pmd_bond/rte_eth_bond.h | 6 ++
lib/librte_pmd_bond/rte_eth_bond_args.c| 1 +
lib/librte_pmd_bond/rte_eth_bond_pmd.c | 160 -
lib/librte_pmd_bond/rte_eth_bond_private.h | 2 +-
4 files changed, 166 insertions
in virtualpmd driver.
change internals->slaves[i].last_obytes to have proper values.
Update codebase to Declan's patches.
v1 change:
Add support for mode 5 (Transmit load balancing) into pmd driver
Daniel Mrzyglod (2):
This patch add support of mode 5 to link bonding pmd
Unit tests for Mod
This Patch add unit tests for mode 5 - tlb - to the oders
link bonding unit tests.
Signed-off-by: Daniel Mrzyglod
---
app/test/test_link_bonding.c | 499 ++-
app/test/virtual_pmd.c | 6 +-
2 files changed, 502 insertions(+), 3 deletions(-)
diff
This Patch add unit tests for mode 5 - tlb - to the oders
link bonding unit tests.
Signed-off-by: Daniel Mrzyglod
---
app/test/test_link_bonding.c | 499 ++-
app/test/virtual_pmd.c | 6 +-
2 files changed, 502 insertions(+), 3 deletions(-)
diff
script was expecting /lib/modules/$(uname -r)/kernel/drivers/uio/uio.ko but in
fedora 21
there are Compressed kernel modules - xz (LZMA)
Signed-off-by: Daniel Mrzyglod
---
tools/setup.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/setup.sh b/tools/setup.sh
index
script was expecting /lib/modules/$(uname -r)/kernel/drivers/uio/uio.ko but in
fedora 21
there are Compressed kernel modules - xz (LZMA)
V3 patch: Remove sudo
V2 patch: Use modinfo instead ls
V1 patch: use ls instead checking if specific file exist
Signed-off-by: Daniel Mrzyglod
---
tools
ependencies")
Signed-off-by: Daniel Mrzyglod
---
app/test/Makefile| 1 +
lib/librte_eal/linuxapp/eal/Makefile | 1 +
2 files changed, 2 insertions(+)
diff --git a/app/test/Makefile b/app/test/Makefile
index 00e4df2..707930f 100644
--- a/app/test/Makefile
+++ b/a
ependencies")
Signed-off-by: Daniel Mrzyglod
---
app/test/Makefile| 1 +
examples/ptpclient/Makefile | 1 +
lib/librte_eal/linuxapp/eal/Makefile | 1 +
3 files changed, 3 insertions(+)
diff --git a/app/test/Makefile b/app/test/Makefile
index 00e4df2..707930f
ple
v1: Initial revision
Fixes: 4758404a3084 ("mk: fix eal shared library dependencies")
Signed-off-by: Daniel Mrzyglod
---
app/test/Makefile| 1 +
examples/ptpclient/Makefile | 1 +
lib/librte_eal/linuxapp/eal/Makefile | 1 +
3 files changed, 3 insertions(+)
ple
v1: Initial revision
Fixes: 4758404a3084 ("mk: fix eal shared library dependencies")
Signed-off-by: Daniel Mrzyglod
---
app/test/Makefile| 1 +
examples/ptpclient/Makefile | 1 +
lib/librte_eal/linuxapp/eal/Makefile | 1 +
3 files changed, 3 insertions(+)
First patch cover multiple error for ICC.
a. mixed enum with other types
b. variable is used uninitialized
Patches for FreeBSD:
a. Target was not setup
b. ETIME is not avaliable in FreeBSD
Daniel Mrzyglod (2):
ena: icc fix compilation errors
ena: Fix
(241):
error #188: enumerated type mixed with another type
ena_rx_ctx->l4_proto =
^
Signed-off-by: Daniel Mrzyglod
---
drivers/net/ena/base/ena_com.c | 18 +-
drivers/net/ena/base/ena_com.h | 8
drivers/net/ena/base/ena_eth_com.c | 10 +
: error: #error "Invalid platform"
#error "Invalid platform"
^
compilation terminated due to -Wfatal-errors.
Signed-off-by: Daniel Mrzyglod
---
drivers/net/ena/base/ena_plat.h | 2 ++
drivers/net/ena/base/ena_plat_dpdk.h | 3 +++
2 files changed, 5 insertions(+)
diff
There were misssed typedef for u_char -
There were missed network definitions -
Failure #13: http://dpdk.org/ml/archives/test-report/2016-March/001896.html
Fixes: d299106e8e31 ("examples/ipsec-secgw: add IPsec sample application")
Signed-off-by: Daniel Mrzyglod
---
examples/i
IPsec sample application")
Signed-off-by: Daniel Mrzyglod
---
examples/ipsec-secgw/esp.c | 3 ++-
examples/ipsec-secgw/ipsec-secgw.c | 2 ++
examples/ipsec-secgw/ipsec.c | 2 +-
examples/ipsec-secgw/ipsec.h | 2 --
examples/ipsec-secgw/rt.c | 1 +
examples/ipsec-
bulk functions expect that all memory is set with zeros
Fixes: 67ebdbef0c31 ("examples/ip_pipeline: add bulk update of firewall rules")
Signed-off-by: Daniel Mrzyglod
---
examples/ip_pipeline/pipeline/pipeline_firewall_be.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletion
;)
Signed-off-by: Daniel Mrzyglod
---
examples/kni/main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/examples/kni/main.c b/examples/kni/main.c
index a5297f2..dcecd09 100644
--- a/examples/kni/main.c
+++ b/examples/kni/main.c
@@ -831,7 +831,8 @@ kni_free_kni(uint8
sched: initial import")
Signed-off-by: Daniel Mrzyglod
---
lib/librte_sched/rte_sched.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/librte_sched/rte_sched.c b/lib/librte_sched/rte_sched.c
index 1609ea8..9b962a6 100644
--- a/lib/librte_sched/rte_sched.c
+++ b/lib/librte_sched/r
annel manager and monitor in host")
Signed-off-by: Daniel Mrzyglod
---
examples/vm_power_manager/channel_manager.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/examples/vm_power_manager/channel_manager.c
b/examples/vm_power_manager/channel_manager.c
index 22c2ddd..e068ae2 100644
---
Fixes: 54292e9520e0 ("vhost: support ifname for vhost-user")
Signed-off-by: Daniel Mrzyglod
---
lib/librte_vhost/virtio-net.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c
index d870ad9..f4695af 100644
--- a/lib/li
: Leak of memory or pointers to system resources
Fixes: b6a468ad41d5 ("memory: add --socket-mem option")
Signed-off-by: Daniel Mrzyglod
---
lib/librte_eal/linuxapp/eal/eal_memory.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal_m
: Leak of memory or pointers to system resources
Fixes: b6a468ad41d5 ("memory: add --socket-mem option")
Signed-off-by: Daniel Mrzyglod
---
lib/librte_eal/linuxapp/eal/eal_memory.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal_m
Calling i40e_switch_rx_queue without checking return value.
Fixed by add warning log information if return failed.
Fixes: 71d35259ff67 ("i40e: tear down flow director")
Coverity ID 13198
Signed-off-by: Daniel Mrzyglod
---
drivers/net/i40e/i40e_fdir.c | 5 -
1 file changed, 4
100 matches
Mail list logo