]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: ipa: disable checksum offload for IPA v4.5+
authorAlex Elder <elder@linaro.org>
Fri, 9 Apr 2021 20:40:22 +0000 (15:40 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Apr 2021 23:49:08 +0000 (16:49 -0700)
commitc88c34fcf8f501d588c0a999aa7e51e18552c5f0
tree58262b6f4f38ffea7af822835247353e29f71e49
parentc3264fee72e7565ca5df2896a221672678d595b2
net: ipa: disable checksum offload for IPA v4.5+

Checksum offload for IPA v4.5+ is implemented differently, using
"inline" offload (which uses a common header format for both upload
and download offload).

The IPA hardware must be programmed to enable MAP checksum offload,
but the RMNet driver is responsible for interpreting checksum
metadata supplied with messages.

Currently, the RMNet driver does not support inline checksum offload.
This support is imminent, but until it is available, do not allow
newer versions of IPA to specify checksum offload for endpoints.

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