Commit 22171146 authored by Alex Elder's avatar Alex Elder Committed by David S. Miller

net: ipa: enable inline checksum offload for IPA v4.5+

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: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2739bd76
...@@ -105,6 +105,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = { ...@@ -105,6 +105,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = {
.filter_support = true, .filter_support = true,
.config = { .config = {
.resource_group = IPA_RSRC_GROUP_SRC_UL_DL, .resource_group = IPA_RSRC_GROUP_SRC_UL_DL,
.checksum = true,
.qmap = true, .qmap = true,
.status_enable = true, .status_enable = true,
.tx = { .tx = {
...@@ -128,6 +129,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = { ...@@ -128,6 +129,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = {
.endpoint = { .endpoint = {
.config = { .config = {
.resource_group = IPA_RSRC_GROUP_DST_UL_DL_DPL, .resource_group = IPA_RSRC_GROUP_DST_UL_DL_DPL,
.checksum = true,
.qmap = true, .qmap = true,
.aggregation = true, .aggregation = true,
.rx = { .rx = {
......
...@@ -114,6 +114,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = { ...@@ -114,6 +114,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = {
.filter_support = true, .filter_support = true,
.config = { .config = {
.resource_group = IPA_RSRC_GROUP_SRC_UL_DL, .resource_group = IPA_RSRC_GROUP_SRC_UL_DL,
.checksum = true,
.qmap = true, .qmap = true,
.status_enable = true, .status_enable = true,
.tx = { .tx = {
...@@ -137,6 +138,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = { ...@@ -137,6 +138,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = {
.endpoint = { .endpoint = {
.config = { .config = {
.resource_group = IPA_RSRC_GROUP_DST_UL_DL_DPL, .resource_group = IPA_RSRC_GROUP_DST_UL_DL_DPL,
.checksum = true,
.qmap = true, .qmap = true,
.aggregation = true, .aggregation = true,
.rx = { .rx = {
......
...@@ -106,6 +106,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = { ...@@ -106,6 +106,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = {
.filter_support = true, .filter_support = true,
.config = { .config = {
.resource_group = IPA_RSRC_GROUP_SRC_UL_DL, .resource_group = IPA_RSRC_GROUP_SRC_UL_DL,
.checksum = true,
.qmap = true, .qmap = true,
.status_enable = true, .status_enable = true,
.tx = { .tx = {
...@@ -129,6 +130,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = { ...@@ -129,6 +130,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = {
.endpoint = { .endpoint = {
.config = { .config = {
.resource_group = IPA_RSRC_GROUP_DST_UL_DL_DPL, .resource_group = IPA_RSRC_GROUP_DST_UL_DL_DPL,
.checksum = true,
.qmap = true, .qmap = true,
.aggregation = true, .aggregation = true,
.rx = { .rx = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment