Merge "msm: ipa: Added an option to enable NAPI in 11ad"

This commit is contained in:
qctecmdr 2019-11-18 15:26:21 -08:00 • committed by Gerrit - the friendly Code Review server
commit 76465eebbb
2 changed files with 6 additions and 0 deletions

View file

@ -173,6 +173,10 @@ int ipa_wigig_init(struct ipa_wigig_init_in_params *in,
out->is_uc_ready = inout.is_uC_ready;
out->lan_rx_napi_enable = ipa_get_lan_rx_napi();
IPA_WIGIG_DBG("LAN RX NAPI enabled = %s\n",
out->lan_rx_napi_enable ? "True" : "False");
IPA_WIGIG_DBG("exit\n");
return 0;

View file

@ -39,10 +39,12 @@ struct ipa_wigig_init_in_params {
*
* @is_uC_ready: is uC ready. No API should be called until uC is ready.
* @uc_db_pa: physical address of IPA uC doorbell
* @lan_rx_napi_enable: if we use NAPI in the LAN rx
*/
struct ipa_wigig_init_out_params {
bool is_uc_ready;
phys_addr_t uc_db_pa;
bool lan_rx_napi_enable;
};
/*