qcacmn: map tx ring to get_cpu instead of skb queue
skb queue is not always mapped to the proper CPU hence it is good to map the ring_id to CPU through get_cpu API. Change-Id: I3bf76452cc1fcb2033ef1a8640c4dd31ecba61b3 CRs-Fixed: 3255144
This commit is contained in:

committed by
Madan Koyyalamudi

parent
11df417c3b
commit
cea862a118
@@ -889,7 +889,6 @@ bool dp_rx_intrabss_mcbc_fwd(struct dp_soc *soc, struct dp_txrx_peer *ta_peer,
|
||||
qdf_mem_set(nbuf_copy->cb, 0x0, sizeof(nbuf_copy->cb));
|
||||
dp_classify_critical_pkts(soc, ta_peer->vdev, nbuf_copy);
|
||||
|
||||
dp_rx_nbuf_queue_mapping_set(nbuf_copy, qdf_get_cpu());
|
||||
if (soc->arch_ops.dp_rx_intrabss_handle_nawds(soc, ta_peer, nbuf_copy,
|
||||
tid_stats))
|
||||
return false;
|
||||
@@ -954,7 +953,6 @@ bool dp_rx_intrabss_ucast_fwd(struct dp_soc *soc, struct dp_txrx_peer *ta_peer,
|
||||
qdf_mem_set(nbuf->cb, 0x0, sizeof(nbuf->cb));
|
||||
dp_classify_critical_pkts(soc, ta_peer->vdev, nbuf);
|
||||
|
||||
dp_rx_nbuf_queue_mapping_set(nbuf, qdf_get_cpu());
|
||||
if (!dp_tx_send((struct cdp_soc_t *)soc,
|
||||
tx_vdev_id, nbuf)) {
|
||||
DP_PEER_PER_PKT_STATS_INC_PKT(ta_peer, rx.intra_bss.pkts, 1,
|
||||
|
Reference in New Issue
Block a user