net: ipa: enable inline checksum offload for IPA v4.5+
authorAlex Elder <elder@linaro.org>
Mon, 26 Jul 2021 16:45:04 +0000 (11:45 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jul 2021 21:56:34 +0000 (22:56 +0100)
The RMNet and IPA drivers both support inline checksum offload now.
So enable it for the TX and RX modem endoints for IPA version 4.5+.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_data-v4.11.c
drivers/net/ipa/ipa_data-v4.5.c
drivers/net/ipa/ipa_data-v4.9.c

index 598b410..782f67e 100644 (file)
@@ -105,6 +105,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = {
                        .filter_support = true,
                        .config = {
                                .resource_group = IPA_RSRC_GROUP_SRC_UL_DL,
+                               .checksum       = true,
                                .qmap           = true,
                                .status_enable  = true,
                                .tx = {
@@ -128,6 +129,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = {
                .endpoint = {
                        .config = {
                                .resource_group = IPA_RSRC_GROUP_DST_UL_DL_DPL,
+                               .checksum       = true,
                                .qmap           = true,
                                .aggregation    = true,
                                .rx = {
index a99b647..db6fda2 100644 (file)
@@ -114,6 +114,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = {
                        .filter_support = true,
                        .config = {
                                .resource_group = IPA_RSRC_GROUP_SRC_UL_DL,
+                               .checksum       = true,
                                .qmap           = true,
                                .status_enable  = true,
                                .tx = {
@@ -137,6 +138,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = {
                .endpoint = {
                        .config = {
                                .resource_group = IPA_RSRC_GROUP_DST_UL_DL_DPL,
+                               .checksum       = true,
                                .qmap           = true,
                                .aggregation    = true,
                                .rx = {
index 798d43e..6ab9282 100644 (file)
@@ -106,6 +106,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = {
                        .filter_support = true,
                        .config = {
                                .resource_group = IPA_RSRC_GROUP_SRC_UL_DL,
+                               .checksum       = true,
                                .qmap           = true,
                                .status_enable  = true,
                                .tx = {
@@ -129,6 +130,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = {
                .endpoint = {
                        .config = {
                                .resource_group = IPA_RSRC_GROUP_DST_UL_DL_DPL,
+                               .checksum       = true,
                                .qmap           = true,
                                .aggregation    = true,
                                .rx = {