diff options
author | 2021-03-18 18:42:30 +0000 | |
---|---|---|
committer | 2021-03-18 19:51:12 -0700 | |
commit | 86af2c82c28499b4b509d6b15637a96bd829201b (patch) | |
tree | 2b18b57281cfc421c6f7ca302314a17a5a55670c /drivers/net/ethernet/intel/ice/ice_flex_pipe.c | |
parent | gro: make net/gro.h self-contained (diff) | |
download | linux-dev-86af2c82c28499b4b509d6b15637a96bd829201b.tar.xz linux-dev-86af2c82c28499b4b509d6b15637a96bd829201b.zip |
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 'drivers/net/ethernet/intel/ice/ice_flex_pipe.c')
0 files changed, 0 insertions, 0 deletions