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);
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to