svn commit: r342284 - head/sys/dev/cxgbe
Navdeep Parhar
np at FreeBSD.org
Thu Dec 20 20:34:22 UTC 2018
Author: np
Date: Thu Dec 20 20:34:21 2018
New Revision: 342284
URL: https://svnweb.freebsd.org/changeset/base/342284
Log:
cxgbe(4): Make sure the rx queues start off with the correct timestamp
settings on initialization.
Sponsored by: Chelsio Communications
Modified:
head/sys/dev/cxgbe/t4_sge.c
Modified: head/sys/dev/cxgbe/t4_sge.c
==============================================================================
--- head/sys/dev/cxgbe/t4_sge.c Thu Dec 20 19:39:37 2018 (r342283)
+++ head/sys/dev/cxgbe/t4_sge.c Thu Dec 20 20:34:21 2018 (r342284)
@@ -3435,6 +3435,8 @@ alloc_rxq(struct vi_info *vi, struct sge_rxq *rxq, int
if (vi->ifp->if_capenable & IFCAP_LRO)
rxq->iq.flags |= IQ_LRO_ENABLED;
#endif
+ if (vi->ifp->if_capenable & IFCAP_HWRXTSTMP)
+ rxq->iq.flags |= IQ_RX_TIMESTAMP;
rxq->ifp = vi->ifp;
children = SYSCTL_CHILDREN(oid);
More information about the svn-src-all
mailing list