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
Esse commit está contido em:

commit de
Madan Koyyalamudi

pai
11df417c3b
commit
cea862a118
@@ -522,11 +522,8 @@ static inline enum qdf_dp_tx_rx_status dp_tx_hw_to_qdf(uint16_t status)
|
||||
static inline void dp_tx_get_queue(struct dp_vdev *vdev,
|
||||
qdf_nbuf_t nbuf, struct dp_tx_queue *queue)
|
||||
{
|
||||
uint16_t queue_offset = qdf_nbuf_get_queue_mapping(nbuf) &
|
||||
DP_TX_QUEUE_MASK;
|
||||
|
||||
queue->desc_pool_id = queue_offset;
|
||||
queue->ring_id = qdf_nbuf_get_queue_mapping(nbuf);
|
||||
queue->ring_id = qdf_get_cpu();
|
||||
queue->desc_pool_id = queue->ring_id;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Referência em uma nova issue
Block a user