qcacmn: add lockless SRNG access support for Rx Rings
Add lockless SRNG access support for Rx rings. Change-Id: Ia44f612cc5f6e50255aafaaf895044dea7a88aa7 CRs-Fixed: 2868991
This commit is contained in:

committed by
snandini

parent
595bc84a39
commit
07c4fc98d1
@@ -1933,7 +1933,7 @@ int dp_srng_access_start(struct dp_intr *int_ctx, struct dp_soc *dp_soc,
|
||||
uint8_t ring_id;
|
||||
|
||||
if (!int_ctx)
|
||||
return hal_srng_access_start(hal_soc, hal_ring_hdl);
|
||||
return dp_hal_srng_access_start(hal_soc, hal_ring_hdl);
|
||||
|
||||
hal_get_sw_hptp(hal_soc, hal_ring_hdl, &tp, &hp);
|
||||
ring_id = hal_srng_ring_id_get(hal_ring_hdl);
|
||||
@@ -1941,7 +1941,7 @@ int dp_srng_access_start(struct dp_intr *int_ctx, struct dp_soc *dp_soc,
|
||||
hif_record_event(dp_soc->hif_handle, int_ctx->dp_intr_id,
|
||||
ring_id, hp, tp, HIF_EVENT_SRNG_ACCESS_START);
|
||||
|
||||
return hal_srng_access_start(hal_soc, hal_ring_hdl);
|
||||
return dp_hal_srng_access_start(hal_soc, hal_ring_hdl);
|
||||
}
|
||||
|
||||
void dp_srng_access_end(struct dp_intr *int_ctx, struct dp_soc *dp_soc,
|
||||
@@ -1952,7 +1952,7 @@ void dp_srng_access_end(struct dp_intr *int_ctx, struct dp_soc *dp_soc,
|
||||
uint8_t ring_id;
|
||||
|
||||
if (!int_ctx)
|
||||
return hal_srng_access_end(hal_soc, hal_ring_hdl);
|
||||
return dp_hal_srng_access_end(hal_soc, hal_ring_hdl);
|
||||
|
||||
hal_get_sw_hptp(hal_soc, hal_ring_hdl, &tp, &hp);
|
||||
ring_id = hal_srng_ring_id_get(hal_ring_hdl);
|
||||
@@ -1960,7 +1960,7 @@ void dp_srng_access_end(struct dp_intr *int_ctx, struct dp_soc *dp_soc,
|
||||
hif_record_event(dp_soc->hif_handle, int_ctx->dp_intr_id,
|
||||
ring_id, hp, tp, HIF_EVENT_SRNG_ACCESS_END);
|
||||
|
||||
return hal_srng_access_end(hal_soc, hal_ring_hdl);
|
||||
return dp_hal_srng_access_end(hal_soc, hal_ring_hdl);
|
||||
}
|
||||
|
||||
static inline void dp_srng_record_timer_entry(struct dp_soc *dp_soc,
|
||||
|
Reference in New Issue
Block a user