Changeset 44798


Ignore:
Timestamp:
2015-03-16T05:19:09+01:00 (3 years ago)
Author:
nbd
Message:

kernel: add missing description for GRO optimization patch

Signed-off-by: Felix Fietkau <nbd@…>

Location:
trunk/target/linux/generic
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/patches-3.18/680-net-skip-gro-for-otherhost-packets.patch

    r44797 r44798  
     1Subject: NET: skip GRO for otherhost packets 
     2 
     3For network drivers using napi_gro_receive, packets are run through GRO, 
     4even when the destination MAC address does not match, and they're supposed 
     5to be delivered to another host behind a different bridge port. 
     6 
     7This can be very expensive, because for drivers without TSO or scatter- 
     8gather, this can only be undone by copying the skb and checksumming it 
     9again. 
     10 
     11Fix this by leaving skbs with PACKET_OTHERHOST untouched. 
     12 
     13Signed-off-by: Felix Fietkau <nbd@openwrt.org> 
     14 
    115--- a/net/core/dev.c 
    216+++ b/net/core/dev.c 
  • trunk/target/linux/generic/patches-3.19/680-net-skip-gro-for-otherhost-packets.patch

    r44797 r44798  
     1Subject: NET: skip GRO for otherhost packets 
     2 
     3For network drivers using napi_gro_receive, packets are run through GRO, 
     4even when the destination MAC address does not match, and they're supposed 
     5to be delivered to another host behind a different bridge port. 
     6 
     7This can be very expensive, because for drivers without TSO or scatter- 
     8gather, this can only be undone by copying the skb and checksumming it 
     9again. 
     10 
     11Fix this by leaving skbs with PACKET_OTHERHOST untouched. 
     12 
     13Signed-off-by: Felix Fietkau <nbd@openwrt.org> 
     14 
    115--- a/net/core/dev.c 
    216+++ b/net/core/dev.c 
  • trunk/target/linux/generic/patches-4.0/680-net-skip-gro-for-otherhost-packets.patch

    r44797 r44798  
     1Subject: NET: skip GRO for otherhost packets 
     2 
     3For network drivers using napi_gro_receive, packets are run through GRO, 
     4even when the destination MAC address does not match, and they're supposed 
     5to be delivered to another host behind a different bridge port. 
     6 
     7This can be very expensive, because for drivers without TSO or scatter- 
     8gather, this can only be undone by copying the skb and checksumming it 
     9again. 
     10 
     11Fix this by leaving skbs with PACKET_OTHERHOST untouched. 
     12 
     13Signed-off-by: Felix Fietkau <nbd@openwrt.org> 
     14 
    115--- a/net/core/dev.c 
    216+++ b/net/core/dev.c 
Note: See TracChangeset for help on using the changeset viewer.