: Revamp TX hashing.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | : net: Allow RX queue selection to seed TX queue hashing.include/ net/ | +23 | 10 replies | |
| 2/4 | : net: Add skb_record_rx_queue() calls to multiqueue capable drivers.drivers/ drivers/ drivers/ +8 more | +13 | 0 replies | |
| 3/4 | : net: If SKB has attached socket, use socket's hash for TX queue selection.net/ | +7 | 0 replies | |
| 4/4 | : net: Get rid of by-hand TX queue hashing.net/ | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4]: Revamp TX hashing.
The simple_tx_hash() function we currently have in net/core/dev.c is very rudimental and doesn't handle routing and firewall scenerios very well.
The next 4 patches attempt to cure that. The end result is:
1) The RX queue selection of the input device seeds the TX queue selection for that SKB.
2) Locally generated packets seed the TX queue using skb->sk->sk_hash
Then we kill off the by-hand hashing code since in all cases that matter it is no longer necessary.
Protocols that fail to store a proper sk->sk_hash value will need to be fixed up to do so. I encourage anyone so motivated to do that audit :-)