qcacmn: Add support in DP for enabling multiqueue support

Enable multiqueue on VAP with 4 Tx and Rx queues in lithium.

In Rx path set the rx queue of skb based on the reo ring id on which it
is received.

In Tx path use the queue_mapping of skb to map to the hardware Tx ring
on which it has to be transmitted.

Change-Id: I103a21e91d1ed5c0e1d8441863d4fcd273b7bed9
This commit is contained in:
Prathyusha Guduri
2018-04-17 19:06:30 +05:30
committed by nshrivas
parent 9bb99acfca
commit 02ed94801a
5 changed files with 55 additions and 16 deletions

View File

@@ -1130,6 +1130,9 @@ done:
*/
hal_rx_wbm_err_info_get_from_tlv(rx_tlv_hdr, &wbm_err_info);
/* Set queue_mapping in nbuf to 0 */
dp_set_rx_queue(nbuf, 0);
next = nbuf->next;
if (wbm_err_info.wbm_err_src == HAL_RX_WBM_ERR_SRC_REO) {
if (wbm_err_info.reo_psh_rsn