In SWS, `mlx5_flow_dv_validate_action_raw_encap_decap` is called for
flow action. The action validation checks for both size and data
parameters.
In HWS, `mlx5_flow_dv_validate_action_raw_encap_decap` is called for
the action template and validates the action mask.
The patch separates encap valid
Multiple threads calling the same function may cause condition
race issues, which often leads to abnormal behavior and can cause
more serious vulnerabilities such as abnormal termination, denial
of service, and compromised data integrity.
This patchset replaces strtok with strtok_r in app, example
Multiple threads calling the same function may cause condition
race issues, which often leads to abnormal behavior and can cause
more serious vulnerabilities such as abnormal termination, denial
of service, and compromised data integrity.
The strtok() is non-reentrant, it is better to replace it w
Multiple threads calling the same function may cause condition
race issues, which often leads to abnormal behavior and can cause
more serious vulnerabilities such as abnormal termination, denial
of service, and compromised data integrity.
The strtok() is non-reentrant, it is better to replace it w
Multiple threads calling the same function may cause condition
race issues, which often leads to abnormal behavior and can cause
more serious vulnerabilities such as abnormal termination, denial
of service, and compromised data integrity.
The strtok() is non-reentrant, it is better to replace it w
Multiple threads calling the same function may cause condition
race issues, which often leads to abnormal behavior and can cause
more serious vulnerabilities such as abnormal termination, denial
of service, and compromised data integrity.
The strtok() is non-reentrant, it is better to replace it w
Multiple threads calling the same function may cause condition
race issues, which often leads to abnormal behavior and can cause
more serious vulnerabilities such as abnormal termination, denial
of service, and compromised data integrity.
The strtok() is non-reentrant, it is better to replace it w
Multiple threads calling the same function may cause condition
race issues, which often leads to abnormal behavior and can cause
more serious vulnerabilities such as abnormal termination, denial
of service, and compromised data integrity.
The strtok() is non-reentrant, it is better to replace it w
Multiple threads calling the same function may cause condition
race issues, which often leads to abnormal behavior and can cause
more serious vulnerabilities such as abnormal termination, denial
of service, and compromised data integrity.
The strtok() is non-reentrant, it is better to replace it w
Multiple threads calling the same function may cause condition
race issues, which often leads to abnormal behavior and can cause
more serious vulnerabilities such as abnormal termination, denial
of service, and compromised data integrity.
This patch adds check in checkpatches.sh for strtok, which
Multiple threads calling the same function may cause condition
race issues, which often leads to abnormal behavior and can cause
more serious vulnerabilities such as abnormal termination, denial
of service, and compromised data integrity.
The strtok() is non-reentrant, it is better to replace it w
Multiple threads calling the same function may cause condition
race issues, which often leads to abnormal behavior and can cause
more serious vulnerabilities such as abnormal termination, denial
of service, and compromised data integrity.
The strtok() is non-reentrant, it is better to replace it w
Multiple threads calling the same function may cause condition
race issues, which often leads to abnormal behavior and can cause
more serious vulnerabilities such as abnormal termination, denial
of service, and compromised data integrity.
The strtok() is non-reentrant, it is better to replace it w
Multiple threads calling the same function may cause condition
race issues, which often leads to abnormal behavior and can cause
more serious vulnerabilities such as abnormal termination, denial
of service, and compromised data integrity.
The strtok() is non-reentrant, it is better to replace it w
Multiple threads calling the same function may cause condition
race issues, which often leads to abnormal behavior and can cause
more serious vulnerabilities such as abnormal termination, denial
of service, and compromised data integrity.
The strtok() is non-reentrant, it is better to replace it w
Problem:
If vxmnet3_dev_configure() fails, applications may call
vmxnet3_dev_close(). If the failure occurs before the vmxnet3
hw->shared structure is allocated the close will lead to a segv.
Root Cause:
This crash is due to incorrect adapter_stopped state in the
vmxnet3 dev_private structure. W
Add the number of zsda devices.
Signed-off-by: Hanxiao Li
---
config/rte_config.h | 4
1 file changed, 4 insertions(+)
diff --git a/config/rte_config.h b/config/rte_config.h
index dd7bb0d35b..e1e85b3291 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -117,6 +117,10 @@
#defin
ADD compression alog match.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/meson.build | 2 +-
drivers/compress/zsda/zsda_comp.c | 34 +++
drivers/compress/zsda/zsda_comp.h | 23 +
3 files changed, 58 insertions(+), 1 deletion(-)
create mode
Add dequeue datapath for zsda.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/zsda_qp.c | 56 +++
drivers/common/zsda/zsda_qp.h | 1 +
2 files changed, 57 insertions(+)
diff --git a/drivers/common/zsda/zsda_qp.c b/drivers/common/zsda/zsda_qp.c
index b884352ea
Add crypto algo match.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/meson.build | 2 +-
drivers/crypto/zsda/zsda_sym.c | 52 +
drivers/crypto/zsda/zsda_sym.h | 17 +++
3 files changed, 70 insertions(+), 1 deletion(-)
create mode 100644 drivers/cry
Add cryptodev test for zsda.
Signed-off-by: Hanxiao Li
---
app/test/test_cryptodev.c | 7 +++
app/test/test_cryptodev.h | 1 +
doc/guides/cryptodevs/zsda.rst | 6 ++
3 files changed, 14 insertions(+)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index c846
Add enqueue datapath for zsda.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/zsda_qp.c | 105 ++
drivers/common/zsda/zsda_qp.h | 2 +
2 files changed, 107 insertions(+)
diff --git a/drivers/common/zsda/zsda_qp.c b/drivers/common/zsda/zsda_qp.c
index 2a85d07
Is the extra control necessary, i.e., why not just always do this and let the
EAL option control whether the pages get dumped?
- On Oct 25, 2024, at 3:26 PM, Dmitry Kozlyuk dmitry.kozl...@gmail.com
wrote:
> It was impossible to include mapped contigmem buffers in core dump.
> Add hw.contigm
Add compression algo match.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/meson.build | 2 +-
drivers/compress/zsda/zsda_comp.c | 34 +++
drivers/compress/zsda/zsda_comp.h | 23 +
3 files changed, 58 insertions(+), 1 deletion(-)
create mode
Add enqueue datapath for zsda.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/zsda_qp.c | 105 ++
drivers/common/zsda/zsda_qp.h | 2 +
2 files changed, 107 insertions(+)
diff --git a/drivers/common/zsda/zsda_qp.c b/drivers/common/zsda/zsda_qp.c
index 2a85d07
Process wqe and cqe of cryptodev
Signed-off-by: Hanxiao Li
---
drivers/crypto/zsda/zsda_sym.c | 221 +
drivers/crypto/zsda/zsda_sym.h | 32 +
2 files changed, 253 insertions(+)
diff --git a/drivers/crypto/zsda/zsda_sym.c b/drivers/crypto/zsda/zsda_sym.c
inde
Initialize cryptodev of zsda and add capabilities.
Signed-off-by: Hanxiao Li
---
MAINTAINERS | 1 +
doc/guides/cryptodevs/features/zsda.ini | 44 ++
doc/guides/cryptodevs/zsda.rst | 22 +
doc/guides/rel_notes/release_24_11.rst | 5 +
dr
Configure session.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/meson.build| 2 +-
drivers/crypto/zsda/zsda_sym_session.c | 490 +
drivers/crypto/zsda/zsda_sym_session.h | 83 +
3 files changed, 574 insertions(+), 1 deletion(-)
create mode 100644 driv
Add crypto algo match.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/meson.build | 2 +-
drivers/crypto/zsda/zsda_sym.c | 52 +
drivers/crypto/zsda/zsda_sym.h | 17 +++
3 files changed, 70 insertions(+), 1 deletion(-)
create mode 100644 drivers/cry
Add queue operations for zsda.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/zsda_qp.c | 438 ++
drivers/common/zsda/zsda_qp.h | 131 ++
2 files changed, 569 insertions(+)
diff --git a/drivers/common/zsda/zsda_qp.c b/drivers/common/zsda/zsda_qp.c
inde
Process wqe and cqe of compressdev.
Signed-off-by: Hanxiao Li
---
doc/guides/compressdevs/features/zsda.ini | 8 +
doc/guides/cryptodevs/zsda.rst| 6 +
drivers/compress/zsda/zsda_comp.c | 357 ++
drivers/compress/zsda/zsda_comp.h | 30 ++
4 fi
Configure session.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/meson.build| 2 +-
drivers/crypto/zsda/zsda_sym_session.c | 490 +
drivers/crypto/zsda/zsda_sym_session.h | 83 +
3 files changed, 574 insertions(+), 1 deletion(-)
create mode 100644 driv
Add cryptodev test for zsda.
Signed-off-by: Hanxiao Li
---
app/test/test_cryptodev.c | 7 +++
app/test/test_cryptodev.h | 1 +
doc/guides/cryptodevs/zsda.rst | 6 ++
3 files changed, 14 insertions(+)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index c846
Initialize cryptodev of zsda and add capabilities.
Signed-off-by: Hanxiao Li
---
MAINTAINERS | 1 +
doc/guides/cryptodevs/features/zsda.ini | 44 ++
doc/guides/cryptodevs/zsda.rst | 22 +
doc/guides/rel_notes/release_24_11.rst | 5 +
dr
2024-10-25 12:30 (UTC-0700), Andre Muezerie:
> Signed-off-by: Andre Muezerie
> ---
> doc/guides/windows_gsg/build_dpdk.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/doc/guides/windows_gsg/build_dpdk.rst
> b/doc/guides/windows_gsg/build_dpdk.rst
> index c5fad81..76
2024-10-25 12:30 (UTC-0700), Andre Muezerie:
> -Open a 'Developer PowerShell for VS 2022' prompt from the start menu.
> +Open a 'Visual Studio Developer Command Prompt'. When doing so, it's
> recommended
> +to specify the Target Architecture (-arch) and the Host Architecture
> (-host_arch).
It s
在 2024/10/26 13:22, Tummala, Sivaprasad 写道:
[AMD Official Use Only - AMD Internal Distribution Only]
Hi Huisong,
-Original Message-
From: lihuisong (C)
Sent: Saturday, October 26, 2024 8:37 AM
To: Tummala, Sivaprasad
Cc: dev@dpdk.org; david.h...@intel.com; anatoly.bura...@intel.com
Process wqe and cqe of compressdev.
Signed-off-by: Hanxiao Li
---
doc/guides/compressdevs/features/zsda.ini | 8 +
doc/guides/cryptodevs/zsda.rst| 6 +
drivers/compress/zsda/zsda_comp.c | 357 ++
drivers/compress/zsda/zsda_comp.h | 30 ++
4 fi
Initializate compressdev.
Signed-off-by: Hanxiao Li
---
MAINTAINERS| 1 +
doc/guides/compressdevs/zsda.rst | 17 +
doc/guides/rel_notes/release_24_11.rst | 7 +
drivers/common/zsda/meson.build| 10 +
drivers/compress/zsda/zsda_comp_pmd.c | 463 +++
initialize compressdev.
Signed-off-by: Hanxiao Li
---
MAINTAINERS| 1 +
doc/guides/compressdevs/zsda.rst | 17 +
doc/guides/rel_notes/release_24_11.rst | 7 +
drivers/common/zsda/meson.build| 10 +
drivers/compress/zsda/zsda_comp_pmd.c | 463 +
Add functions to operate hardware queue for zsda.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/meson.build | 1 +
drivers/common/zsda/zsda_qp.c | 272
drivers/common/zsda/zsda_qp.h | 15 ++
3 files changed, 288 insertions(+)
create mode 100644 driver
Process wqe and cqe of cryptodev
Signed-off-by: Hanxiao Li
---
drivers/crypto/zsda/zsda_sym.c | 221 +
drivers/crypto/zsda/zsda_sym.h | 32 +
2 files changed, 253 insertions(+)
diff --git a/drivers/crypto/zsda/zsda_sym.c b/drivers/crypto/zsda/zsda_sym.c
inde
v17:
- fix some spelling errors
v16:
- resplit patches.
- complete documentation which is yet there in that patch.
- every patch should compile without any warnings or errors.
- delete unused comments.
v15:
- split to more patches.
v14:
- Uniform Byte Alignment.
v13:
- resolve some comiler warn
Add the number of zsda devices.
Signed-off-by: Hanxiao Li
---
config/rte_config.h | 4
1 file changed, 4 insertions(+)
diff --git a/config/rte_config.h b/config/rte_config.h
index dd7bb0d35b..e1e85b3291 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -117,6 +117,10 @@
#defin
v16:
- resplit patches.
- complete documentation which is yet there in that patch.
- every patch should compile without any warnings or errors.
- delete unused comments.
v15:
- split to more patches.
v14:
- Uniform Byte Alignment.
v13:
- resolve some comiler warnings that are being suppressed.
Add queue operations for zsda.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/zsda_qp.c | 438 ++
drivers/common/zsda/zsda_qp.h | 131 ++
2 files changed, 569 insertions(+)
diff --git a/drivers/common/zsda/zsda_qp.c b/drivers/common/zsda/zsda_qp.c
inde
22/10/2024 14:20, Junlong Wang:
> +enum MSG_VEC {
> +ZXDH_MSIX_FROM_PFVF = ZXDH_MSIX_INTR_MSG_VEC_BASE,
> +ZXDH_MSIX_FROM_MPF,
> +ZXDH_MSIX_FROM_RISCV,
> +ZXDH_MSG_VEC_NUM,
> +};
> +
> enum BAR_MSG_RTN {
> ZXDH_BAR_MSG_OK = 0,
> ZXDH_BAR_MSG_ERR_MSGID,
Again these enums
Add dequeue datapath for zsda.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/zsda_qp.c | 56 +++
drivers/common/zsda/zsda_qp.h | 1 +
2 files changed, 57 insertions(+)
diff --git a/drivers/common/zsda/zsda_qp.c b/drivers/common/zsda/zsda_qp.c
index b884352ea
Add functions to operate hardware queue for zsda.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/meson.build | 1 +
drivers/common/zsda/zsda_qp.c | 272
drivers/common/zsda/zsda_qp.h | 15 ++
3 files changed, 288 insertions(+)
create mode 100644 driver
On Sat, 26 Oct 2024 18:14:41 +0800
Jie Hai wrote:
> Multiple threads calling the same function may cause condition
> race issues, which often leads to abnormal behavior and can cause
> more serious vulnerabilities such as abnormal termination, denial
> of service, and compromised data integrity.
On Sat, 26 Oct 2024 18:14:51 +0800
Jie Hai wrote:
> diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh
> index d860f190457e..8c3d32d8e552 100755
> --- a/devtools/checkpatches.sh
> +++ b/devtools/checkpatches.sh
> @@ -145,6 +145,14 @@ check_forbidden_additions() { #
>
On Sat, 26 Oct 2024 18:14:47 +0800
Jie Hai wrote:
> Multiple threads calling the same function may cause condition
> race issues, which often leads to abnormal behavior and can cause
> more serious vulnerabilities such as abnormal termination, denial
> of service, and compromised data integrity.
52 matches
Mail list logo