From: Alexander Duyck Date: Thu, 7 May 2015 04:11:45 +0000 (-0700) Subject: igb: Don't use NETDEV_FRAG_PAGE_MAX_SIZE in descriptor calculation X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~323^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ee52ad4962b32797bac33fa29ec8159e64c4ee3;p=pandora-kernel.git igb: Don't use NETDEV_FRAG_PAGE_MAX_SIZE in descriptor calculation This change updates igb so that it will correctly perform the descriptor count calculation. Previously it was taking NETDEV_FRAG_PAGE_MAX_SIZE into account with isn't really correct since a different value is used to determine the size of the pages used for TCP. That is actually determined by SKB_FRAG_PAGE_ORDER. Signed-off-by: Alexander Duyck Signed-off-by: David S. Miller --- Reading git-diff-tree failed