idia.com/networking/display/winof2v290/devx+interface>
> `_.
> The minimal supported WinOF2 version is 2.60.
>
>
> --
> 2.25.1
Acked-by: Tal Shnaiderman
and can by enabled
by setting mprq_en=1 in the PMD specific arguments.
Signed-off-by: Tal Shnaiderman
Tested-by: Pier Damouny
Acked-by: Matan Azrad
---
drivers/common/mlx5/mlx5_devx_cmds.c| 3 +++
drivers/common/mlx5/mlx5_devx_cmds.h| 2 ++
drivers/common/mlx5/windows
mpw_en unset(default) - enhanced multi packet write
will be activated if supported.
if unsupported the multi packet write feature is disabled.
Signed-off-by: Tal Shnaiderman
Tested-by: Pier Damouny
Acked-by: Matan Azrad
---
doc/guides/rel_notes/release_23_07.rst | 33 -
-off-by: Tal Shnaiderman
Tested-by: Pier Damouny
Acked-by: Matan Azrad
---
drivers/common/mlx5/mlx5_devx_cmds.c | 2 ++
drivers/common/mlx5/mlx5_devx_cmds.h | 1 +
drivers/net/mlx5/windows/mlx5_os.c | 12
3 files changed, 15 insertions(+)
diff --git a/drivers/common/mlx5
The following series enables support of 3 hardware offloads on Windows which
improve PMD throughput.
RX throughput improvements:
**Multi-packet RQ.
**CQE compression.
TX throughput improvement:
**Multi packet send.
---
v2:
* Add tags
---
Tal Shnaiderman (3):
net/mlx5: support multi-packet
mpw_en unset(default) - enhanced multi packet write
will be activated if supported.
if unsupported the multi packet write feature is disabled.
Signed-off-by: Tal Shnaiderman
---
doc/guides/rel_notes/release_23_07.rst | 33 -
drivers/common/mlx5/mlx5_devx_cmds.c | 6 ++
-off-by: Tal Shnaiderman
---
drivers/common/mlx5/mlx5_devx_cmds.c | 2 ++
drivers/common/mlx5/mlx5_devx_cmds.h | 1 +
drivers/net/mlx5/windows/mlx5_os.c | 12
3 files changed, 15 insertions(+)
diff --git a/drivers/common/mlx5/mlx5_devx_cmds.c
b/drivers/common/mlx5
and can by enabled
by setting mprq_en=1 in the PMD specific arguments.
Signed-off-by: Tal Shnaiderman
---
drivers/common/mlx5/mlx5_devx_cmds.c| 3 +++
drivers/common/mlx5/mlx5_devx_cmds.h| 2 ++
drivers/common/mlx5/windows/mlx5_win_defs.h | 8 +++-
drivers/net/mlx5/windows
The following series enables support of 3 hardware offloads on Windows which
improve PMD throughput.
RX throughput improvements:
**Multi-packet RQ.
**CQE compression.
TX throughput improvement:
**Multi packet send.
Tal Shnaiderman (3):
net/mlx5: support multi-packet RQ on Windows
net/mlx5
> Subject: Re: [PATCH v11 0/3] Fix cmdline_poll and testpmd signal handling
>
> External email: Use caution opening links or attachments
>
>
> 19/02/2023 18:53, Stephen Hemminger:
> > On Fri, 3 Feb 2023 11:14:06 -0800
> > Stephen Hemminger wrote:
> >
> > > This patchset keeps uncovering b
dpdk.org
> >
> > Signed-off-by: Thomas Monjalon
> > ---
>
> lgtm
>
> Acked-by: Tyler Retzlaff
Acked-by: Tal Shnaiderman
er to understand,
> > and the weak attributes can be removed.
> >
> > This change helps to compile with MinGW GCC which has no support for
> > weak functions.
> >
> > Signed-off-by: Thomas Monjalon
> > ---
>
> Acked-by: Tyler Retzlaff
Acked-by: Tal Shnaiderman
7;, 'import os;
> print(os.environ["DEVX_INC_PATH"])', check: false)
> -
> -if (res_lib.returncode() != 0 or res_inc.returncode() != 0)
> -build = false
> -reason = 'DevX environment variables are not set, DEVX_LIB_PATH and
> DEVX_INC_PATH vars must be exported'
> -subdir_done()
> -endif
> -
> -devx_lib_dir = res_lib.stdout().strip() -devx_inc_dir =
> res_inc.stdout().strip()
> -
> -ext_deps += cc.find_library('mlx5devx', dirs: devx_lib_dir, required: true) -
> includes += include_directories(devx_inc_dir) cflags_options = [
> '-std=c11',
> '-Wno-strict-prototypes',
> --
> 2.39.1
Acked-by: Tal Shnaiderman
The mlx5_is_thread_alive function always returns false
(terminated) regardless to the actual thread state.
Fixed to return the correct thread state.
Bugzilla ID: 1089
Fixes: 5d55a494f4e62f2 ("net/mlx5: split multi-thread flow handling per OS")
Cc: sta...@dpdk.org
Signed-off-by: Tal S
and can by enabled
by setting mprq_en=1 in the PMD specific arguments.
Signed-off-by: Tal Shnaiderman
---
drivers/common/mlx5/mlx5_devx_cmds.c| 3 +++
drivers/common/mlx5/mlx5_devx_cmds.h| 2 ++
drivers/common/mlx5/windows/mlx5_win_defs.h | 7 +++
drivers/net/mlx5/windows
The following series enables support of 3 hardware offloads on Windows which
improve PMD throughput.
RX throughput improvements:
**Multi-packet RQ.
**CQE compression.
TX throughput improvement:
**Multi packet send.
Tal Shnaiderman (3):
net/mlx5: support multi-packet RQ on Windows
net/mlx5
-off-by: Tal Shnaiderman
---
drivers/common/mlx5/mlx5_devx_cmds.c | 2 ++
drivers/common/mlx5/mlx5_devx_cmds.h | 1 +
drivers/net/mlx5/windows/mlx5_os.c | 8
3 files changed, 11 insertions(+)
diff --git a/drivers/common/mlx5/mlx5_devx_cmds.c
b/drivers/common/mlx5/mlx5_devx_cmds.c
index
mpw_en unset(default) - enhanced multi packet write
will be activated if supported.
if unsupported the multi packet write feature is disabled.
Signed-off-by: Tal Shnaiderman
---
drivers/common/mlx5/mlx5_devx_cmds.c | 6 ++
drivers/common/mlx5/mlx5_devx_cmds.h | 2 ++
drivers/net/mlx5/wind
return -1;
> }
> for (i = 0; i < ret; i++)
> - conf[i].mask = (uint64_t)strtoul(str_fld[i], &end, 0);
> + conf[i].mask = (uint64_t)strtoull(str_fld[i], &end, 0);
>
> return 0;
> }
> --
> 2.16.1.windows.4
Acked-by: Tal Shnaiderman
_list_destroy(tbl_data->matchers);
> + if (tbl_data->matchers)
> + mlx5_list_destroy(tbl_data->matchers);
> mlx5_ipool_free(sh->ipool[MLX5_IPOOL_JUMP], tbl_data->idx); }
>
> --
> 2.16.1.windows.4
Acked-by: Tal Shnaiderman
/* Initialize services so drivers can register services during probe.
> */
> --
> 2.31.1.windows.1
Acked-by: Tal Shnaiderman
Add support for the imissed counter using the DevX API on Windows.
imissed is queried by creating a queue counter for the port, attaching
it to all created RQs and querying the "out_of_buffer" field.
If the counter cannot be created, imissed will always report 0.
Signed-off-by: Tal S
> Subject: RE: [EXT] [PATCH v3 5/5] crypto/mlx5: support on Windows
>
> External email: Use caution opening links or attachments
>
>
> > Add support for mlx5 crypto pmd on Windows OS.
> > Add changes to release note and pmd guide.
> >
> > Signed-off-b
ambiguity the allocation size will be calculated
by the sizes of the members excluding the flexible union.
Fixes: a1978aa23bf4 ("crypto/mlx5: add maximum segments configuration")
Cc: sta...@dpdk.org
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/crypto/mlx5/mlx5_cr
Add support for mlx5 crypto pmd on Windows OS.
Add changes to release note and pmd guide.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
doc/guides/cryptodevs/mlx5.rst | 15 ---
doc/guides/rel_notes/release_21_11.rst | 1 +
drivers/common/mlx5
Remove the check and build failure from crypto/meson.build
in case building for Windows OS.
Add this check/failure in the meson.build file of each crypto PMD
that is not enforcing it to allow PMD support for Windows
per driver when applicable.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan
Remove the usage of PTHREAD_MUTEX_INITIALIZER which is not
support in Windows and initialize priv_list_lock in RTE_INIT.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/crypto/mlx5/mlx5_crypto.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers
r mlx5 only and the rest of the drivers [AkhilG]
---
Tal Shnaiderman (5):
common/mlx5: add DV enums to Windows defs file
crypto/mlx5: modify unix pthread code
crypto/mlx5: fix size of UMR WQE
build: check Windows support per driver
crypto/mlx5: support on Windows
doc/guides/cryp
Add needed DV enums used by the crypto PMD and missing
for Windows OS.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/common/mlx5/windows/mlx5_win_defs.h | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/common/mlx5/windows/mlx5_win_defs.h
b/drivers
Remove the check and build failure in case of Windows OS
from crypto/meson.build to the meson.build file of each
crypto PMD to allow PMD support on this OS per driver.
Signed-off-by: Tal Shnaiderman
---
drivers/crypto/aesni_gcm/meson.build | 6 ++
drivers/crypto/aesni_mb/meson.build | 6
Add support for mlx5 crypto pmd on Windows OS.
Add changes to release note and pmd guide.
Signed-off-by: Tal Shnaiderman
---
doc/guides/cryptodevs/mlx5.rst | 15 ---
doc/guides/rel_notes/release_21_11.rst | 1 +
drivers/common/mlx5/version.map | 2
Remove the check and build failure from crypto/meson.build
in case building for Windows OS.
Add this check/failure in the meson.build file of each crypto PMD
that is not enforcing it to allow PMD support for Windows
per driver when applicable.
Signed-off-by: Tal Shnaiderman
---
drivers/crypto
Add needed DV enums used by the crypto PMD and missing
for Windows OS.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/common/mlx5/windows/mlx5_win_defs.h | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/common/mlx5/windows/mlx5_win_defs.h
b/drivers
Support the MLX5 crypto driver on Windows OS by moving the driver's
control path communication with the Kernel to be OS agnostic.
---
Depends-on: series-19421 ("mlx5: sharing global MR cache between drivers")
v2: Split build change for mlx5 only and the rest of the drivers [A
use the functions mlx5_os_umem_reg, mlx5_os_umem_dereg
mlx5_os_get_umem_id instead of the glue functions to support
UMEM operations on all OSs.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/crypto/mlx5/mlx5_crypto.c | 8
drivers/crypto/mlx5/mlx5_crypto.h | 2 +-
2
Use the OS agnostic EAL function rte_mem_page_size to get
page size value instead of the Linux specific implementation.
Also remove the usage of PTHREAD_MUTEX_INITIALIZER which is not
support in Windows and initialize priv_list_lock in RTE_INIT.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan
ambiguity the allocation size will be calculated
by the sizes of the members excluding the flexible union.
Fixes: a1978aa23bf4 ("crypto/mlx5: add maximum segments configuration")
Cc: sta...@dpdk.org
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/crypto/mlx5/mlx5_cr
> Subject: RE: [EXT] [PATCH 5/5] crypto/mlx5: support on Windows
>
> External email: Use caution opening links or attachments
>
>
> > Add support for mlx5 crypto pmd on Windows OS.
> > Add changes to release note and pmd guide.
> >
> > Signed-off-by: T
> Subject: [dpdk-dev] [PATCH v4] cryptodev: add telemetry callbacks
>
> External email: Use caution opening links or attachments
>
>
> The cryptodev library now registers commands with telemetry, and
> implements the corresponding callback functions. These commands allow a
> list of cryptodevs t
todevs
>
> External email: Use caution opening links or attachments
>
>
> Added table to the crypto device drivers documentation stating the support
> of each PMD on Linux, FreeBSD and Windows.
>
> Signed-off-by: Tal Shnaiderman
> ---
> Depends-on: series-19563 (&quo
Added table to the crypto device drivers documentation
stating the support of each PMD on Linux, FreeBSD and Windows.
Signed-off-by: Tal Shnaiderman
---
Depends-on: series-19563 ("Support MLX5 crypto driver on Windows")
---
doc/guides/conf.py | 5 +
use the functions mlx5_os_umem_reg, mlx5_os_umem_dereg
mlx5_os_get_umem_id instead of the glue functions to support
UMEM operations on all OSs.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/crypto/mlx5/mlx5_crypto.c | 8
drivers/crypto/mlx5/mlx5_crypto.h | 2 +-
2
Support the MLX5 crypto driver on Windows OS by moving the driver's
control path communication with the Kernel to be OS agnostic.
---
Depends-on: series-19421 ("mlx5: sharing global MR cache between drivers")
---
Tal Shnaiderman (5):
common/mlx5: add DV enums to Windows defs fil
Add needed DV enums used by the crypto PMD and missing
for Windows OS.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/common/mlx5/windows/mlx5_win_defs.h | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/common/mlx5/windows/mlx5_win_defs.h
b/drivers
Add support for mlx5 crypto pmd on Windows OS.
Add changes to release note and pmd guide.
Signed-off-by: Tal Shnaiderman
---
doc/guides/cryptodevs/mlx5.rst | 15 ---
doc/guides/rel_notes/release_21_11.rst | 1 +
drivers/common/mlx5/version.map | 2
Use the OS agnostic EAL function rte_mem_page_size to get
page size value instead of the Linux specific implementation.
Also remove the usage of PTHREAD_MUTEX_INITIALIZER which is not
support in Windows and initialize priv_list_lock in RTE_INIT.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan
ambiguity the allocation size will be calculated
by the sizes of the members excluding the flexible union.
Fixes: a1978aa23bf4 ("crypto/mlx5: add maximum segments configuration")
Cc: sta...@dpdk.org
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/crypto/mlx5/mlx5_cr
Support of the VLAN stripping offloading by checking
the relevant FW capability (vlan_cap) for NIC support.
Supported offload:
DEV_RX_OFFLOAD_VLAN_STRIP
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
Tested-by: Idan Hackmon
---
drivers/net/mlx5/windows/mlx5_flow_os.h | 1 +
drivers
mlx5 in Windows needs the hca capability scatter_fcs
to query the NIC support for the CRC keeping offload.
Added the capability as part of the capabilities
queried by the PMD using DevX.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
Tested-by: Idan Hackmon
---
drivers/common/mlx5
mlx5 in Windows needs the hca capability vlan_cap
to query the NIC for VLAN stripping support
Added the capability as part of the capabilities
queried by the PMD using DevX.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
Tested-by: Idan Hackmon
---
drivers/common/mlx5/mlx5_devx_cmds.c
Added the new Windows supported offload to the
21.11 release note.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
doc/guides/rel_notes/release_21_11.rst | 4
1 file changed, 4 insertions(+)
diff --git a/doc/guides/rel_notes/release_21_11.rst
b/doc/guides/rel_notes
Support of the TSO offloading by checking
the relevant FW capability for NIC support.
Supported offloads:
DEV_TX_OFFLOAD_TCP_TSO
DEV_TX_OFFLOAD_VXLAN_TNL_TSO
DEV_TX_OFFLOAD_GRE_TNL_TSO
DEV_TX_OFFLOAD_GENEVE_TNL_TSO
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
Tested-by: Idan Hackmon
mlx5 in Windows needs the hca capability max_lso_cap
to query the NIC for TSO offloading support.
Added the capability as part of the capabilities
queried by the PMD using DevX.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
Tested-by: Idan Hackmon
---
drivers/common/mlx5
Support of the keep-CRC offloading by checking
the relevant FW capability (scatter_fcs) for NIC support.
Supported offload:
DEV_RX_OFFLOAD_KEEP_CRC
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
Tested-by: Idan Hackmon
---
drivers/net/mlx5/windows/mlx5_os.c | 1 +
1 file changed, 1
mlx5 in Windows needs the tunneling hca capabilities
to query the NIC for Inner TSO offloading support.
Added the capability as part of the capabilities
queried by the PMD using DevX.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
Tested-by: Idan Hackmon
---
drivers/common/mlx5
ffload
DEV_TX_OFFLOAD_GENEVE_TNL_TSO can be enabled.
The fix enables the offloads according to the correct
flags returned by the kernel.
Fixes: dbccb4cddcd2f7c ("net/mlx5: convert to new Tx offloads API")
Cc: sta...@dpdk.org
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
Tested-by: Idan Hackmon
Query tunneling supported on the NIC.
Save the offloads values in a config parameter.
This is needed for the following TSO support:
DEV_TX_OFFLOAD_VXLAN_TNL_TSO
DEV_TX_OFFLOAD_GRE_TNL_TSO
DEV_TX_OFFLOAD_GENEVE_TNL_TSO
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
Tested-by: Idan
mlx5 in Windows needs the software parsing hca capabilities
to query the NIC for TSO and Checksum offloading support.
Added the capability as part of the capabilities
queried by the PMD using DevX.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
Tested-by: Idan Hackmon
---
drivers
SO from the standard
one")
Cc: sta...@dpdk.org
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
Tested-by: Idan Hackmon
---
drivers/net/mlx5/linux/mlx5_os.c | 3 ++-
drivers/net/mlx5/linux/mlx5_os.h | 12
drivers/net/mlx5/mlx5.h | 2 +-
drivers/net/mlx5/mlx5
Query software parsing supported on the NIC.
Save the offloads values in a config parameter.
This is needed for the outer IPv4 checksum and
IP and UPD tunneled packet TSO support.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
Tested-by: Idan Hackmon
---
drivers/net/mlx5/mlx5.c
The series supports a group of NIC offloads on Windows:
DEV_TX_OFFLOAD_TCP_TSO
DEV_TX_OFFLOAD_VXLAN_TNL_TSO
DEV_TX_OFFLOAD_GRE_TNL_TSO
DEV_TX_OFFLOAD_GENEVE_TNL_TSO
DEV_RX_OFFLOAD_VLAN_STRIP
DEV_RX_OFFLOAD_KEEP_CRC
---
v2: updated 21.11 release note
---
Tal Shnaiderman (13):
net/mlx5: fix
Support of the TSO offloading by checking
the relevant FW capability for NIC support.
Supported offloads:
DEV_TX_OFFLOAD_TCP_TSO
DEV_TX_OFFLOAD_VXLAN_TNL_TSO
DEV_TX_OFFLOAD_GRE_TNL_TSO
DEV_TX_OFFLOAD_GENEVE_TNL_TSO
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/net/mlx5
mlx5 in Windows needs the hca capability max_lso_cap
to query the NIC for TSO offloading support.
Added the capability as part of the capabilities
queried by the PMD using DevX.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/common/mlx5/mlx5_devx_cmds.c | 2 ++
drivers
mlx5 in Windows needs the hca capability scatter_fcs
to query the NIC support for the CRC keeping offload.
Added the capability as part of the capabilities
queried by the PMD using DevX.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/common/mlx5/mlx5_devx_cmds.c | 2
mlx5 in Windows needs the hca capability vlan_cap
to query the NIC for VLAN stripping support
Added the capability as part of the capabilities
queried by the PMD using DevX.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/common/mlx5/mlx5_devx_cmds.c | 2 ++
drivers/common
Support of the VLAN stripping offloading by checking
the relevant FW capability (vlan_cap) for NIC support.
Supported offload:
DEV_RX_OFFLOAD_VLAN_STRIP
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/net/mlx5/windows/mlx5_flow_os.h | 1 +
drivers/net/mlx5/windows/mlx5_os.c
Query tunneling supported on the NIC.
Save the offloads values in a config parameter.
This is needed for the following TSO support:
DEV_TX_OFFLOAD_VXLAN_TNL_TSO
DEV_TX_OFFLOAD_GRE_TNL_TSO
DEV_TX_OFFLOAD_GENEVE_TNL_TSO
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/net/mlx5
Support of the keep-CRC offloading by checking
the relevant FW capability (scatter_fcs) for NIC support.
Supported offload:
DEV_RX_OFFLOAD_KEEP_CRC
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/net/mlx5/windows/mlx5_os.c | 1 +
1 file changed, 1 insertion(+)
diff --git a
mlx5 in Windows needs the tunneling hca capabilities
to query the NIC for Inner TSO offloading support.
Added the capability as part of the capabilities
queried by the PMD using DevX.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/common/mlx5/mlx5_devx_cmds.c | 6
Query software parsing supported on the NIC.
Save the offloads values in a config parameter.
This is needed for the outer IPv4 checksum and
IP and UPD tunneled packet TSO support.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/net/mlx5/mlx5.c| 16
ffload
DEV_TX_OFFLOAD_GENEVE_TNL_TSO can be enabled.
The fix enables the offloads according to the correct
flags returned by the kernel.
Fixes: dbccb4cddcd2f7c ("net/mlx5: convert to new Tx offloads API")
Cc: sta...@dpdk.org
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/net/mlx5/linux/
SO from the standard
one")
Cc: sta...@dpdk.org
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/net/mlx5/linux/mlx5_os.c | 3 ++-
drivers/net/mlx5/linux/mlx5_os.h | 12
drivers/net/mlx5/mlx5.h | 2 +-
drivers/net/mlx5/mlx5_txq.c | 15 +--
mlx5 in Windows needs the software parsing hca capabilities
to query the NIC for TSO and Checksum offloading support.
Added the capability as part of the capabilities
queried by the PMD using DevX.
Signed-off-by: Tal Shnaiderman
Acked-by: Matan Azrad
---
drivers/common/mlx5/mlx5_devx_cmds.c
The series supports a group of NIC offloads on Windows:
DEV_TX_OFFLOAD_TCP_TSO
DEV_TX_OFFLOAD_VXLAN_TNL_TSO
DEV_TX_OFFLOAD_GRE_TNL_TSO
DEV_TX_OFFLOAD_GENEVE_TNL_TSO
DEV_RX_OFFLOAD_VLAN_STRIP
DEV_RX_OFFLOAD_KEEP_CRC
Tal Shnaiderman (12):
net/mlx5: fix software parsing support query
common
> Subject: RE: [EXT] [PATCH] cryptodev: build on Windows
>
> External email: Use caution opening links or attachments
>
>
> > > Build the cryptography device library on Windows OS by removing
> > > unneeded include and exports blocking the compilation.
> >
> Subject: Re: [PATCH 2/2] security: build on Windows
>
> External email: Use caution opening links or attachments
>
>
> On 9/15/2021 9:26 AM, Tal Shnaiderman wrote:
> > Build the security library on Windows.
> >
> > Remove unneeded export from vers
RROR_SUCCESS;
> }
> RTE_LOG_WIN32_ERR("SetupDiGetDevicePropertyW"
> --
> 2.31.1.windows.1
You should add "on Windows" to the end of the patch name to clarity it's a
Windows issue.
Aside from that LGTM.
Acked-by: Tal Shnaiderman
systems.
> >
> > Signed-off-by: Tal Shnaiderman
> > ---
> > lib/net/rte_ip.h| 1 +
> > lib/security/meson.build| 2 +-
> > lib/security/rte_security.h | 5 +
> > 3 files changed, 3 insertions(+), 5 deletions(-)
> >
> >
Enable cryptography unit tests on Windows supported crypto PMDs.
Signed-off-by: Tal Shnaiderman
---
Depends-on: series-18674 ("app/test: enable subset of tests on Windows")
Depends-on: patch-98942 ("security: build on Windows")
---
app/test/meson.build | 12 ++-
Remove the netinet includes and replaces them
with rte_ip.h to support the in_addr/in6_addr structs
on all operating systems.
Signed-off-by: Tal Shnaiderman
---
lib/net/rte_ip.h| 1 +
lib/security/meson.build| 2 +-
lib/security/rte_security.h | 5 +
3 files changed, 3
Build the security library on Windows.
Remove unneeded export from version file.
Signed-off-by: Tal Shnaiderman
---
Depends-on: patch-98796 ("cryptodev: build on Windows")
---
lib/meson.build | 1 +
lib/security/version.map | 1 -
2 files changed, 1 insertion(+), 1 deletio
mlx5 in Windows needs the hca capability max_lso_cap
to query the NIC for TSO offloading support.
Added the capability as part of the capabilities
queried by the PMD using DevX.
Signed-off-by: Tal Shnaiderman
---
drivers/common/mlx5/mlx5_devx_cmds.c | 2 ++
drivers/common/mlx5/mlx5_devx_cmds.h
Support of the VLAN stripping offloading by checking
the relevant FW capability (vlan_cap) for NIC support.
Supported offload:
DEV_RX_OFFLOAD_VLAN_STRIP
Signed-off-by: Tal Shnaiderman
---
drivers/net/mlx5/windows/mlx5_os.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
mlx5 in Windows needs the hca capability vlan_cap
to query the NIC for VLAN stripping support
Added the capability as part of the capabilities
queried by the PMD using DevX.
Signed-off-by: Tal Shnaiderman
---
drivers/common/mlx5/mlx5_devx_cmds.c | 2 ++
drivers/common/mlx5/mlx5_devx_cmds.h | 1
Query tunneling supported on the NIC.
Save the offloads values in a config parameter.
This is needed for the following TSO support:
DEV_TX_OFFLOAD_VXLAN_TNL_TSO
DEV_TX_OFFLOAD_GRE_TNL_TSO
DEV_TX_OFFLOAD_GENEVE_TNL_TSO
Signed-off-by: Tal Shnaiderman
---
drivers/net/mlx5/mlx5.c| 14
mlx5 in Windows needs the tunneling hca capabilities
to query the NIC for Inner TSO offloading support.
Added the capability as part of the capabilities
queried by the PMD using DevX.
Signed-off-by: Tal Shnaiderman
---
drivers/common/mlx5/mlx5_devx_cmds.c | 6 ++
drivers/common/mlx5
Support of the keep-CRC offloading by checking
the relevant FW capability (scatter_fcs) for NIC support.
Supported offload:
DEV_RX_OFFLOAD_KEEP_CRC
Signed-off-by: Tal Shnaiderman
---
drivers/net/mlx5/windows/mlx5_os.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/mlx5
mlx5 in Windows needs the hca capability scatter_fcs
to query the NIC support for the CRC keeping offload.
Added the capability as part of the capabilities
queried by the PMD using DevX.
Signed-off-by: Tal Shnaiderman
---
drivers/common/mlx5/mlx5_devx_cmds.c | 2 ++
drivers/common/mlx5
Query software parsing supported on the NIC.
Save the offloads values in a config parameter.
This is needed for the outer IPv4 checksum and
IP and UPD tunneled packet TSO support.
Signed-off-by: Tal Shnaiderman
---
drivers/net/mlx5/mlx5.c| 16
drivers/net/mlx5/mlx5
Support of the TSO offloading by checking
the relevant FW capability for NIC support.
Supported offloads:
DEV_TX_OFFLOAD_TCP_TSO
DEV_TX_OFFLOAD_VXLAN_TNL_TSO
DEV_TX_OFFLOAD_GRE_TNL_TSO
DEV_TX_OFFLOAD_GENEVE_TNL_TSO
Signed-off-by: Tal Shnaiderman
---
drivers/net/mlx5/windows/mlx5_os.c | 2
ffload
DEV_TX_OFFLOAD_GENEVE_TNL_TSO can be enabled.
The fix enables the offloads according to the correct
flags returned by the kernel.
Fixes: dbccb4cddcd2f7c ("net/mlx5: convert to new Tx offloads API")
Cc: sta...@dpdk.org
Signed-off-by: Tal Shnaiderman
---
drivers/net/mlx5/linux/mlx5_os.c | 6 ++
The series supports a group of NIC offloads on Windows:
DEV_TX_OFFLOAD_TCP_TSO
DEV_TX_OFFLOAD_VXLAN_TNL_TSO
DEV_TX_OFFLOAD_GRE_TNL_TSO
DEV_TX_OFFLOAD_GENEVE_TNL_TSO
DEV_RX_OFFLOAD_VLAN_STRIP
DEV_RX_OFFLOAD_KEEP_CRC
Tal Shnaiderman (12):
net/mlx5: fix software parsing support query
common
mlx5 in Windows needs the software parsing hca capabilities
to query the NIC for TSO and Checksum offloading support.
Added the capability as part of the capabilities
queried by the PMD using DevX.
Signed-off-by: Tal Shnaiderman
---
drivers/common/mlx5/mlx5_devx_cmds.c | 6 ++
drivers
SO from the standard
one")
Cc: sta...@dpdk.org
Signed-off-by: Tal Shnaiderman
---
drivers/net/mlx5/linux/mlx5_os.c | 3 ++-
drivers/net/mlx5/linux/mlx5_os.h | 12
drivers/net/mlx5/mlx5.h | 2 +-
drivers/net/mlx5/mlx5_txq.c | 15 +--
4 files changed, 24
ambiguity the allocation size will be calculated
by the sizes of the members excluding the flexible union.
Fixes: a1978aa23bf4 ("crypto/mlx5: add maximum segments configuration")
Cc: sta...@dpdk.org
Signed-off-by: Tal Shnaiderman
---
drivers/crypto/mlx5/mlx5_crypto.c | 4 +++-
1 file
use the functions mlx5_os_alloc_pd, mlx5_os_dealloc_pd
mlx5_os_get_pdn instead of the glue functions to support
PD operations on all OSs.
Signed-off-by: Tal Shnaiderman
---
drivers/crypto/mlx5/mlx5_crypto.c | 15 ++-
drivers/crypto/mlx5/mlx5_crypto.h | 2 +-
2 files changed, 7
use the functions mlx5_os_umem_reg, mlx5_os_umem_dereg
mlx5_os_get_umem_id instead of the glue functions to support
UMEM operations on all OSs.
Signed-off-by: Tal Shnaiderman
---
drivers/crypto/mlx5/mlx5_crypto.c | 14 +++---
drivers/crypto/mlx5/mlx5_crypto.h | 2 +-
2 files changed, 8
use the functions mlx5_os_open_device_context, mlx5_os_get_ctx_device_name
mlx5_os_reg_mr mlx5_os_dereg_mr instead of the ib verbs functions
and variables to support device operations on all OSs.
Signed-off-by: Tal Shnaiderman
---
drivers/crypto/mlx5/mlx5_crypto.c | 41
The OS agnostic functions for memory region registration/deregistration
(mlx5_os_reg_mr mlx5_os_dereg_mr) exist only for Windows OS.
Adding them for Linux as well as they are needed for memory region
activities in shared code.
Signed-off-by: Tal Shnaiderman
---
drivers/common/mlx5/linux
Use the OS agnostic EAL function rte_mem_page_size to get
page size value instead of the Linux specific implementation.
Also remove the usage of PTHREAD_MUTEX_INITIALIZER which is not
support in Windows and initialize priv_list_lock in RTE_INIT.
Signed-off-by: Tal Shnaiderman
---
drivers
1 - 100 of 535 matches
Mail list logo