| 00901e4d | 25-Feb-2022 |
Luc Pelletier <[email protected]> |
eal/x86: fix unaligned access for small memcpy
Calls to rte_memcpy for 1 < n < 16 could result in unaligned loads/stores, which is undefined behaviour according to the C standard, and strict aliasin
eal/x86: fix unaligned access for small memcpy
Calls to rte_memcpy for 1 < n < 16 could result in unaligned loads/stores, which is undefined behaviour according to the C standard, and strict aliasing violations.
The code was changed to use a packed structure that allows aliasing (using the __may_alias__ attribute) to perform the load/store operations. This results in code that has the same performance as the original code and that is also C standards-compliant.
Fixes: af75078fece3 ("first public release") Cc: [email protected]
Signed-off-by: Luc Pelletier <[email protected]> Acked-by: Konstantin Ananyev <[email protected]> Tested-by: Konstantin Ananyev <[email protected]>
show more ...
|
| d7e9c02c | 16-Feb-2022 |
Brian Dooley <[email protected]> |
eal: add missing C++ guards
Some public header files were missing 'extern "C"' C++ guards, and couldn't be used by C++ applications. Add the missing guards.
Fixes: af75078fece3 ("first public relea
eal: add missing C++ guards
Some public header files were missing 'extern "C"' C++ guards, and couldn't be used by C++ applications. Add the missing guards.
Fixes: af75078fece3 ("first public release") Fixes: 7f3aa0863903 ("eal: introduce bit operations API") Fixes: 166a743c53fa ("compat: add infrastructure to support symbol versioning") Fixes: 8f40ee0734c8 ("eal/x86: get hypervisor name") Fixes: 75583b0d1efd ("eal: add keep alive monitoring") Fixes: 88701645c98c ("eal: move interrupt type out of igb_uio") Fixes: f04519d8092e ("lib: add missing include dependencies") Fixes: f58880682c81 ("trace: implement register API") Fixes: 428eb983f5f7 ("eal: add OS specific header file") Cc: [email protected]
Signed-off-by: Brian Dooley <[email protected]> Acked-by: Bruce Richardson <[email protected]> Acked-by: Tyler Retzlaff <[email protected]>
show more ...
|
| 4ed4e554 | 01-Nov-2021 |
Feifei Wang <[email protected]> |
mcslock: use wait until scheme for unlock
Instead of polling for mcslock to be updated, use wait until scheme for this case.
Signed-off-by: Feifei Wang <[email protected]> Reviewed-by: Ruifeng W
mcslock: use wait until scheme for unlock
Instead of polling for mcslock to be updated, use wait until scheme for this case.
Signed-off-by: Feifei Wang <[email protected]> Reviewed-by: Ruifeng Wang <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 41902d24 | 01-Nov-2021 |
Feifei Wang <[email protected]> |
pflock: use wait until scheme for read lock
Instead of polling for read pflock update, use wait until scheme for this case.
Signed-off-by: Feifei Wang <[email protected]> Reviewed-by: Ruifeng Wa
pflock: use wait until scheme for read lock
Instead of polling for read pflock update, use wait until scheme for this case.
Signed-off-by: Feifei Wang <[email protected]> Reviewed-by: Ruifeng Wang <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 99e6c7e3 | 22-Oct-2021 |
Harman Kalra <[email protected]> |
interrupts: rename device specific file descriptor
VFIO/UIO are mutually exclusive, storing file descriptor in a single field is enough.
Signed-off-by: Harman Kalra <[email protected]> Signed-off-
interrupts: rename device specific file descriptor
VFIO/UIO are mutually exclusive, storing file descriptor in a single field is enough.
Signed-off-by: Harman Kalra <[email protected]> Signed-off-by: David Marchand <[email protected]> Tested-by: Raslan Darawsheh <[email protected]>
show more ...
|