]> www.infradead.org Git - users/jedix/linux-maple.git/commit
igb: drop support for single buffer mode
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 26 Aug 2011 07:43:38 +0000 (07:43 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 08:24:01 +0000 (16:24 +0800)
commit391b4773d98fdcb460dbae37968df3229cf42294
treecf7a1145358f4f5ca7ace4f0c6d10ed93c884cab
parent795acc7eea056ffcc431c4e7b2e1695a06a0101b
igb: drop support for single buffer mode

This change removes support for single buffer mode from igb and makes the
driver function in packet split always.  The advantage to doing this is
that we can reduce total memory allocation overhead significantly as we
will only need to allocate one 1K slab per packet and then make use of a
reusable half page instead of allocating a 2K slab per packet.

(cherry picked from commit 44390ca6cb3d4d3c7c4078bafde11073b5268150)
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/igb/igb.h
drivers/net/igb/igb_ethtool.c
drivers/net/igb/igb_main.c