netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] Per-net and on-demand link indices (and related) v3
@ 2012-08-09  7:52 Pavel Emelyanov
  2012-08-09  7:52 ` [PATCH 1/5] net: Dont use ifindices in hash fns Pavel Emelyanov
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Pavel Emelyanov @ 2012-08-09  7:52 UTC (permalink / raw)
  To: David Miller, Eric Dumazet, Eric W. Biederman, Linux Netdev List,
	Ben Hutchings

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-08-09 23:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-09  7:52 [PATCH net-next 0/5] Per-net and on-demand link indices (and related) v3 Pavel Emelyanov
2012-08-09  7:52 ` [PATCH 1/5] net: Dont use ifindices in hash fns Pavel Emelyanov
2012-08-09  7:52 ` [PATCH 2/5] net: Allow to create links with given ifindex Pavel Emelyanov
2012-08-09  7:53 ` [PATCH 3/5] veth: Allow to create peer link " Pavel Emelyanov
2012-08-09  7:53 ` [PATCH 4/5] net: Make ifindex generation per-net namespace Pavel Emelyanov
2012-08-09  7:53 ` [PATCH 5/5] net: Loopback ifindex is constant now Pavel Emelyanov
2012-08-09 23:18 ` [PATCH net-next 0/5] Per-net and on-demand link indices (and related) v3 David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).