<feed xmlns='http://www.w3.org/2005/Atom'>
<title>android_external_android-clat, branch replicant-6.0-0003</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_android-clat/'/>
<entry>
<title>Process packets in bursts.</title>
<updated>2016-06-09T04:15:23+00:00</updated>
<author>
<name>Lorenzo Colitti</name>
<email>lorenzo@google.com</email>
</author>
<published>2015-09-25T16:27:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_android-clat/commit/?id=bee83f8d7edb48a1d8b8f2333a1b259854c44b95'/>
<id>bee83f8d7edb48a1d8b8f2333a1b259854c44b95</id>
<content type='text'>
Add a "packet_burst" config option that will cause clatd to read
(and write) in bursts of up to that number of packets, instead of
always only reading one packet at a time. This reduces poll
overhead and improves performance.

The variable is initially set to 10.

Bug: 24113287
Change-Id: I7feba4127538c5a89f92e0ebea1fb75971d6b901
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a "packet_burst" config option that will cause clatd to read
(and write) in bursts of up to that number of packets, instead of
always only reading one packet at a time. This reduces poll
overhead and improves performance.

The variable is initially set to 10.

Bug: 24113287
Change-Id: I7feba4127538c5a89f92e0ebea1fb75971d6b901
</pre>
</div>
</content>
</entry>
<entry>
<title>Run the receive path in its own thread.</title>
<updated>2016-06-09T04:12:27+00:00</updated>
<author>
<name>Lorenzo Colitti</name>
<email>lorenzo@google.com</email>
</author>
<published>2015-09-25T17:19:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_android-clat/commit/?id=4f99df509e1e6626967aa8bb394045932e75576b'/>
<id>4f99df509e1e6626967aa8bb394045932e75576b</id>
<content type='text'>
Bug: 24113287
Change-Id: I3e77f5d5e9fcc47819f2a9fe60cff4aa7f97a8bd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 24113287
Change-Id: I3e77f5d5e9fcc47819f2a9fe60cff4aa7f97a8bd
</pre>
</div>
</content>
</entry>
<entry>
<title>clatd: Fix packet corruption seen with GRO packets</title>
<updated>2016-05-23T08:43:02+00:00</updated>
<author>
<name>Subash Abhinov Kasiviswanathan</name>
<email>subashab@codeaurora.org</email>
</author>
<published>2016-01-15T04:17:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_android-clat/commit/?id=8ac9b35e42dcd874cd313c4bcf9d3244f80ba725'/>
<id>8ac9b35e42dcd874cd313c4bcf9d3244f80ba725</id>
<content type='text'>
MTU serves a dual purpose for CLAT. The segment size of the packet
ring is based on the MAXMTU apart from the interface MTU itself.

GRO coalesce happens on the receive path which is not affected by
the MTU (transmit). In other words, increasing the MAXMTU does not
affect if a GRO coalesced packet is delivered to CLAT.
It only affects the amount of data being read from the TPacket ring.

Introduce a new parameter MAXMRU which handles the increased MRU
to account for GRO packets. Increase the ring size to compensate
for the larger segments to maintain the same throughput as earlier.

Change-Id: I30057970973b99181505e698f64e7fa5aa0a27d9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MTU serves a dual purpose for CLAT. The segment size of the packet
ring is based on the MAXMTU apart from the interface MTU itself.

GRO coalesce happens on the receive path which is not affected by
the MTU (transmit). In other words, increasing the MAXMTU does not
affect if a GRO coalesced packet is delivered to CLAT.
It only affects the amount of data being read from the TPacket ring.

Introduce a new parameter MAXMRU which handles the increased MRU
to account for GRO packets. Increase the ring size to compensate
for the larger segments to maintain the same throughput as earlier.

Change-Id: I30057970973b99181505e698f64e7fa5aa0a27d9
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'LA.BF64.1.2.2_rb4.9' of git://codeaurora.org/platform/external/android-clat into cm-13.0</title>
<updated>2015-12-08T06:52:58+00:00</updated>
<author>
<name>Steve Kondik</name>
<email>steve@cyngn.com</email>
</author>
<published>2015-12-08T06:52:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_android-clat/commit/?id=54455ee38fc75efa23fc7b8e57ca1c954380ecbe'/>
<id>54455ee38fc75efa23fc7b8e57ca1c954380ecbe</id>
<content type='text'>
Change-Id: I8ff75c228032b83459bfc1090488fb670c01734e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I8ff75c228032b83459bfc1090488fb670c01734e
</pre>
</div>
</content>
</entry>
<entry>
<title>clatd: Relay checksum information from packet socket to TUN interface</title>
<updated>2015-11-15T20:21:45+00:00</updated>
<author>
<name>Subash Abhinov Kasiviswanathan</name>
<email>subashab@codeaurora.org</email>
</author>
<published>2015-10-27T00:45:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_android-clat/commit/?id=32961d08e3abe5b4e81178bb8c37dd4df231306d'/>
<id>32961d08e3abe5b4e81178bb8c37dd4df231306d</id>
<content type='text'>
With this change, we can notify network stack to disable checksum
validation for GRO packets as well as other packets which have
checksum validation completed earlier in a driver.

GRO packets have the ip_summed field set to CHECKSUM_PARTIAL while
checksum offloaded packets have the ip_summed field as
CHECKSUM_UNNECESSARY. Kernel copies this ip_summed field to the
status field in the tpacket filter. The information from the status
field is then passed as part of the TUN header to the TUN interface.

Any other packet will have the complete checksum validation done
in the network stack. Note that this only applies to packets which
are captured in packet sockets and passed onto the TUN interface.

Change-Id: I536c0356cbbf30fed7ecda5fdd0d38fa0dfd7bf3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With this change, we can notify network stack to disable checksum
validation for GRO packets as well as other packets which have
checksum validation completed earlier in a driver.

GRO packets have the ip_summed field set to CHECKSUM_PARTIAL while
checksum offloaded packets have the ip_summed field as
CHECKSUM_UNNECESSARY. Kernel copies this ip_summed field to the
status field in the tpacket filter. The information from the status
field is then passed as part of the TUN header to the TUN interface.

Any other packet will have the complete checksum validation done
in the network stack. Note that this only applies to packets which
are captured in packet sockets and passed onto the TUN interface.

Change-Id: I536c0356cbbf30fed7ecda5fdd0d38fa0dfd7bf3
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "clatd: Use the TUN_NOCHECKSUM flag for the tun device"</title>
<updated>2015-11-15T19:59:53+00:00</updated>
<author>
<name>Subash Abhinov Kasiviswanathan</name>
<email>subashab@codeaurora.org</email>
</author>
<published>2015-10-28T00:13:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_android-clat/commit/?id=b38ac868d20bb9c1cae087ab18691d242aad0c5c'/>
<id>b38ac868d20bb9c1cae087ab18691d242aad0c5c</id>
<content type='text'>
This reverts commit 7efed4e30259da5348c4a7c2c77a0d0d4b13834d.

This change may bypass checksum validation for all packets even if
they have not been validated earlier.

Hardware supports checksum offload for IPv4 / IPv6 UDP and TCP
packets only. ICMPv4 / ICMPv6 / fragmented packet checksum offload
is not supported and as a result the checksum will not be validated
even once before these packet are delivered to the application.

Change-Id: I28152b63bb432c3dc37fe7a713c3b225a662f678
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 7efed4e30259da5348c4a7c2c77a0d0d4b13834d.

This change may bypass checksum validation for all packets even if
they have not been validated earlier.

Hardware supports checksum offload for IPv4 / IPv6 UDP and TCP
packets only. ICMPv4 / ICMPv6 / fragmented packet checksum offload
is not supported and as a result the checksum will not be validated
even once before these packet are delivered to the application.

Change-Id: I28152b63bb432c3dc37fe7a713c3b225a662f678
</pre>
</div>
</content>
</entry>
<entry>
<title>clatd: Fix compilation warnings</title>
<updated>2015-11-04T18:58:29+00:00</updated>
<author>
<name>Steve Kondik</name>
<email>steve@cyngn.com</email>
</author>
<published>2015-11-04T18:58:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_android-clat/commit/?id=11ffa2451829c9bcb86f00c1cfff9f3be4b7064c'/>
<id>11ffa2451829c9bcb86f00c1cfff9f3be4b7064c</id>
<content type='text'>
Change-Id: Icd63e74aa14d1fe4d3220134bd17fc222492ea2d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Icd63e74aa14d1fe4d3220134bd17fc222492ea2d
</pre>
</div>
</content>
</entry>
<entry>
<title>clatd: Use the TUN_NOCHECKSUM flag for the tun device</title>
<updated>2015-10-12T16:56:09+00:00</updated>
<author>
<name>Subash Abhinov Kasiviswanathan</name>
<email>subashab@codeaurora.org</email>
</author>
<published>2015-10-11T01:41:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_android-clat/commit/?id=7efed4e30259da5348c4a7c2c77a0d0d4b13834d'/>
<id>7efed4e30259da5348c4a7c2c77a0d0d4b13834d</id>
<content type='text'>
This is needed to handle cases when the packet socket receives
a GRO coalesced packet which will not have a valid TCP checksum.
TUN_NOCHECKSUM is used only when the checksum has already been
verified prior to this and GRO is being used.

Change-Id: I1409967523152bb7620b4881526e78e8c222cc72
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is needed to handle cases when the packet socket receives
a GRO coalesced packet which will not have a valid TCP checksum.
TUN_NOCHECKSUM is used only when the checksum has already been
verified prior to this and GRO is being used.

Change-Id: I1409967523152bb7620b4881526e78e8c222cc72
</pre>
</div>
</content>
</entry>
<entry>
<title>am ca1976f4: am 9fbed20c: am 624e743c: am 8dccd379: am 05ff508a: Remove unused variables.</title>
<updated>2015-03-26T21:35:47+00:00</updated>
<author>
<name>Chih-Hung Hsieh</name>
<email>chh@google.com</email>
</author>
<published>2015-03-26T21:35:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_android-clat/commit/?id=35b34f09ab343ae8a75fcb9ff3cea180cf58992a'/>
<id>35b34f09ab343ae8a75fcb9ff3cea180cf58992a</id>
<content type='text'>
* commit 'ca1976f4a486d48d5e96ac0bfa16560820bea777':
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* commit 'ca1976f4a486d48d5e96ac0bfa16560820bea777':
</pre>
</div>
</content>
</entry>
<entry>
<title>am ea2105a3: am ce88200a: am 23d83ff2: am cca70d8b: am dce3ddf5: Call read on any event, not just on POLLIN.</title>
<updated>2015-03-26T21:35:47+00:00</updated>
<author>
<name>Lorenzo Colitti</name>
<email>lorenzo@google.com</email>
</author>
<published>2015-03-26T21:35:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_android-clat/commit/?id=da702e8a958aaaff690a5a37ba2ca9c93bf8a86d'/>
<id>da702e8a958aaaff690a5a37ba2ca9c93bf8a86d</id>
<content type='text'>
* commit 'ea2105a379cc829e3265ce5c37710c47b80dbd48':
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* commit 'ea2105a379cc829e3265ce5c37710c47b80dbd48':
</pre>
</div>
</content>
</entry>
</feed>
