All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [PATCH 0/3 net-next] Bring sizeof(net_device) down to < 2K bytes
@ 2015-04-09 23:43 ` Thomas Graf
  0 siblings, 0 replies; 28+ messages in thread
From: Thomas Graf @ 2015-04-09 23:43 UTC (permalink / raw)
  To: intel-wired-lan

The size of struct net_device crossed the 2K boundary a while ago which
is a waste in combination with many net namespaces. This series brings
the size of struct net_device down to well below 2K in total size with
a typical configuration. Some reserves a several holes leave room for
further expansion.

Thomas Graf (3):
  e1000: Allocate pm_qos_req as needed
  net_device: Reorder members to fill holes
  net_device: Add minimal padding to allow for net_device pointer
    alignment

 drivers/net/ethernet/intel/e1000e/netdev.c | 15 ++++++++---
 include/linux/kernel.h                     |  2 ++
 include/linux/netdevice.h                  | 41 ++++++++++++++----------------
 net/core/dev.c                             |  3 +--
 4 files changed, 33 insertions(+), 28 deletions(-)

-- 
@Jeff: I only boot tested the e1000 in a virtual machine.

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

end of thread, other threads:[~2015-04-10  9:03 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-09 23:43 [Intel-wired-lan] [PATCH 0/3 net-next] Bring sizeof(net_device) down to < 2K bytes Thomas Graf
2015-04-09 23:43 ` Thomas Graf
2015-04-09 23:43 ` [Intel-wired-lan] [PATCH 1/3 net-next] e1000: Allocate pm_qos_req as needed Thomas Graf
2015-04-09 23:43   ` Thomas Graf
2015-04-10  0:08   ` [Intel-wired-lan] " Jeff Kirsher
2015-04-10  0:08     ` Jeff Kirsher
2015-04-10  4:35     ` [Intel-wired-lan] " Jeff Kirsher
2015-04-10  4:35       ` Jeff Kirsher
2015-04-10  8:01       ` Daniel Borkmann
2015-04-10  8:01         ` Daniel Borkmann
2015-04-10  8:48         ` Thomas Graf
2015-04-10  8:48           ` Thomas Graf
2015-04-10  8:58           ` Jeff Kirsher
2015-04-10  8:58             ` Jeff Kirsher
2015-04-09 23:43 ` [Intel-wired-lan] [PATCH 2/3 net-next] net_device: Reorder members to fill holes Thomas Graf
2015-04-09 23:43   ` Thomas Graf
2015-04-09 23:43 ` [Intel-wired-lan] [PATCH 3/3 net-next] net_device: Add minimal padding to allow for net_device pointer alignment Thomas Graf
2015-04-09 23:43   ` Thomas Graf
2015-04-10  0:34   ` [Intel-wired-lan] " Eric Dumazet
2015-04-10  0:34     ` Eric Dumazet
2015-04-10  8:48     ` [Intel-wired-lan] " Thomas Graf
2015-04-10  8:48       ` Thomas Graf
2015-04-10  9:03       ` [Intel-wired-lan] " Eric Dumazet
2015-04-10  9:03         ` Eric Dumazet
2015-04-10  0:01 ` [Intel-wired-lan] [PATCH 0/3 net-next] Bring sizeof(net_device) down to < 2K bytes Alexei Starovoitov
2015-04-10  0:01   ` Alexei Starovoitov
2015-04-10  8:41   ` [Intel-wired-lan] " Thomas Graf
2015-04-10  8:41     ` Thomas Graf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.