diff options
author | Christophe Lombard <clombard@linux.vnet.ibm.com> | 2017-10-24 15:55:20 +0200 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-11-09 16:52:30 -0600 |
commit | 8b6c089342c762a24eb3df7daf46eee8cae1d0eb (patch) | |
tree | 0f8927397e34bb3ed22ff4cafd24f9597316c701 /include | |
parent | e0ee24c27a172bcf482f6f2bc905e6211c134bcc (diff) | |
download | talos-skiboot-8b6c089342c762a24eb3df7daf46eee8cae1d0eb.tar.gz talos-skiboot-8b6c089342c762a24eb3df7daf46eee8cae1d0eb.zip |
capi: update ci store buffers and dma engines
The number of read (APC type traffic) and mmio store (MSG type traffic)
resources assigned to the CAPP is controlled by the CAPP control
register.
According to the type of CAPI cards present on the server, we have to
configure differently the CAPP messages and the DMA read engines given
to the CAPP for use.
Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Acked-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/phb4-capp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/phb4-capp.h b/include/phb4-capp.h index a9b81f67..10cdc406 100644 --- a/include/phb4-capp.h +++ b/include/phb4-capp.h @@ -60,4 +60,9 @@ #define PHB4_CAPP_REG_OFFSET(p) ((p)->index == 0 ? 0x0 : CAPP1_REG_OFFSET) +#define CAPP_MIN_STQ_ENGINES 0x00000001 +#define CAPP_MAX_STQ_ENGINES 0x00000002 +#define CAPP_MIN_DMA_READ_ENGINES 0x00000100 +#define CAPP_MAX_DMA_READ_ENGINES 0x00000200 + #endif /* __PHB4_CAPP_H */ |