Date: Tue, 24 Feb 2015 18:32:17 +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: r279245 - head/sys/dev/cxgbe Message-ID: <201502241832.t1OIWHCo061586@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: np Date: Tue Feb 24 18:32:17 2015 New Revision: 279245 URL: https://svnweb.freebsd.org/changeset/base/279245 Log: cxgbe(4): do not set the netmap rxq interrupts on a hair-trigger. MFC after: 2 weeks Modified: head/sys/dev/cxgbe/t4_netmap.c Modified: head/sys/dev/cxgbe/t4_netmap.c ============================================================================== --- head/sys/dev/cxgbe/t4_netmap.c Tue Feb 24 18:22:24 2015 (r279244) +++ head/sys/dev/cxgbe/t4_netmap.c Tue Feb 24 18:32:17 2015 (r279245) @@ -310,7 +310,8 @@ alloc_nm_rxq_hwq(struct port_info *pi, s if (is_t5(sc)) nm_rxq->fl_db_val |= F_DBTYPE; - t4_write_reg(sc, MYPF_REG(A_SGE_PF_GTS), V_SEINTARM(F_QINTR_CNT_EN) | + t4_write_reg(sc, MYPF_REG(A_SGE_PF_GTS), + V_SEINTARM(V_QINTR_TIMER_IDX(1)) | V_INGRESSQID(nm_rxq->iq_cntxt_id)); return (rc); @@ -1139,6 +1140,7 @@ t4_nm_intr(void *arg) netmap_rx_irq(ifp, nm_rxq->nid, &processed); } t4_write_reg(sc, MYPF_REG(A_SGE_PF_GTS), V_CIDXINC(n) | - V_INGRESSQID((u32)nm_rxq->iq_cntxt_id) | V_SEINTARM(F_QINTR_CNT_EN)); + V_INGRESSQID((u32)nm_rxq->iq_cntxt_id) | + V_SEINTARM(V_QINTR_TIMER_IDX(1))); } #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502241832.t1OIWHCo061586>