Searched hist:"9 efb4b5b" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/net/core/ |
H A D | skbuff.c | 9efb4b5b Wed Jul 28 11:24:02 CDT 2021 Paolo Abeni <pabeni@redhat.com> net: optimize GRO for the common case.
After the previous patches, at GRO time, skb->slow_gro is usually 0, unless the packets comes from some H/W offload slowpath or tunnel.
We can optimize the GRO code assuming !skb->slow_gro is likely. This remove multiple conditionals in the most common path, at the price of an additional one when we hit the above "slow-paths".
Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | dev.c | 9efb4b5b Wed Jul 28 11:24:02 CDT 2021 Paolo Abeni <pabeni@redhat.com> net: optimize GRO for the common case.
After the previous patches, at GRO time, skb->slow_gro is usually 0, unless the packets comes from some H/W offload slowpath or tunnel.
We can optimize the GRO code assuming !skb->slow_gro is likely. This remove multiple conditionals in the most common path, at the price of an additional one when we hit the above "slow-paths".
Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|