Add unit tests and code coverage reports generation guides to Meson
build documentation.
Signed-off-by: Marcin Zapolski
---
v2: fix trailing whitespaces
---
doc/build-sdk-meson.txt | 40
1 file changed, 40 insertions(+)
diff --git a/doc/build-sdk
Add unit tests and code coverage reports generation guides to Meson
build documentation.
Signed-off-by: Marcin Zapolski
---
doc/build-sdk-meson.txt | 40
1 file changed, 40 insertions(+)
diff --git a/doc/build-sdk-meson.txt b/doc/build-sdk-meson.txt
Modify ixgbe to be compatible with new rte_eth_dev structures layout.
Signed-off-by: Marcin Zapolski
---
drivers/net/ixgbe/ixgbe_ethdev.c | 30 +++---
drivers/net/ixgbe/ixgbe_ethdev.h | 23 ++---
drivers/net/ixgbe/ixgbe_rxtx.c | 111 +--
drivers
Modify i40e to be compatible with new rte_eth_dev structures layout.
Signed-off-by: Marcin Zapolski
---
drivers/net/i40e/i40e_ethdev.c | 10 +-
drivers/net/i40e/i40e_ethdev.h | 1 +
drivers/net/i40e/i40e_ethdev_vf.c| 8 +-
drivers/net/i40e/i40e_rxtx.c
Split rte_eth_dev structure to two parts: head that is available for
user applications, and rest which is DPDK internal.
Make an array of pointers to rte_eth_dev structures available for user
applications.
Signed-off-by: Marcin Zapolski
---
lib/librte_bitratestats/rte_bitrate.c | 2
.
Marcin Zapolski (3):
ethdev: hide key ethdev structures from public API
i40e: make driver compatible with changes in ethdev
ixgbe: make driver compatible with changes in ethdev
drivers/net/i40e/i40e_ethdev.c| 10 +-
drivers/net/i40e/i40e_ethdev.h| 1
Remove rte_eth_dev, rte_eth_dev_data and rte_eth_dev_ops from
public API (make rte_ethdev_core APIs private). They are DPDK internal
structures and as such should not be accessed by user applications
directly.
Signed-off-by: Marcin Zapolski
---
drivers/net/cxgbe/base/adapter.h | 1
testpmd.
Signed-off-by: Marcin Zapolski
---
lib/librte_ethdev/rte_ethdev.c | 168 +++
lib/librte_ethdev/rte_ethdev.h | 166 ++
lib/librte_ethdev/rte_ethdev_version.map | 12 ++
3 files changed, 195 insertions(+), 151 deletions(-)
diff
Several DPDK internal structures are exposed to direct access by user
applications. This patch removes them from public API, and makes core DPDK
functions that use them non-inline.
Marcin Zapolski (2):
ethdev: make DPDK core functions non-inline
ethdev: hide DPDK internal struct from public
The eth_dev_info was used with content that was obsolete. Added update
of struct content prior to use.
Fixes: 6b7780bfebe4 ("examples/ip_frag: fix use of ethdev internal device
array")
Signed-off-by: Marcin Zapolski
---
examples/ip_fragmentation/main.c | 1 +
1 file changed, 1
Some example applications have references to rte_eth_dev structure,
which is not a part of public API. These patches replace them with
calls to API functions.
v2:
* adjust commit titles
* add fixlines for the original commits
Marcin Zapolski (3):
examples/l3fwd*: fix use of internal struct
Modify ipsec-secgw example app to use rte_eth_dev_info_get instead of
rte_eth_dev.
Apps should not be using internal DPDK data structures directly.
Fixes: a4677f78368b ("examples/ipsec-secgw: add target queues in flow actions")
Cc: nelio.laranje...@6wind.com
Signed-off-by: Marci
Modify ip_fragmentation example app to use rte_eth_info_get instead
of global rte_eth_devices structure.
Apps should not be using internal DPDK data structures directly.
Fixes: 9758b956dcf4 ("examples/ip_fragmentation: fix Tx queues init")
Cc: alia...@mellanox.com
Signed-off-by: Marci
ance-thread: convert to new offloads API")
Cc: shah...@mellanox.com
Signed-off-by: Marcin Zapolski
---
examples/l3fwd-acl/main.c | 6 +-
examples/l3fwd-power/main.c | 6 +-
examples/l3fwd-vf/main.c| 7 +--
e
Modify l3fwd and related example apps to use locally defined port_conf
instead of global rte_eth_devices which is not a part of public API.
Signed-off-by: Marcin Zapolski
---
examples/l3fwd-acl/main.c | 6 +-
examples/l3fwd-power/main.c | 6
Modify ipsec-secgw example app to use rte_eth_dev_info_get instead of
rte_eth_dev.
Signed-off-by: Marcin Zapolski
---
examples/ipsec-secgw/ipsec.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/examples/ipsec-secgw/ipsec.c b/examples/ipsec-secgw/ipsec.c
index
Some example applications have references to rte_eth_dev structure,
which is not a part of public API. These patches replace them with
calls to API functions.
Marcin Zapolski (3):
examples/l3fwd*: remove references to rte_eth_devices
examples/ip_fragmentation: remove usage of internal struct
Modify ip_fragmentation example app to use rte_eth_info_get instead
of global rte_eth_devices structure.
Signed-off-by: Marcin Zapolski
---
examples/ip_fragmentation/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/ip_fragmentation/main.c b/examples
18 matches
Mail list logo