Per-net and on-demand link indices (and related) v3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Changes since v2 from the cover letter
* The pointer hash mix routine is rewritten
* Put ifindex on struct net in a better place
* Fixed compatibility on veth peer device ifindex configuration
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | net: Dont use ifindices in hash fnsinclude/ include/ include/ | +14 | 0 replies | |
| 2/5 | net: Allow to create links with given ifindexnet/ net/ | +13 | 0 replies | |
| 3/5 | veth: Allow to create peer link with given ifindexdrivers/ | +3 | 0 replies | |
| 4/5 | net: Make ifindex generation per-net namespaceinclude/ net/ | +3 | 0 replies | |
| 5/5 | net: Loopback ifindex is constant nowdrivers/ include/ net/ +5 more | +18 | 0 replies |
Reviews trailers per patch
3 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Eric Dumazet |
|---|---|
| 1/5 | |
| 2/5 | A-b |
| 3/5 | |
| 4/5 | A-b |
| 5/5 | 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/5] Per-net and on-demand link indices (and related) v3
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 v2:
* The pointer hash mix routine is rewritten
* Put ifindex on struct net in a better place
* Fixed compatibility on veth peer device ifindex configuration
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