Per-net and on-demand link indices (and related) v2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 6 repliesIn review
Changes since v1 from the cover letter
* Fixed a stupid mistake with a pointer bits shift
* Turned the netdev_hash_mix routine into the generic ptr_hash_mix one
* Added a comment describing why loopback index is always 1 after the patch
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | hash: Introduce ptr_hash_mix routineinclude/ include/ | +12 | 6 replies | |
| 2/6 | net: Dont use ifindices in hash fnsinclude/ include/ | +4 | 0 replies | |
| 3/6 | net: Allow to create links with given ifindexnet/ net/ | +13 | 3 replies | |
| 4/6 | veth: Allow to create peer link with given ifindexdrivers/ | +3 | 6 replies | |
| 5/6 | net: Make ifindex generation per-net namespaceinclude/ net/ | +3 | 4 replies | |
| 6/6 | net: Loopback ifindex is constant nowdrivers/ include/ net/ +5 more | +18 | 2 replies |
Reviews trailers per patch
4 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Eric Dumazet |
|---|---|
| 1/6 | |
| 2/6 | |
| 3/6 | A-b |
| 4/6 | A-b |
| 5/6 | A-b |
| 6/6 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/6] Per-net and on-demand link indices (and related) v2
Hi!
This set tries to summarize the recent discussion of making ifindices friendly to checkpoint-restore and consists of:
1. Prepare hash function to non-unique ifindices
2. Allow for specifying the desired ifindex on net link creation
3. Make ifindex generation per-net
4. Simplify loopback device ifindex access
Changes since v1:
* Fixed a stupid mistake with a pointer bits shift
* Turned the netdev_hash_mix routine into the generic ptr_hash_mix one
* Added a comment describing why loopback index is always 1 after the patch
Thanks,
Pavel