qcacld-3.0: Register hdd_gro_rx_dp_thread cb for GRO on QCA6750

For Lithium target, hdd_gro_rx_dp_thread callback is registered
to handle GRO.
Currently this callback is not registered for target qca6750.

Register hdd_gro_rx_dp_thread callback for target QCA6750 to
handle GRO.

Change-Id: I2991a6b2f6a2a614f4bb7f36bac6ec4909c4d251
CRs-Fixed: 2712504
This commit is contained in:
Alok Kumar 2020-06-17 15:19:13 +05:30 committed by nshrivas
parent 7678422000
commit 0cbee2ed1f
2 changed files with 4 additions and 2 deletions

View File

@ -13019,7 +13019,8 @@ int hdd_configure_cds(struct hdd_context *hdd_ctx)
/* Donot disable rx offload on concurrency for lithium based targets */
if (!(hdd_ctx->target_type == TARGET_TYPE_QCA6290 ||
hdd_ctx->target_type == TARGET_TYPE_QCA6390 ||
hdd_ctx->target_type == TARGET_TYPE_QCA6490))
hdd_ctx->target_type == TARGET_TYPE_QCA6490 ||
hdd_ctx->target_type == TARGET_TYPE_QCA6750))
if (hdd_ctx->ol_enable)
dp_cbs.hdd_disable_rx_ol_in_concurrency =
hdd_disable_rx_ol_in_concurrency;

View File

@ -1830,7 +1830,8 @@ int hdd_rx_ol_init(struct hdd_context *hdd_ctx)
if (hdd_ctx->target_type == TARGET_TYPE_QCA6290 ||
hdd_ctx->target_type == TARGET_TYPE_QCA6390 ||
hdd_ctx->target_type == TARGET_TYPE_QCA6490)
hdd_ctx->target_type == TARGET_TYPE_QCA6490 ||
hdd_ctx->target_type == TARGET_TYPE_QCA6750)
lithium_based_target = true;
hdd_resolve_rx_ol_mode(hdd_ctx);