diff options
author | Sharath Chandra Vurukala <sharathv@codeaurora.org> | 2021-06-01 22:28:35 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-02 03:11:41 +0300 |
commit | e1d9a90a9bfdb0735062d3adb16b07314b4b7b01 (patch) | |
tree | 86842df4061bdc4ac29f8cc61579874a8c5cc020 /lib/once.c | |
parent | 710b797cf61b318995db6d31767a532162db113d (diff) | |
download | linux-e1d9a90a9bfdb0735062d3adb16b07314b4b7b01.tar.xz |
net: ethernet: rmnet: Support for ingress MAPv5 checksum offload
Adding support for processing of MAPv5 downlink packets.
It involves parsing the Mapv5 packet and checking the csum header
to know whether the hardware has validated the checksum and is
valid or not.
Based on the checksum valid bit the corresponding stats are
incremented and skb->ip_summed is marked either CHECKSUM_UNNECESSARY
or left as CHEKSUM_NONE to let network stack revalidate the checksum
and update the respective snmp stats.
Current MAPV1 header has been modified, the reserved field in the
Mapv1 header is now used for next header indication.
Signed-off-by: Sharath Chandra Vurukala <sharathv@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/once.c')
0 files changed, 0 insertions, 0 deletions