[dpdk-dev] [PATCH] update Marvell roadmap for 21.05

2021-02-20 Thread jerinj
From: Jerin Jacob Signed-off-by: Jerin Jacob --- content/roadmap/_index.md | 5 + 1 file changed, 5 insertions(+) diff --git a/content/roadmap/_index.md b/content/roadmap/_index.md index 6c51cb9..7d33e3b 100644 --- a/content/roadmap/_index.md +++ b/content/roadmap/_index.md @@ -25,6 +25,7

Re: [dpdk-dev] Build fixes for musl libc

2021-02-20 Thread Natanael Copa
Hi, Sorry, I thought I would be able to allocate time yesterday but got distracted. I would appreciate if someone else could follow up, since I don’t know when I´ll find time for it. Thanks! -nc > 18. feb. 2021 kl. 17:13 skrev Thomas Monjalon : > > Hi Natanael, > > 06/11/2020 11:44, David

[dpdk-dev] [PATCH 0/7] Introduce event vectorization

2021-02-20 Thread pbhagavatula
From: Pavan Nikhilesh In traditional event programming model, events are identified by a flow-id and a uintptr_t. The flow-id uniquely identifies a given event and determines the order of scheduling based on schedule type, the uintptr_t holds a single object. Event devices also support burst mod

[dpdk-dev] [PATCH 1/7] eventdev: introduce event vector capability

2021-02-20 Thread pbhagavatula
From: Pavan Nikhilesh Introduce rte_event_vector datastructure which is capable of holding multiple uintptr_t of the same flow thereby allowing applications to vectorize their pipeline and reducing the complexity of pipelining the events across multiple stages. This approach also reduces the sche

[dpdk-dev] [PATCH 2/7] eventdev: introduce event vector Rx capability

2021-02-20 Thread pbhagavatula
From: Pavan Nikhilesh Introduce event ethernet Rx adapter event vector capability. If an event eth Rx adapter has the capability of RTE_EVENT_ETH_RX_ADAPTER_CAP_EVENT_VECTOR then a given Rx queue can be configured to enable event vectorization by passing the flag RTE_EVENT_ETH_RX_ADAPTER_QUEUE_E

[dpdk-dev] [PATCH 3/7] eventdev: introduce event vector Tx capability

2021-02-20 Thread pbhagavatula
From: Pavan Nikhilesh Introduce event vector transmit capability for event eth tx adapter. The capability indicates that the Tx adapter is capable of transmitting event vectors. When rte_event_vector::union_valid is set, the Tx adapter should transmit all the packets to the rte_event_vector::por

[dpdk-dev] [PATCH 4/7] eventdev: add Rx adapter event vector support

2021-02-20 Thread pbhagavatula
From: Pavan Nikhilesh Add event vector support for event eth Rx adapter, the implementation creates vector flows based on port and queue identifier of the received mbufs. Signed-off-by: Pavan Nikhilesh --- lib/librte_eventdev/eventdev_pmd.h| 31 +- .../rte_event_eth_rx_adapter.c

[dpdk-dev] [PATCH 5/7] eventdev: add Tx adapter event vector support

2021-02-20 Thread pbhagavatula
From: Pavan Nikhilesh Add event vector support for event eth Tx adapter, the implementation receives events from the single linked queue and based on rte_event_vector::union_valid transmits the vector of mbufs to a given port, queue pair. Signed-off-by: Pavan Nikhilesh --- .../rte_event_eth_tx

[dpdk-dev] [PATCH 6/7] app/eventdev: add event vector mode in pipeline test

2021-02-20 Thread pbhagavatula
From: Pavan Nikhilesh Add event vector support in pipeline tests. By default this mode is disabled, it can be enabled by using the option --enable_vector. example: dpdk-test-eventdev -l 7-23 -s 0xff00 -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_atq --stlist=a

[dpdk-dev] [PATCH 7/7] eventdev: fix ABI breakage due to event vector

2021-02-20 Thread pbhagavatula
From: Pavan Nikhilesh Fix ABI breakage due to event vector configuration by moving the vector configuration into a new structure and having a separate function for enabling the vector config on a given ethernet device and queue pair. This vector config and function can be merged to queue config i

[dpdk-dev] [PATCH 0/7] eal/windows: do not expose POSIX symbols

2021-02-20 Thread Dmitry Kozlyuk
On Windows, rte_os.h contains a small POSIX compatibility set of functions and macros. Exposing it from EAL can break consumer own POSIX compatibility layer and is against standards in general. First define required wrappers, then fix POSIX dependencies in Windows-enabled libraries and drivers, th

[dpdk-dev] [PATCH 1/7] eal: add wrappers for POSIX string functions

2021-02-20 Thread Dmitry Kozlyuk
POSIX strncasecmp(), strdup(), and strtok_r() have different names on Windows, respectively, strnicmp(), _strdup(), and strtok_s(). Add wrappers as inline functions, because they're used from librte_kvargs, and thus cannot be in librte_eal; besides, implementation is trivial. Signed-off-by: Dmitr

[dpdk-dev] [PATCH 2/7] eal: add macro for maximum path length

2021-02-20 Thread Dmitry Kozlyuk
Path length limit is PATH_MAX on Unix and _MAX_PATH on Windows. Add RTE_PATH_MAX macro for use in OS-independent code. Keep PATH_MAX in "common" multiprocess code, because it's really Unix-specific. Signed-off-by: Dmitry Kozlyuk --- PATH_MAX is not removed until the last patch to keep PCI buildin

[dpdk-dev] [PATCH 3/7] eal: add sleep API

2021-02-20 Thread Dmitry Kozlyuk
POSIX sleep(3) is missing from Windows. Add generic rte_thread_sleep() to suspend current OS thread. Signed-off-by: Dmitry Kozlyuk --- lib/librte_eal/common/eal_common_timer.c | 5 +++-- lib/librte_eal/include/rte_thread.h | 11 +++ lib/librte_eal/rte_eal_exports.def | 2 ++

[dpdk-dev] [PATCH 4/7] eal: add asprintf() internal wrapper

2021-02-20 Thread Dmitry Kozlyuk
POSIX asprintf() is unavailable on Windows. Add eal_asprintf() wrapper for EAL internal use. On Windows it's a function, on Unix it's a macro for asprintf(). Signed-off-by: Dmitry Kozlyuk --- lib/librte_eal/common/eal_common_lcore.c | 2 +- lib/librte_eal/common/eal_common_options.c|

[dpdk-dev] [PATCH 5/7] lib: remove POSIX dependencies

2021-02-20 Thread Dmitry Kozlyuk
Replace POSIX strtok_r() with EAL rte_strtok(). Replace POSIX strdup() with EAL rte_strdup(). Locally rename Windows _close() to standard close(). Signed-off-by: Dmitry Kozlyuk --- lib/librte_cmdline/cmdline.c | 1 + lib/librte_ethdev/rte_class_eth.c | 2 +- lib/librte_ethdev/rte_ethdev

[dpdk-dev] [PATCH 6/7] drivers: remove POSIX dependencies

2021-02-20 Thread Dmitry Kozlyuk
Replace POSIX strncasecmp() with EAL rte_strncasecmp(). Replace POSIX strtok_r() with EAL rte_strtok(). Replace POSIX strdup() with EAL rte_strdup(). Signed-off-by: Dmitry Kozlyuk --- i40e: checkpatches.sh complains about long lines (it's ~85). I doubt that mechanical fix would keep the cod

[dpdk-dev] [PATCH 7/7] eal/windows: do not expose POSIX symbols

2021-02-20 Thread Dmitry Kozlyuk
Exposing POSIX symbols could break consumer POSIX compatibility code. * Make renaming of close() and unlink() private to EAL. * Remove renaming of strncasecmp(), strtok_r(), and sleep() in favor of using EAL wrappers. Similarly remove PATH_MAX macro. * Replace index(3p), which is not available

[dpdk-dev] [kmods PATCH] windows/netuio: add vmxnet3 device ID

2021-02-20 Thread Dmitry Kozlyuk
Add device ID of VMWare Paravirtualized Ethernet v3. Signed-off-by: Dmitry Kozlyuk --- windows/netuio/netuio.inf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/windows/netuio/netuio.inf b/windows/netuio/netuio.inf index 666a69c..db97366 100644 --- a/windows/netuio/netuio.inf +++ b/windows

[dpdk-dev] [PATCH] net/vmxnet3: build on Windows

2021-02-20 Thread Dmitry Kozlyuk
Remove OS restriction and update release notes. Signed-off-by: Dmitry Kozlyuk --- DPDK-kmods patch: http://patchwork.dpdk.org/patch/88046/ doc/guides/rel_notes/release_21_05.rst | 2 ++ drivers/net/vmxnet3/meson.build| 6 -- 2 files changed, 2 insertions(+), 6 deletions(-) diff --g

[dpdk-dev] [PATCH v2 0/7] eal/windows: do not expose POSIX symbols

2021-02-20 Thread Dmitry Kozlyuk
On Windows, rte_os.h contains a small POSIX compatibility set of functions and macros. Exposing it from EAL can break consumer own POSIX compatibility layer and is against standards in general. First define required wrappers, then fix POSIX dependencies in Windows-enabled libraries and drivers, th

[dpdk-dev] [PATCH v2 1/7] eal: add wrappers for POSIX string functions

2021-02-20 Thread Dmitry Kozlyuk
POSIX strncasecmp(), strdup(), and strtok_r() have different names on Windows, respectively, strnicmp(), _strdup(), and strtok_s(). Add wrappers as inline functions, because they're used from librte_kvargs, and thus cannot be in librte_eal; besides, implementation is trivial. Signed-off-by: Dmitr

[dpdk-dev] [PATCH v2 2/7] eal: add macro for maximum path length

2021-02-20 Thread Dmitry Kozlyuk
Path length limit is PATH_MAX on Unix and _MAX_PATH on Windows. Add RTE_PATH_MAX macro for use in OS-independent code. Keep PATH_MAX in "common" multiprocess code, because it's really Unix-specific. Signed-off-by: Dmitry Kozlyuk --- lib/librte_eal/common/eal_common_config.c | 2 +- lib/libr

[dpdk-dev] [PATCH v2 3/7] eal: add sleep API

2021-02-20 Thread Dmitry Kozlyuk
POSIX sleep(3) is missing from Windows. Add generic rte_thread_sleep() to suspend current OS thread. Signed-off-by: Dmitry Kozlyuk --- lib/librte_eal/common/eal_common_timer.c | 5 +++-- lib/librte_eal/include/rte_thread.h | 11 +++ lib/librte_eal/rte_eal_exports.def | 2 ++

[dpdk-dev] [PATCH v2 4/7] eal: add asprintf() internal wrapper

2021-02-20 Thread Dmitry Kozlyuk
POSIX asprintf() is unavailable on Windows. Add eal_asprintf() wrapper for EAL internal use. On Windows it's a function, on Unix it's a macro for asprintf(). Signed-off-by: Dmitry Kozlyuk --- lib/librte_eal/common/eal_common_lcore.c | 2 +- lib/librte_eal/common/eal_common_options.c|

[dpdk-dev] [PATCH v2 5/7] lib: remove POSIX dependencies

2021-02-20 Thread Dmitry Kozlyuk
Replace POSIX strtok_r() with EAL rte_strtok(). Replace POSIX strdup() with EAL rte_strdup(). Locally rename Windows _close() to standard close(). Signed-off-by: Dmitry Kozlyuk --- lib/librte_cmdline/cmdline.c | 1 + lib/librte_ethdev/rte_class_eth.c | 2 +- lib/librte_ethdev/rte_ethdev

[dpdk-dev] [PATCH v2 6/7] drivers: remove POSIX dependencies

2021-02-20 Thread Dmitry Kozlyuk
Replace POSIX strncasecmp() with EAL rte_strncasecmp(). Replace POSIX strtok_r() with EAL rte_strtok(). Replace POSIX strdup() with EAL rte_strdup(). Signed-off-by: Dmitry Kozlyuk --- i40e: checkpatches.sh complains about long lines (it's ~85). I doubt that mechanical fix would keep the cod

[dpdk-dev] [PATCH v2 7/7] eal/windows: do not expose POSIX symbols

2021-02-20 Thread Dmitry Kozlyuk
Exposing POSIX symbols could break consumer POSIX compatibility code. * Make renaming of close() and unlink() private to EAL. * Remove renaming of strncasecmp(), strtok_r(), and sleep() in favor of using EAL wrappers. Similarly remove PATH_MAX macro. * Replace index(3p), which is not available