summaryrefslogtreecommitdiff
path: root/net/llc/llc_station.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-06-16 23:49:39 +0300
committerDavid S. Miller <davem@davemloft.net>2023-06-18 20:08:35 +0300
commit2dc6af8be002d16715485372ce1e02b65faf9283 (patch)
tree8c7d22df25adbd164d96aa3c456ecaa76a1e4eb1 /net/llc/llc_station.c
parent988e8d90b3dc482637532e61bc2d58bfc4af5167 (diff)
downloadlinux-2dc6af8be002d16715485372ce1e02b65faf9283.tar.xz
gro: move the tc_ext comparison to a helper
The double ifdefs (one for the variable declaration and one around the code) are quite aesthetically displeasing. Factor this code out into a helper for easier wrapping. This will become even more ugly when another skb ext comparison is added in the future. The resulting machine code looks the same, the compiler seems to try to use %rax more and some blocks more around but I haven't spotted minor differences. Reviewed-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc/llc_station.c')
0 files changed, 0 insertions, 0 deletions