cxgb4/cxgb4vf: Cleanup macros, add comments and add new MACROS
[deliverable/linux.git] / drivers / net / ethernet / chelsio / cxgb4 / cxgb4_ethtool.c
index 10d82b51d7efa2ab52d01d0558b61ecf703ddd4b..401272a2691ecce3f05bcac8a91a0bd347842307 100644 (file)
@@ -578,7 +578,7 @@ static int get_coalesce(struct net_device *dev, struct ethtool_coalesce *c)
        const struct sge_rspq *rq = &adap->sge.ethrxq[pi->first_qset].rspq;
 
        c->rx_coalesce_usecs = qtimer_val(adap, rq);
-       c->rx_max_coalesced_frames = (rq->intr_params & QINTR_CNT_EN) ?
+       c->rx_max_coalesced_frames = (rq->intr_params & QINTR_CNT_EN_F) ?
                adap->sge.counter_val[rq->pktcnt_idx] : 0;
        c->use_adaptive_rx_coalesce = get_adaptive_rx_setting(dev);
        return 0;
This page took 0.027284 seconds and 5 git commands to generate.