diff options
| author | Sudeep Dutt <sudeep.dutt@intel.com> | 2015-04-29 08:32:32 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-24 15:13:36 -0400 |
| commit | c9d5c53db959e587d8b59c6a202e2dca741baac4 (patch) | |
| tree | e2d81c9b6162275d388c8c89fbb03b0a7958047e /include/uapi/linux | |
| parent | b55f0359c19bae3be8fbda1281c071bc72c0dd55 (diff) | |
misc: mic: Common MIC header file changes in preparation for SCIF
Update mic_bootparam and define the maximum number of DMA channels
Reviewed-by: Nikhil Rao <nikhil.rao@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Sudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/mic_common.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/uapi/linux/mic_common.h b/include/uapi/linux/mic_common.h index 6eb40244e019..302a2ced373c 100644 --- a/include/uapi/linux/mic_common.h +++ b/include/uapi/linux/mic_common.h | |||
| @@ -80,6 +80,12 @@ struct mic_device_ctrl { | |||
| 80 | * @h2c_config_db: Host to Card Virtio config doorbell set by card | 80 | * @h2c_config_db: Host to Card Virtio config doorbell set by card |
| 81 | * @shutdown_status: Card shutdown status set by card | 81 | * @shutdown_status: Card shutdown status set by card |
| 82 | * @shutdown_card: Set to 1 by the host when a card shutdown is initiated | 82 | * @shutdown_card: Set to 1 by the host when a card shutdown is initiated |
| 83 | * @tot_nodes: Total number of nodes in the SCIF network | ||
| 84 | * @node_id: Unique id of the node | ||
| 85 | * @h2c_scif_db - Host to card SCIF doorbell set by card | ||
| 86 | * @c2h_scif_db - Card to host SCIF doorbell set by host | ||
| 87 | * @scif_host_dma_addr - SCIF host queue pair DMA address | ||
| 88 | * @scif_card_dma_addr - SCIF card queue pair DMA address | ||
| 83 | */ | 89 | */ |
| 84 | struct mic_bootparam { | 90 | struct mic_bootparam { |
| 85 | __le32 magic; | 91 | __le32 magic; |
| @@ -88,6 +94,12 @@ struct mic_bootparam { | |||
| 88 | __s8 h2c_config_db; | 94 | __s8 h2c_config_db; |
| 89 | __u8 shutdown_status; | 95 | __u8 shutdown_status; |
| 90 | __u8 shutdown_card; | 96 | __u8 shutdown_card; |
| 97 | __u8 tot_nodes; | ||
| 98 | __u8 node_id; | ||
| 99 | __u8 h2c_scif_db; | ||
| 100 | __u8 c2h_scif_db; | ||
| 101 | __u64 scif_host_dma_addr; | ||
| 102 | __u64 scif_card_dma_addr; | ||
| 91 | } __attribute__ ((aligned(8))); | 103 | } __attribute__ ((aligned(8))); |
| 92 | 104 | ||
| 93 | /** | 105 | /** |
