]> Git Repo - linux.git/commit
igb: Add support for using order 1 pages to receive large frames
authorAlexander Duyck <[email protected]>
Tue, 7 Feb 2017 02:27:03 +0000 (18:27 -0800)
committerJeff Kirsher <[email protected]>
Fri, 17 Mar 2017 19:11:44 +0000 (12:11 -0700)
commit8649aaef4044681257ed38cf8706aea88430f2c4
tree62114a5d944105be3e4c5921e71fa8c29a50f4e4
parente08912985b296b33b18a563cc126e3e2f018c2e1
igb: Add support for using order 1 pages to receive large frames

This patch adds support for using 3K buffers in order 1 pages the same way
we were using 2K buffers in 4K pages.  We are reserving 1K of room for now
to have space available for future headroom and tailroom when we enable
build_skb support.

One side effect of this patch is that we can end up using a larger buffer
if jumbo frames is enabled.  The impact shouldn't be too great, but it
could hurt small packet performance for UDP workloads if jumbo frames is
enabled as the truesize of frames will be larger.

Signed-off-by: Alexander Duyck <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/igb/igb.h
drivers/net/ethernet/intel/igb/igb_main.c
This page took 0.059077 seconds and 4 git commands to generate.