mbox series

[v3,net-next,0/6] skbuff: micro-optimize flow dissection

Message ID 20210314111027.7657-1-alobakin@pm.me
Headers show
Series skbuff: micro-optimize flow dissection | expand

Message

Alexander Lobakin March 14, 2021, 11:10 a.m. UTC
This little number makes all of the flow dissection functions take
raw input data pointer as const (1-5) and shuffles the branches in
__skb_header_pointer() according to their hit probability.

The result is +20 Mbps per flow/core with one Flow Dissector pass
per packet. This affects RPS (with software hashing), drivers that
use eth_get_headlen() on their Rx path and so on.