qcacmn: Add WAR to ignore duplicate RX desc
Check if host is reaping a descriptor which is already reaped then drop RX desc processing instead of asserting. Macro DUP_RX_DESC_WAR added before dp_rx_dump_info_and_assert function which does not assert for the case WAR is enabled. Change-Id: I4f3c1cc16de79f2483cd415582970e093e81d465 CRs-Fixed: 2486057
This commit is contained in:
@@ -1157,6 +1157,16 @@ int dp_wds_rx_policy_check(uint8_t *rx_tlv_hdr, struct dp_vdev *vdev,
|
||||
qdf_nbuf_t
|
||||
dp_rx_nbuf_prepare(struct dp_soc *soc, struct dp_pdev *pdev);
|
||||
|
||||
/*
|
||||
* dp_rx_dump_info_and_assert() - dump RX Ring info and Rx Desc info
|
||||
*
|
||||
* @soc: core txrx main context
|
||||
* @hal_ring: opaque pointer to the HAL Rx Ring, which will be serviced
|
||||
* @ring_desc: opaque pointer to the RX ring descriptor
|
||||
* @rx_desc: host rs descriptor
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void dp_rx_dump_info_and_assert(struct dp_soc *soc, void *hal_ring,
|
||||
void *ring_desc, struct dp_rx_desc *rx_desc);
|
||||
|
||||
|
Reference in New Issue
Block a user