net offloading: Pass features into netif_needs_gso().
authorJesse Gross <jesse@nicira.com>
Sun, 9 Jan 2011 06:23:32 +0000 (06:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jan 2011 07:35:34 +0000 (23:35 -0800)
commitfc741216db156994c554ac31c1151fe0e00d8f0e
tree692c6278f1c20e4452620adee1ea3cd05d878819
parentf01a5236bd4b140198fbcc550f085e8361fd73fa
net offloading: Pass features into netif_needs_gso().

Now that there is a single function that can compute the device
features relevant to a packet, we don't want to run it for each
offload.  This converts netif_needs_gso() to take the features
of the device, rather than computing them itself.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netfront.c
include/linux/netdevice.h
net/core/dev.c