mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-07 19:34:17 +00:00
cxgbe(4): Use the correct number of parameters when querying the tid
range for hashfilters. Approved by: re@ (gjb@)
This commit is contained in:
parent
f2990e6c19
commit
4bb64e96e4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338669
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user