To optimize CPU usage htt rx descriptors will be reused instead of
refilling it for htt rx copy engine (CE5). To support that all htt rx
indications should be processed at same context. FIFO queue is used
to maintain tx completion status for each msdu. This helps to retain
the order of tx completio
Rajkumar Manoharan writes:
> To optimize CPU usage htt rx descriptors will be reused instead of
> refilling it for htt rx copy engine (CE5). To support that all htt rx
> indications should be processed at same context. FIFO queue is used
> to maintain tx completion status for each msdu. This help
[...]
>
>> @@ -1712,7 +1710,20 @@ static void ath10k_htt_rx_frm_tx_compl(struct ath10k
>> *ar,
>> for (i = 0; i < resp->data_tx_completion.num_msdus; i++) {
>> msdu_id = resp->data_tx_completion.msdus[i];
>> tx_done.msdu_id = __le16_to_cpu(msdu_id);
>> -
[...]
>>
>> I see two new warnings on the kfifo_put() call:
>>
>> drivers/net/wireless/ath/ath10k/htt_rx.c:1722:22: warning: cast to non-scalar
>> drivers/net/wireless/ath/ath10k/htt_rx.c:1722:22: warning: cast from
>> non-scalar
>>
>> But I suspect they are false warnings due to my old compiler:
"Manoharan, Rajkumar" writes:
>>> @@ -1712,7 +1710,20 @@ static void ath10k_htt_rx_frm_tx_compl(struct ath10k
>>> *ar,
>>> for (i = 0; i < resp->data_tx_completion.num_msdus; i++) {
>>> msdu_id = resp->data_tx_completion.msdus[i];
>>> tx_done.msdu_id = __le16_to