qcacmn: Map REO reinject packets to IPA SMMU domain

SMMU fault is seen in REO reinject path since skb buffer
is not mapped to IPA SMMU domain. Thus map skb buffer
to IPA domain in REO reinject path.

Change-Id: I293353bfce961324af6c6372611e8a57cc13f347
CRs-Fixed: 2463376
This commit is contained in:
jiad
2019-06-03 14:00:35 +08:00
committed by nshrivas
parent 12ed18959c
commit 9a1368c4ca

View File

@@ -27,6 +27,7 @@
#include "dp_rx_defrag.h"
#include <enet.h> /* LLC_SNAP_HDR_LEN */
#include "dp_rx_defrag.h"
#include "dp_ipa.h"
const struct dp_rx_defrag_cipher dp_f_ccmp = {
"AES-CCM",
@@ -1066,6 +1067,8 @@ dp_rx_defrag_nwifi_to_8023(qdf_nbuf_t nbuf, uint16_t hdrsize)
return QDF_STATUS_E_FAILURE;
}
dp_ipa_handle_rx_buf_smmu_mapping(soc, head, true);
paddr = qdf_nbuf_get_frag_paddr(head, 0);
ret = check_x86_paddr(soc, &head, &paddr, pdev);