Skip to content

Per-net and on-demand link indices (and related)

Pavel Emelyanov netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net: Don't use ifindices in hash fnsinclude/linux/netdevice.h include/net/arp.h include/net/ndisc.h+8 -23 replies
2/5net: Allow to create links with given ifindexnet/core/dev.c net/core/rtnetlink.c+13 -60 replies
3/5veth: Allow to create peer link with given ifindexdrivers/net/veth.c+3 -00 replies
4/5net: Make ifindex generation per-net namespaceinclude/net/net_namespace.h net/core/dev.c+3 -20 replies
5/5net: Loopback ifindex is constant nowdrivers/net/loopback.c include/net/net_namespace.h net/decnet/dn_route.c +5 more+17 -102 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/5] Per-net and on-demand link indices (and related)

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

Thanks,
Pavel