[PATCH v3] hash: separate param checks in hash create func

2024-10-14 Thread Niall Meade
Separated name, entries and key_len parameter checks in rte_hash_create(). Also made the error messages more informative/verbose to help with debugging. Also added myself to the mailing list. Signed-off-by: Niall Meade --- v3: * code indentation fix and rte_errno set correctly v2: * change

[PATCH v2] hash: separate param checks in hash create func

2024-10-10 Thread Niall Meade
Separated name, entries and key_len parameter checks in rte_hash_create(). Also made the error messages more informative/verbose to help with debugging. Also added myself to the mailing list. Signed-off-by: Niall Meade --- v2: * change hash log messages to be one line I had name set to NULL

[PATCH v3 1/1] ethdev: fix int overflow in descriptor count logic

2024-09-30 Thread Niall Meade
not result in an overflow, as it would when nb_desc is a uint16_t. By using a uint32_t for these operations, the correct behavior is maintained without the risk of overflow. Fixes: 0f67fc3baeb9 ("ethdev: add function to adjust number of descriptors") Signed-off-by: Niall Meade --- v3: *

[PATCH v2 1/1] ethdev: fix int overflow in descriptor count logic

2024-09-27 Thread Niall Meade
not result in an overflow, as it would when nb_desc is a uint16_t. By using a uint32_t for these operations, the correct behavior is maintained without the risk of overflow. Fixes: 0f67fc3baeb9 ("ethdev: add function to adjust number of descriptors") Signed-off-by: Niall Meade ---

[PATCH v1] ethdev: fix int overflow in descriptor count logic

2024-09-23 Thread Niall Meade
nb_desc is a uint16_t. By using a uint32_t for these operations, the correct behavior is maintained without the risk of overflow. Fixes: 0f67fc3baeb9 ("ethdev: add function to adjust number of descriptors") Signed-off-by: Niall Meade --- .mailmap| 1 + lib/ethdev/rte_eth

[PATCH] hash: separate param checks in hash create func

2024-07-30 Thread Niall Meade
Separated name, entries and key_len parameter checks in rte_hash_create(). Also made the error messages more informative/verbose to help with debugging. Also added myself to the mailing list. Signed-off-by: Niall Meade --- I had name set to NULL in the parameters I was passing to