Date: Thu, 4 Jul 2013 20:17:39 +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: r252724 - head/sys/dev/cxgbe Message-ID: <201307042017.r64KHd3g029643@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: np Date: Thu Jul 4 20:17:39 2013 New Revision: 252724 URL: http://svnweb.freebsd.org/changeset/base/252724 Log: On-the-fly changes to the interrupt coalescing timer should apply to the TOE rx queues too. MFC after: 1 day Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c ============================================================================== --- head/sys/dev/cxgbe/t4_main.c Thu Jul 4 20:17:04 2013 (r252723) +++ head/sys/dev/cxgbe/t4_main.c Thu Jul 4 20:17:39 2013 (r252724) @@ -4646,6 +4646,9 @@ sysctl_holdoff_tmr_idx(SYSCTL_HANDLER_AR struct adapter *sc = pi->adapter; int idx, rc, i; struct sge_rxq *rxq; +#ifdef TCP_OFFLOAD + struct sge_ofld_rxq *ofld_rxq; +#endif uint8_t v; idx = pi->tmr_idx; @@ -4670,6 +4673,15 @@ sysctl_holdoff_tmr_idx(SYSCTL_HANDLER_AR rxq->iq.intr_params = v; #endif } +#ifdef TCP_OFFLOAD + for_each_ofld_rxq(pi, i, ofld_rxq) { +#ifdef atomic_store_rel_8 + atomic_store_rel_8(&ofld_rxq->iq.intr_params, v); +#else + ofld_rxq->iq.intr_params = v; +#endif + } +#endif pi->tmr_idx = idx; end_synchronized_op(sc, LOCK_HELD);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307042017.r64KHd3g029643>