diff options
author | Eric Dumazet <[email protected]> | 2021-08-03 08:31:05 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-08-04 10:34:40 +0100 |
commit | 51b8f812e5b327b343232685ea7969e02348d5dd (patch) | |
tree | 22d74eb301744d65ab93520fad735c4b3617df26 /net/switchdev/switchdev.c | |
parent | d851798584ffd497b6cf0ae68f9ba75afced0ec3 (diff) |
ipv6: exthdrs: get rid of indirect calls in ip6_parse_tlv()
As presented last month in our "BIG TCP" talk at netdev 0x15,
we plan using IPv6 jumbograms.
One of the minor problem we talked about is the fact that
ip6_parse_tlv() is currently using tables to list known tlvs,
thus using potentially expensive indirect calls.
While we could mitigate this cost using macros from
indirect_call_wrapper.h, we also can get rid of the tables
and let the compiler emit optimized code.
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Justin Iurman <[email protected]>
Cc: Coco Li <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions