git: 352bef734c4d - stable/13 - cxgbe(4): Minor tweaks to comments.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Jul 2024 14:24:41 UTC
The branch stable/13 has been updated by np:
URL: https://cgit.FreeBSD.org/src/commit/?id=352bef734c4d7460eb65ad2b1a9a263d58f18e09
commit 352bef734c4d7460eb65ad2b1a9a263d58f18e09
Author: Navdeep Parhar <np@FreeBSD.org>
AuthorDate: 2024-04-30 20:01:07 +0000
Commit: Navdeep Parhar <np@FreeBSD.org>
CommitDate: 2024-07-17 07:15:43 +0000
cxgbe(4): Minor tweaks to comments.
No functional change intended.
Sponsored by: Chelsio Communications
(cherry picked from commit 21aba396551e29808fa56a6d4fab17e871c3524f)
---
sys/dev/cxgbe/t4_main.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c
index 80e798049aa4..6db64dc53440 100644
--- a/sys/dev/cxgbe/t4_main.c
+++ b/sys/dev/cxgbe/t4_main.c
@@ -5396,9 +5396,13 @@ get_params__post_init(struct adapter *sc)
}
/*
- * MPSBGMAP is queried separately because only recent firmwares support
- * it as a parameter and we don't want the compound query above to fail
- * on older firmwares.
+ * The parameters that follow may not be available on all firmwares. We
+ * query them individually rather than in a compound query because old
+ * firmwares fail the entire query if an unknown parameter is queried.
+ */
+
+ /*
+ * MPS buffer group configuration.
*/
param[0] = FW_PARAM_DEV(MPSBGMAP);
val[0] = 0;
@@ -5410,7 +5414,6 @@ get_params__post_init(struct adapter *sc)
/*
* Determine whether the firmware supports the filter2 work request.
- * This is queried separately for the same reason as MPSBGMAP above.
*/
param[0] = FW_PARAM_DEV(FILTER2_WR);
val[0] = 0;
@@ -5422,7 +5425,6 @@ get_params__post_init(struct adapter *sc)
/*
* Find out whether we're allowed to use the ULPTX MEMWRITE DSGL.
- * This is queried separately for the same reason as other params above.
*/
param[0] = FW_PARAM_DEV(ULPTX_MEMWRITE_DSGL);
val[0] = 0;