diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-09-23 02:46:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-27 03:27:15 +0200 |
commit | c5256c51232d8312755e8de2b514c426b19b101a (patch) | |
tree | 95312aa92634472fc2329032890203dfddd0b776 /drivers/net | |
parent | ixgbevf: Refactor ring parameter re-size (diff) | |
download | linux-c5256c51232d8312755e8de2b514c426b19b101a.tar.xz linux-c5256c51232d8312755e8de2b514c426b19b101a.zip |
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 <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions