qcacmn: Update rx histogram stats appropriately
Increment number of packets processed per pdev per interrupt before updating rx histogram stats counter. Change-Id: I0d6c59a6a115df168f7755ce94faa90dcc753e13 CRs-Fixed: 2418384
This commit is contained in:

committed by
nshrivas

parent
22953dc004
commit
b43ed1cd1a
@@ -1644,7 +1644,6 @@ uint32_t dp_rx_process(struct dp_intr *int_ctx, void *hal_ring,
|
||||
if (qdf_likely(!qdf_nbuf_is_rx_chfrag_cont(rx_desc->nbuf)))
|
||||
quota -= 1;
|
||||
|
||||
|
||||
dp_rx_add_to_free_desc_list(&head[rx_desc->pool_id],
|
||||
&tail[rx_desc->pool_id],
|
||||
rx_desc);
|
||||
@@ -1655,9 +1654,6 @@ done:
|
||||
if (nbuf_tail)
|
||||
QDF_NBUF_CB_RX_FLUSH_IND(nbuf_tail) = 1;
|
||||
|
||||
/* Update histogram statistics by looping through pdev's */
|
||||
DP_RX_HIST_STATS_PER_PDEV();
|
||||
|
||||
for (mac_id = 0; mac_id < MAX_PDEV_CNT; mac_id++) {
|
||||
/*
|
||||
* continue with next mac_id if no pkts were reaped
|
||||
@@ -1948,6 +1944,9 @@ done:
|
||||
dp_peer_unref_del_find_by_id(peer);
|
||||
}
|
||||
|
||||
/* Update histogram statistics by looping through pdev's */
|
||||
DP_RX_HIST_STATS_PER_PDEV();
|
||||
|
||||
if (deliver_list_head)
|
||||
dp_rx_deliver_to_stack(vdev, peer, deliver_list_head,
|
||||
deliver_list_tail);
|
||||
|
Reference in New Issue
Block a user