From: Eric Dumazet Date: Thu, 23 Sep 2010 00:46:11 +0000 (+0000) Subject: net: propagate NETIF_F_HIGHDMA to vlans X-Git-Tag: v2.6.37-rc1~147^2~357 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5256c51232d8312755e8de2b514c426b19b101a;p=pandora-kernel.git net: propagate NETIF_F_HIGHDMA to vlans Automatically allows vlans to get NETIF_F_HIGHDMA if underlying device supports it. On 32bit arches (and more precisely if CONFIG_HIGHMEM is enabled), it can help to reduce cost of illegal_highdma() and __skb_linearize() calls. Tested on tg3 , bnx2, bonding, this worked very well. This is a generalization of a patch provided by Yi Zou & Jeff Kirsher. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed