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);
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to