linux/drivers/net/ethernet/qualcomm/rmnet
Subash Abhinov Kasiviswanathan c597897b08 net: qualcomm: rmnet: Define the MAPv4 packet formats
The MAPv4 packet format adds support for RX / TX checksum offload.
For a bi-directional UDP stream at a rate of 570 / 146 Mbps, roughly
10% CPU cycles are saved.

For receive path, there is a checksum trailer appended to the end of
the MAP packet. The valid field indicates if hardware has computed
the checksum. csum_start_offset indicates the offset from the start
of the IP header from which hardware has computed checksum.
csum_length is the number of bytes over which the checksum was
computed and the resulting value is csum_value.

In the transmit path, a header is appended between the end of the MAP
header and the start of the IP packet. csum_start_offset is the offset
in bytes from which hardware will compute the checksum if the
csum_enabled bit is set. udp_ip4_ind indicates if the checksum
value of 0 is valid or not. csum_insert_offset is the offset from the
csum_start_offset where hardware will insert the computed checksum.

The use of this additional packet format for checksum offload is
explained in subsequent patches.

Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-08 13:58:49 -05:00
..
Kconfig net: qualcomm: rmnet: Add support for GRO 2017-10-28 00:10:23 +09:00
Makefile
rmnet_config.c net: qualcomm: rmnet: Rename ingress data format to data format 2018-01-08 13:58:49 -05:00
rmnet_config.h net: qualcomm: rmnet: Rename ingress data format to data format 2018-01-08 13:58:49 -05:00
rmnet_handlers.c net: qualcomm: rmnet: Set pacing shift 2018-01-08 13:58:49 -05:00
rmnet_handlers.h net: qualcomm: rmnet: Remove duplicate setting of rmnet private info 2017-10-11 20:05:30 -07:00
rmnet_map_command.c net: qualcomm: rmnet: Fix the return value of rmnet_rx_handler() 2017-10-28 00:10:23 +09:00
rmnet_map_data.c net: qualcomm: rmnet: Remove redundant check when stamping map header 2018-01-08 13:58:48 -05:00
rmnet_map.h net: qualcomm: rmnet: Define the MAPv4 packet formats 2018-01-08 13:58:49 -05:00
rmnet_private.h net: qualcomm: rmnet: Define the MAPv4 packet formats 2018-01-08 13:58:49 -05:00
rmnet_vnd.c net: qualcomm: rmnet: Allow only one rmnet dev per muxid per real dev 2017-12-13 14:01:08 -05:00
rmnet_vnd.h net: qualcomm: rmnet: Convert the muxed endpoint to hlist 2017-10-11 20:05:30 -07:00