svn commit: r338669 - head/sys/dev/cxgbe
Navdeep Parhar
np at FreeBSD.org
Thu Sep 13 22:58:14 UTC 2018
Author: np
Date: Thu Sep 13 22:58:13 2018
New Revision: 338669
URL: https://svnweb.freebsd.org/changeset/base/338669
Log:
cxgbe(4): Use the correct number of parameters when querying the tid
range for hashfilters.
Approved by: re@ (gjb@)
Modified:
head/sys/dev/cxgbe/t4_main.c
Modified: head/sys/dev/cxgbe/t4_main.c
==============================================================================
--- head/sys/dev/cxgbe/t4_main.c Thu Sep 13 21:28:37 2018 (r338668)
+++ head/sys/dev/cxgbe/t4_main.c Thu Sep 13 22:58:13 2018 (r338669)
@@ -3954,7 +3954,7 @@ get_params__post_init(struct adapter *sc)
sc->toecaps = 0;
param[0] = FW_PARAM_DEV(NTID);
- rc = -t4_query_params(sc, sc->mbox, sc->pf, 0, 6, param, val);
+ rc = -t4_query_params(sc, sc->mbox, sc->pf, 0, 1, param, val);
if (rc != 0) {
device_printf(sc->dev,
"failed to query HASHFILTER parameters: %d.\n", rc);
More information about the svn-src-all
mailing list