]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2aa7b2b75c1bde3c4ec05d93c6c26fbdc8da5968
tree692c6278f1c20e4452620adee1ea3cd05d878819
parent491aa03f157c90b3f105b38368822acee101c22b
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