Commit e8ea95af authored by Ira Weiny's avatar Ira Weiny Committed by Doug Ledford

IB/hfi: Fix up comments in engine mapping

Fix off by 1 error in comments documenting the sdma and send context
mappings.
Signed-off-by: default avatarIra Weiny <ira.weiny@intel.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 3d35d32d
...@@ -201,7 +201,7 @@ struct sc_config_sizes { ...@@ -201,7 +201,7 @@ struct sc_config_sizes {
* | mask | --/ |--------------------| * | mask | --/ |--------------------|
* |--------------------------| -/ | * | * |--------------------------| -/ | * |
* | actual_vls (max 8) | -/ |--------------------| * | actual_vls (max 8) | -/ |--------------------|
* |--------------------------| --/ | ksc[n] -> sc n | * |--------------------------| --/ | ksc[n-1] -> sc n |
* | vls (max 8) | -/ +--------------------+ * | vls (max 8) | -/ +--------------------+
* |--------------------------| --/ * |--------------------------| --/
* | map[0] |-/ * | map[0] |-/
...@@ -214,21 +214,21 @@ struct sc_config_sizes { ...@@ -214,21 +214,21 @@ struct sc_config_sizes {
* |--------------------------| |--------------------| * |--------------------------| |--------------------|
* | map[vls - 1] |- | * | * | map[vls - 1] |- | * |
* +--------------------------+ \- |--------------------| * +--------------------------+ \- |--------------------|
* \- | ksc[m] -> sc m+n | * \- | ksc[m-1] -> sc m+n |
* \ +--------------------+ * \ +--------------------+
* \- * \-
* \ * \
* \- +--------------------+ * \- +----------------------+
* \- | mask | * \- | mask |
* \ |--------------------| * \ |----------------------|
* \- | ksc[0] -> sc 1+m+n | * \- | ksc[0] -> sc 1+m+n |
* \- |--------------------| * \- |----------------------|
* >| ksc[1] -> sc 2+m+n | * >| ksc[1] -> sc 2+m+n |
* |--------------------| * |----------------------|
* | * | * | * |
* |--------------------| * |----------------------|
* | ksc[o] -> sc o+m+n | * | ksc[o-1] -> sc o+m+n |
* +--------------------+ * +----------------------+
* *
*/ */
......
...@@ -966,34 +966,34 @@ void sdma_engine_interrupt(struct sdma_engine *sde, u64 status); ...@@ -966,34 +966,34 @@ void sdma_engine_interrupt(struct sdma_engine *sde, u64 status);
* | mask | --/ |--------------------| * | mask | --/ |--------------------|
* |--------------------------| -/ | * | * |--------------------------| -/ | * |
* | actual_vls (max 8) | -/ |--------------------| * | actual_vls (max 8) | -/ |--------------------|
* |--------------------------| --/ | sde[n] -> eng n | * |--------------------------| --/ | sde[n-1] -> eng n |
* | vls (max 8) | -/ +--------------------+ * | vls (max 8) | -/ +--------------------+
* |--------------------------| --/ * |--------------------------| --/
* | map[0] |-/ * | map[0] |-/
* |--------------------------| +--------------------+ * |--------------------------| +---------------------+
* | map[1] |--- | mask | * | map[1] |--- | mask |
* |--------------------------| \---- |--------------------| * |--------------------------| \---- |---------------------|
* | * | \-- | sde[0] -> eng 1+n | * | * | \-- | sde[0] -> eng 1+n |
* | * | \---- |--------------------| * | * | \---- |---------------------|
* | * | \->| sde[1] -> eng 2+n | * | * | \->| sde[1] -> eng 2+n |
* |--------------------------| |--------------------| * |--------------------------| |---------------------|
* | map[vls - 1] |- | * | * | map[vls - 1] |- | * |
* +--------------------------+ \- |--------------------| * +--------------------------+ \- |---------------------|
* \- | sde[m] -> eng m+n | * \- | sde[m-1] -> eng m+n |
* \ +--------------------+ * \ +---------------------+
* \- * \-
* \ * \
* \- +--------------------+ * \- +----------------------+
* \- | mask | * \- | mask |
* \ |--------------------| * \ |----------------------|
* \- | sde[0] -> eng 1+m+n| * \- | sde[0] -> eng 1+m+n |
* \- |--------------------| * \- |----------------------|
* >| sde[1] -> eng 2+m+n| * >| sde[1] -> eng 2+m+n |
* |--------------------| * |----------------------|
* | * | * | * |
* |--------------------| * |----------------------|
* | sde[o] -> eng o+m+n| * | sde[o-1] -> eng o+m+n|
* +--------------------+ * +----------------------+
* *
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment