cxgbe(4): Make sure the rx queues start off with the correct timestamp

settings on initialization.

Sponsored by:	Chelsio Communications
This commit is contained in:
Navdeep Parhar 2018-12-20 20:34:21 +00:00
parent db8b561345
commit 9877f73541

View File

@ -3435,6 +3435,8 @@ alloc_rxq(struct vi_info *vi, struct sge_rxq *rxq, int intr_idx, int idx,
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);