[PATCH] doc: update DLB2 documentation

2022-07-02 Thread Timothy McDaniel
This commit updates the dlb2.rst eventdev guide to document the new DLB2 features that were added to dpdk 22.07. 1) CQ Weight 2) Port COS 3) Maximum CQ depth 4) Maximum enqueue depth Signed-off-by: Timothy McDaniel --- doc/guides/eventdevs/dlb2.rst | 67 --- 1 fil

[PATCH v2] examples/fips_validation: fix memory leak in sha test

2022-07-02 Thread Gowrishankar Muthukrishnan
There is wrong size used for allocation of digest buffer which in some cases cause memory corruption. Also, fixed places where memory leak is observed. This fix would enable sha 384 and 512 NIST vectors be supported fully. Fixes: 93d797d94f1 ("examples/fips_validation: add parsing for sha") Signe

[PATCH v3 5/5] event/dlb2: fix port COS initialization

2022-07-02 Thread Timothy McDaniel
Fix cos initialization, handling the default case too. Substitute the semicolon for the comma that was expected in the cos_bw command line override. Commas are not allowed within a multifield option. The new format is cos_bw=%d:%d:%d:%d, where the sum of the 4 decimal values must be less than or e

[PATCH v3 4/5] event/dlb2: fix cq depth override credit deadlock

2022-07-02 Thread Timothy McDaniel
This commit fixes a bug, where we could encounter a credit deadlock due to changing the CQ depth. To remedy this situation, the commit reduces the maximum CQ depth from 1024 to 128, and also allows configuring the maximum enqueue depth. Maximum enqueue depth must be tuned to the CQ depth, if the CQ

[PATCH v3 3/5] event/dlb2: fix cq depth override

2022-07-02 Thread Timothy McDaniel
This commit fixes a bug, where we could assign a cq depth of zero, leading to a subsequent divide-by-zero fault. It also fixes an issue where the original default cq depth was returned on a query, insgtead of the overridden value. Fixes: 86fe66d45667 ("event/dlb2: allow CQ depths up to 1024") Cc:

[PATCH v3 2/5] event/dlb2: fix initialization of cos bandwidth args

2022-07-02 Thread Timothy McDaniel
This commit fixes a typo and resultant bug that triggered a coverity warning. Coverity issue: 4607286 Fixes: bec8901bfe9f ("event/dlb2: support ldb port specific COS") Cc: timothy.mcdan...@intel.com Signed-off-by: Timothy McDaniel --- drivers/event/dlb2/dlb2.c | 2 +- 1 file changed, 1 insertio

[PATCH v3 1/5] event/dlb2: fix port_cos array sizing

2022-07-02 Thread Timothy McDaniel
This commit fixes a segfault that resulted from reading beyond the end of the port_cos array. The root cause was using the DLB num ports define instead of the eventdev num ports define. Fixes: bec8901bfe9f ("event/dlb2: support ldb port specific COS") Cc: timothy.mcdan...@intel.com Signed-off-by:

[PATCH v3 0/5] DLB2 Bug Fixes

2022-07-02 Thread Timothy McDaniel
Changes since V2 - Correct typos in commit message of patch 0005 Changes since V1 - No changes to patches 0001 and 0002 - Added 3 new bug fix patches to address issues found in final QA 0003 fix cq depth override 0004 fix cq depth override credit deadlock 0005

[PATCH v2 5/5] event/dlb2: fix port COS initialization

2022-07-02 Thread Timothy McDaniel
Fix cos initialization, handling the default case too. Subsitute the semicolon for the comma that was expected in the cos_bw command line override. Commas are not allowed within a multifield option. The new format is cos_bw=%d:%d:%d:%d, where the sum of the 4 decimal vallues must be less than or e

[PATCH v2 4/5] event/dlb2: fix cq depth override credit deadlock

2022-07-02 Thread Timothy McDaniel
This commit fixes a bug, where we could encounter a credit deadlock due to changing the CQ depth. To remedy this situation, the commit reduces the maximum CQ depth from 1024 to 128, and also allows configuring the maximum enqueue depth. Maximum enqueue depth must be tuned to the CQ depth, if the CQ

[PATCH v2 3/5] event/dlb2: fix cq depth override

2022-07-02 Thread Timothy McDaniel
This commit fixes a bug, where we could assign a cq depth of zero, leading to a subsequent divide-by-zero fault. It also fixes an issue where the original default cq depth was returned on a query, insgtead of the overridden value. Fixes: 86fe66d45667 ("event/dlb2: allow CQ depths up to 1024") Cc:

[PATCH v2 2/5] event/dlb2: fix initialization of cos bandwidth args

2022-07-02 Thread Timothy McDaniel
This commit fixes a typo and resultant bug that triggered a coverity warning. Coverity issue: 4607286 Fixes: bec8901bfe9f ("event/dlb2: support ldb port specific COS") Cc: timothy.mcdan...@intel.com Signed-off-by: Timothy McDaniel --- drivers/event/dlb2/dlb2.c | 2 +- 1 file changed, 1 insertio

[PATCH v2 1/5] event/dlb2: fix port_cos array sizing

2022-07-02 Thread Timothy McDaniel
This commit fixes a segfault that resulted from reading beyond the end of the port_cos array. The root cause was using the DLB num ports define instead of the eventdev num ports define. Fixes: bec8901bfe9f ("event/dlb2: support ldb port specific COS") Cc: timothy.mcdan...@intel.com Signed-off-by:

[PATCH v2 0/5] DLB2 Bug Fixes

2022-07-02 Thread Timothy McDaniel
Changes since V1 - No changes to patches 0001 and 0002 - Added 3 new bug fix patches to address issues found in final QA 0003 fix cq depth override 0004 fix cq depth override credit deadlock 0005 fix port COS initialization Original Patchset = 0001 fix port_cos

[PATCH v2] examples/fips_validation: fix memory leak in sha test

2022-07-02 Thread Gowrishankar Muthukrishnan
There is wrong size used for allocation of digest buffer which in some cases cause memory corruption. Also, fixed places where memory leak is observed. This fix would enable sha 384 and 512 NIST vectors be supported fully. Fixes: 93d797d94f1 ("examples/fips_validation: add parsing for sha") Signe

[PATCH v1] examples/fips_validation: fix memory leak in sha test

2022-07-02 Thread Gowrishankar Muthukrishnan
There is wrong size used for allocation of digest buffer which in some cases cause memory corruption. Also, fixed places where memory leak is observed. Fixes: 93d797d94f1 ("examples/fips_validation: add parsing for sha") Signed-off-by: Gowrishankar Muthukrishnan --- examples/fips_validation/fip

RE: [PATCH 13/17] net/mana: add function to start/stop RX queues

2022-07-02 Thread Long Li
> Subject: Re: [PATCH 13/17] net/mana: add function to start/stop RX queues > > On Fri, 1 Jul 2022 02:02:43 -0700 > lon...@linuxonhyperv.com wrote: > > > + > > +static uint8_t > mana_rss_hash_key_default[TOEPLITZ_HASH_KEY_SIZE_IN_BYTES] = { > > + 0x2c, 0xc6, 0x81, 0xd1, > > + 0x5b, 0xdb, 0xf