Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jul 2015 00:34:15 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r284988 - head/sys/dev/cxgbe
Message-ID:  <201507010034.t610YFK0035713@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: np
Date: Wed Jul  1 00:34:14 2015
New Revision: 284988
URL: https://svnweb.freebsd.org/changeset/base/284988

Log:
  cxgbe(4): request an automatic tx update when a netmap tx queue idles.
  The NIC tx queues already do this.
  
  MFC after:	1 week
  Differential Revision:

Modified:
  head/sys/dev/cxgbe/t4_netmap.c

Modified: head/sys/dev/cxgbe/t4_netmap.c
==============================================================================
--- head/sys/dev/cxgbe/t4_netmap.c	Tue Jun 30 23:21:59 2015	(r284987)
+++ head/sys/dev/cxgbe/t4_netmap.c	Wed Jul  1 00:34:14 2015	(r284988)
@@ -405,8 +405,8 @@ alloc_nm_txq_hwq(struct port_info *pi, s
 	    V_FW_EQ_ETH_CMD_VFN(0));
 	c.alloc_to_len16 = htobe32(F_FW_EQ_ETH_CMD_ALLOC |
 	    F_FW_EQ_ETH_CMD_EQSTART | FW_LEN16(c));
-	c.autoequiqe_to_viid = htobe32(F_FW_EQ_ETH_CMD_AUTOEQUEQE |
-	    V_FW_EQ_ETH_CMD_VIID(pi->nm_viid));
+	c.autoequiqe_to_viid = htobe32(F_FW_EQ_ETH_CMD_AUTOEQUIQE |
+	    F_FW_EQ_ETH_CMD_AUTOEQUEQE | V_FW_EQ_ETH_CMD_VIID(pi->nm_viid));
 	c.fetchszm_to_iqid =
 	    htobe32(V_FW_EQ_ETH_CMD_HOSTFCMODE(X_HOSTFCMODE_NONE) |
 		V_FW_EQ_ETH_CMD_PCIECHN(pi->tx_chan) | F_FW_EQ_ETH_CMD_FETCHRO |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507010034.t610YFK0035713>