svn commit: r345608 - stable/12/sys/dev/cxgbe
Navdeep Parhar
np at FreeBSD.org
Tue Sep 3 14:05:51 UTC 2019
Author: np
Date: Wed Mar 27 21:43:38 2019
New Revision: 345608
URL: https://svnweb.freebsd.org/changeset/base/345608
Log:
MFC r342284:
cxgbe(4): Make sure the rx queues start off with the correct timestamp
settings on initialization.
Sponsored by: Chelsio Communications
Modified:
stable/12/sys/dev/cxgbe/t4_sge.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/dev/cxgbe/t4_sge.c
==============================================================================
--- stable/12/sys/dev/cxgbe/t4_sge.c Wed Mar 27 21:38:18 2019 (r345607)
+++ stable/12/sys/dev/cxgbe/t4_sge.c Wed Mar 27 21:43:38 2019 (r345608)
@@ -3367,6 +3367,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-stable
mailing list