]> git.baikalelectronics.ru Git - kernel.git/commit
geneve: avoid indirect calls in GRO path, when possible
authorPaolo Abeni <pabeni@redhat.com>
Wed, 13 Apr 2022 08:44:40 +0000 (10:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Apr 2022 09:52:29 +0000 (10:52 +0100)
commited8c33acdc3833ac7b24a075b280934ab417fcc4
tree16c8ba266cc2ac0c45c45ec2a59ce4bdb4656496
parentdf68bed405e9191ea5674d1e625742446773a01a
geneve: avoid indirect calls in GRO path, when possible

In the most common setups, the geneve tunnels use an inner
ethernet encapsulation. In the GRO path, when such condition is
true, we can call directly the relevant GRO helper and avoid
a few indirect calls.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/geneve.c