Eric Dumazet 51b8f812e5 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 <edumazet@google.com>
Cc: Justin Iurman <justin.iurman@uliege.be>
Cc: Coco Li <lixiaoyan@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-08-04 10:34:40 +01:00
..
2021-08-04 10:01:26 +01:00
2021-06-11 14:48:50 +02:00
2019-07-27 14:23:48 -07:00
2021-07-27 20:11:44 +01:00
2021-07-27 20:11:44 +01:00
2021-07-27 20:11:44 +01:00
2021-06-11 14:48:50 +02:00
2021-06-29 11:28:21 -07:00
2021-04-29 15:34:15 -07:00
2021-07-27 20:11:44 +01:00
2020-12-16 11:01:04 -08:00
2021-07-21 08:49:31 -07:00