Thread (113 messages) 113 messages, 8 authors, 2021-11-04

Re: [dpdk-dev] [PATCH v8 1/5] eal: add new definitions for wait scheme

From: Jerin Jacob <hidden>
Date: 2021-10-29 13:55:05

On Fri, Oct 29, 2021 at 1:50 PM Feifei Wang [off-list ref] wrote:
Introduce macros as generic interface for address monitoring.

Add '__LOAD_EXC_128' for size of 128. For different size, encapsulate
'__LOAD_EXC_16', '__LOAD_EXC_32', '__LOAD_EXC_64' and '__LOAD_EXC_128'
into a new macro '__LOAD_EXC'.

Furthermore, to prevent compilation warning in arm:
----------------------------------------------
'warning: implicit declaration of function ...'
----------------------------------------------
Delete 'undef' constructions for '__LOAD_EXC_xx', '__SEVL' and '__WFE'.
And add ‘__RTE_ARM’ for these macros to fix the namespace.
This is because original macros are undefine at the end of the file.
If new macro 'rte_wait_event' calls them in other files, they will be
seen as 'not defined'.

Signed-off-by: Feifei Wang <redacted>
Reviewed-by: Ruifeng Wang <redacted>
Acked-by: Konstantin Ananyev <redacted>
Acked-by: Jerin Jacob <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help