summaryrefslogtreecommitdiff
path: root/drivers/net/ipa/ipa_data-v4.5.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-07-26 19:45:04 +0300
committerDavid S. Miller <davem@davemloft.net>2021-07-27 00:56:34 +0300
commit22171146f84ba57db44071de60ad44cfe634574a (patch)
tree405ce2a717e22f1878a7908e4387ad6cfb496f03 /drivers/net/ipa/ipa_data-v4.5.c
parent2739bd76fceb07e3ffba025322ae765c337b21a7 (diff)
downloadlinux-22171146f84ba57db44071de60ad44cfe634574a.tar.xz
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: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipa/ipa_data-v4.5.c')
-rw-r--r--drivers/net/ipa/ipa_data-v4.5.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ipa/ipa_data-v4.5.c b/drivers/net/ipa/ipa_data-v4.5.c
index a99b6478fa3a..db6fda2fe43d 100644
--- a/drivers/net/ipa/ipa_data-v4.5.c
+++ b/drivers/net/ipa/ipa_data-v4.5.c
@@ -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 = {