summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>2015-08-14 18:08:30 -0600
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:05:42 -0700
commit2b455e304e1ebdd8882632feb4d2f242c278dd12 (patch)
tree4214222c9dae507d1ac276df4486648e466234af /include/uapi/linux
parent747f0aec1bfdaffca6a1245e3fdafe1e02b17081 (diff)
net: rmnet_data: Call the GRO handler for TCP packets only
While running a UDP test using gro handler, there was a slight increase in MIPS observed. This is because all UDP packets passed through napi_gro_receive need to be checked if it is an encapsulated UDP packet which could actually be coalesced and processed further. As of now, clients of rmnet_data do not support this and we can save MIPS on this by passing only TCP packets through the GRO handler. All non TCP packets will directly be passed directly to the network stack. This also helps us to avoid an atomic operation unnecessarily when GRO path is not exercised. There is 1% savings in MIPS observed when using a single stream UDP DL connection at 300Mbps. Change-Id: Ie601000de21afeacfca93f23117aeb0f7cefda98 Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions