RE: [PATCH] cryptodev: fix device socket ID type

2023-07-05 Thread Morten Brørup
a Sent: 29 June 2023 14:21 To: dev@dpdk.org Cc: Ji, Kai ; Power, Ciara ; Matz, Olivier ; Akhil Goyal ; Fan Zhang Subject: [PATCH] cryptodev: fix device socket ID type The socket ID field for a cryptodev device data was unsigned int. Due to recent changes to the default device socket ID,

Re: [PATCH] cryptodev: fix device socket ID type

2023-07-04 Thread Ji, Kai
Acked-by: Kai Ji mailto:kai...@intel.com>> From: Power, Ciara Sent: 29 June 2023 14:21 To: dev@dpdk.org Cc: Ji, Kai ; Power, Ciara ; Matz, Olivier ; Akhil Goyal ; Fan Zhang Subject: [PATCH] cryptodev: fix device socket ID type The socket ID field

[PATCH] cryptodev: fix device socket ID type

2023-06-29 Thread Ciara Power
The socket ID field for a cryptodev device data was unsigned int. Due to recent changes to the default device socket ID, this caused an issue when the socket ID was unknown and set to -1. The device socket ID wrapped around to 255, and caused errors when allocating memory. Changing this field type