diff options
author | Alexander Lobakin <alobakin@pm.me> | 2021-03-18 18:42:30 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-18 19:51:12 -0700 |
commit | 86af2c82c28499b4b509d6b15637a96bd829201b (patch) | |
tree | 2b18b57281cfc421c6f7ca302314a17a5a55670c /net/8021q | |
parent | e75ec151c1088c1aa7a49ff16a2adcaddb24a861 (diff) |
gro: add combined call_gro_receive() + INDIRECT_CALL_INET() helper
call_gro_receive() is used to limit GRO recursion, but it works only
with callback pointers.
There's a combined version of call_gro_receive() + INDIRECT_CALL_2()
in <net/inet_common.h>, but it doesn't check for IPv6 modularity.
Add a similar new helper to cover both of these. It can and will be
used to avoid retpoline overhead when IP header lies behind another
offloaded proto.
Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions