Răsfoiți Sursa

qcacmn: Mark nbuf cb for offloads handled frames in Rhine

Mark nbuf cb if Rx packet is routed via offloads, this gives the
info whether particular packet rx ring routing info is correct or
whether packet has entered offloads layer and rerouted back.

Change-Id: Ib3ad71216c514381d0bce1fb4744550d91880254
CRs-Fixed: 3540537
Karthik Kantamneni 2 ani în urmă
părinte
comite
838ed5edf5
1 a modificat fișierele cu 4 adăugiri și 7 ștergeri
  1. 4 7
      dp/wifi3.0/rh/dp_rh_rx.c

+ 4 - 7
dp/wifi3.0/rh/dp_rh_rx.c

@@ -900,13 +900,10 @@ dp_rx_data_indication_handler(struct dp_soc *soc, qdf_nbuf_t data_ind,
 		qdf_nbuf_set_tid_val(rx_desc->nbuf,
 			HTT_RX_DATA_MSDU_INFO_TID_INFO_GET(*(msg_word + 2)));
 
-		/*
-		 * TODO add REO destination indication value in HTT
-		 * set reo dest indication
-		 * qdf_nbuf_set_rx_reo_dest_ind_or_sw_excpt(
-		 * rx_desc->nbuf,
-		 * HAL_RX_REO_MSDU_REO_DST_IND_GET(ring_desc));
-		 */
+		/* set whether packet took offloads path */
+		 qdf_nbuf_set_rx_reo_dest_ind_or_sw_excpt(
+		 rx_desc->nbuf,
+		 HTT_RX_DATA_MSDU_INFO_FW_OFFLOADS_INSPECTED_GET(*(msg_word + 1)));
 
 		QDF_NBUF_CB_RX_PKT_LEN(rx_desc->nbuf) = msdu_len;